﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2618	Reinitial in algorithm section also continuos relations	Willi Braun	Karim Adbdelhak	"In the following example, we introduce a memory in algorithms, since while the continuous integration relations are fixed. But they need to re-initialized for every execution.
{{{
model BreakFor
  //extends Icons.TestCase;
  Real x;
algorithm
  x := 1;
  for i in 1:10 loop
    x := x * 2;
    //print(""loop= "" +& intString(i) +&"" x == "" +& realString(x) +& ""\n"");
    if x > 25 then
      break;
    end if;
  end for;
  //print("" x == "" +& realString(x) +& ""\n"");
  assert(x >= 32, ""x was not set correctly."");
  annotation (
    __ModelicaAssociation(TestCase(shouldPass = true, section = {""11.2.4""})),
    experiment(StopTime = 0.01),
    Documentation(
      info = ""<html>Tests the functionality of <pre>break</pre> inside a for-loop.</html>""));
end BreakFor;
}}}"	defect	assigned	high	Future	Backend	trunk			Lennart Ochel Martin Sjölund
