﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1228	Backend fails on when equations	Martin Sjölund	Patrick Täuber	"Backend fails to generate residuals for the following Modelica code:
{{{#!mo
model WhenValidResult 
  Real x,y; 
equation 
  x + y = 5; 
  when sample(0,2) then 
  y = 7 - 2*x; 
  end when; 
end WhenValidResult;
}}}

Note: Changing the problem slightly does change the error messages from the backend.
x = y-5 removes ""findDiscreteEquation failed, searching for $x"" for example.

From forums: http://www.openmodelica.org/index.php/forum/topic?id=64&p=1#p284"	defect	closed	normal		Backend	1.6.0	fixed		Lennart Ochel
