Penetration of solids in 3D Contact

This camera recording shows a wheel rolling on a rail.  Other views show that it is tracking correctly.

Part way through the journey the wheel penetrates the rail and falls to the centre of the earth.

I don't know why, or what to do about it.

SolidworksMotion Studies