Opened 14 years ago
Last modified 12 years ago
#1401 closed defect (fixed)
Backend: ceval of functions fail
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Simulation Code Generation | Version: | trunk |
Keywords: | Cc: | Martin Sjölund, Frenkel, TUD, Willi Braun |
Description
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();
Note:
See TracTickets
for help on using tickets.
Milestone MultiBody deleted