FMPy
FMPy copied to clipboard
CoSim FMU causes fmpy.gui to crash
I exported an FMU from OpenModelica btoh ME and CoSim v.2.0: It is the bouncing ball (see enclosed source and FMU). The ME version runs but shows incorrect result at the end, it seems that some when-clauses are not handled correctly. So I tried CoSim but the simulation gets stuck just before the first reflection of the ball and subsequently the gui crashes. Interesting: In Simulink ME shows of course the same shows incorrect result, but CoSIm runs smoothly and shows correct results. BouncingBall.zip