Stopping criterion in SIMPACK

Hello,
I am simulating braking dynamics in SIMPACK. Is it possible to stop the time integration when the velocity of the vehicle is zero? How to achieve this?

Thank you in advance.