Model that triggers an assert if u1 > u2 - threShold and t > t0.
time
in print statement as OpenModelica,
in its error message, does not output the time when the assert is triggered.
when
test with if
test as
equations within a when
section are only evaluated
when the condition becomes true.
This fixes issue 72.