I'd guess 95% of all derailments (e.g. those not involving an actual collision) are nothing more than wheels off the tracks with the cars remaining upright. Occassionally a few cars dump over catastrophically, but that's the exception more than the norm.
If anyone does program in derailments, it should be a simple "end of activity" message.
Having cars and locomotives going airborne is simply immature & childish.