﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2452	wrong calculation of the number of variables and equations	Lennart Ochel	Mahder Alemseged Gebremedhin	"OpenModelica counts only 8 equations and 10 variables for the following model:
{{{#!mo
model test
  record R
    Integer d;
    Integer dummy;
  end R;

  parameter Integer N = 3;
  Boolean b[N] = {true,false,true};
  R d[N];
  Integer n;
algorithm 
  n := 0;
  for i in 1:N loop
    if b[i] then
      n := 1 + n;
      d[n].d := i;
      d[n].dummy := 0;
    else
    
    end if;
  end for;
end test;
}}}

It should count 10 equations and 10 variables."	defect	closed	blocker	1.9.1	Backend	trunk	fixed		Adrian Pop
