I am not sure, but read that accident happened in a curve. It can be because train went beyond the maximum speed limit at that curve. Speed in staright track and curved track can be different This can be one of the reason. In france(not sure about the country), same type of accident occured, when train came out of tunnel at much higher speed directly to a curve, all the compartments were thrown out of track. This can be one of the possibility