﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2725	Removal of duplicated initial equations in the frontend	Lennart Ochel	somebody	"{{{#!mo
model test
  Real a(min=0), b(min=0), c(min=0);
initial equation 
  a+b+c=0;
  a+b+c=0;
  a+b+c=0;
equation 
  der(a) = 0;
  der(b) = 0;
  der(c) = 0;
end test;
}}}

I get this warning:
{{{
[:0:0-0:0] Warning: Assuming fixed start value for the following 2 variables:
         a:VARIABLE(min = 0.0 ) .test, .Real type: Real 
         b:VARIABLE(min = 0.0 ) .test, .Real type: Real
}}}

After {{{instantiateModel}}} the model looks like the following:
{{{#!mo
class test
  Real a(min = 0.0);
  Real b(min = 0.0);
  Real c(min = 0.0);
initial equation
  a + b + c = 0.0;
equation
  der(a) = 0.0;
  der(b) = 0.0;
  der(c) = 0.0;
  end test;
}}}

This shouldn't be the case, because I specified three initial equations and there is exactly one solution for the initialization problem.
Hence, I think we shouldn’t remove duplicated initial equations in the front end.
"	defect	closed	high	1.19.0	New Instantiation	trunk	fixed		Adrian Pop Martin Sjölund
