A simulated crash involving a two-carriage passenger train and several vehicles on an unmanned level crossing was used in a major training exercise for emergency services at the weekend.