I had a similar problem with an engine. I mounted a small video camera on a flatcar and ran it through the curve. I discovered two problems which had caused the perfect storm of derailments. The first was that there was a slight kink in my track. The second issue was at that kink there was a slight drop in elevation in the track, After fixing both my engine ran perfectly.
Good luck with your engine.