Corrected wrong stop time
Added test for StopTime to conform to the Modelica language specification