﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2114	strange behavior of event iteration	Lennart Ochel	Willi Braun	"{{{
model test
  Boolean b[2];
  Boolean vec[2];
  Boolean ac;
equation
  vec = b;
  b[1] = time < 0.25 or time > 0.75;
  b[2] = time < 0.5;
  when ac then
    .Modelica.Utilities.Streams.print(""foo\n"","""");
  end when;
algorithm
  ac := false;
  for i in 1:2 loop
    ac := ac or change(vec[i]);
  end for;
end test;
}}}

produces the following error during simulation
{{{
assert            | assert  | ERROR: Too many event iterations. System is inconsistent. Simulation terminate.
}}}
and prints ""foo\n"" a lot of times. That is probably because of the wrong event handling for this model."	defect	closed	high	1.9.0	Backend	trunk	fixed		Lennart Ochel
