﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1263	Problem with Pre() with fixed variables	Hassen	Hassen	"This model turns correctly under Dymola and not under OpenModelica


model PreBug

 Integer x(start=4,fixed=true);

equation 
 

if time >0.1 and pre(x)== 10 then

x=pre(x)-1;

else

x=4;

end if;

 
end PreBug;


Note that if we change the if condition by (if time >0.1 and pre(x)== 4) the simulation will stop at time =0.1 under Dymola. This is du to the restart condition."	defect	closed	critical				fixed		Hassen
