Opened 16 years ago

Last modified 14 years ago

#1058 closed defect (worksforme)

terminate not supported (from MathCore)

Reported by: krsta Owned by: krsta
Priority: high Milestone:
Component: Version:
Keywords: Cc: krsta,

Description

The following model does not work probably due to terminate not implemented. The error message "Internal error, check of model failed with no error message." could be better...

model TestTerminate
  Real x;
equation 
  x=time;
  when x > 3 then
    terminate("End of Simulation");
  end when;
end TestTerminate;

Change History (2)

comment:2 by Martin Sjölund, 14 years ago

This is a backend issue (it always worked in the frontend).
It also works properly in the OMC backend/runtime:
{{{$ ./TestTerminate
Simulation call terminate() at time 3}}}

Note: See TracTickets for help on using tickets.