﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4897	No time events in OpenModelica?	Andreas Nicolai <andreas.nicolai@…>	Lennart Ochel	"Hi there,

I've just tried an example from Michael Tiller's ebook:
http://book.xogeny.com/behavior/discrete/cooling/#cooling-revisited

with the following minimalistics example:
{{{
#!modelica
model TimeEventModellTest
  Real T_inf;
equation
  if time<=0.5 then
    T_inf = 298.15 ""Constant temperature when time<=0.5"";
  else
    T_inf = 298.15-20*(time-0.5) ""Otherwise, decreasing"";
  end if;
end TimeEventModellTest;
}}}

Solver statistics shows:
1 state events
0 time events

Clearly, this code should trigger a time event, since the condition only depends on time. Am I missing something here or is maybe the statistics output broken?
"	defect	closed	high	1.13.0	Backend	v1.13.0-dev-nightly	duplicate		
