﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2634	underdetermined initialization problems lead to division by zero	Lennart Ochel	Lennart Ochel	"In some cases underdetermined initialization problems lead to division by zero errors. This happens if a bad set of variables is selected for which additional initial conditions get introduced. 
{{{#!mo
model test
  Real a(start = 1);
  Real b(start = 1);
  parameter Real p = 0;
initial equation
  b = p * a;
equation
  der(b) = 0;
  der(a) = 0;
end test;
}}}

{{{
Warning: Assuming fixed start value for the following 1 variables:
         b:VARIABLE(start = 1.0 ) .test, .Real type: Real

assert | debug | division by zero at time 0, (a=1) / (b=0), where divisor b expression is: p
}}}

In this example, an additional initial condition should get introduced for a instead of b."	defect	new	critical	Future	Backend	trunk			Adrian Pop Patrick Täuber
