﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1401	Backend: ceval of functions fail	Martin Sjölund	Martin Sjölund	"omc +s a.mo Modelica ModelicaServices +i=Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass
We get a lot of:
{{{
- Ceval.ceval failed: Modelica.Mechanics.MultiBody.Frames.TransformationMatrices.from_nxy({0.0,0.0,1.0},{0.0,1.0,0.0})
}}}
(Or cross failed if no debug-flags were enabled)

I'm assuming ceval is called with MSG() and no cache (which means no functiontree to use for evaluation). We probably need to send the functiontree in the backend where ceval is called in order to produce efficient code (a constant vs. a function call in an algebraic loop is a huge difference).

The same error may show up if you call translateModel();getErrorString();"	defect	closed	high		Simulation Code Generation	trunk	fixed		Martin Sjölund Frenkel TUD Willi Braun
