﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3741	removeSimpleEquations too aggressive for Modelica_Synchronous	Rüdiger Franke	Lennart Ochel	"Many of the remaining failures of the nightly tests of Modelica_Synchronous are due to:
{{{
SimCodeUtil.mo:472:5-472:146:writable] Error: Internal error function createSimCode failed 
[Transformation from optimised DAE to simulation code structure failed]
}}}

It appears that `removeSimpleEquations` removes variables that are accessed later on during code generation.

See e.g.: `Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock`. It starts with 12 variables, 8 remaining after clockPartitioning, reduced to 2 by `removeSimpleEquations`. The example translates and simulates if `removeSimpleEquations` is disabled."	defect	closed	high	1.9.4	Backend	v1.9.4-dev-nightly	fixed		
