Opened 15 years ago

Last modified 14 years ago

#1135 closed defect (wontfix)

Check of model completed successfully with a lot of errors (from MathCore)

Reported by: Jan Brugård Owned by: Jan Brugård
Priority: high Milestone:
Component: Version:
Keywords: Cc: Jan Brugård,

Description

See the attached model. It gives a strange error message when checking. There should never be a check that completed succesfully with errors, and the equations and variables should not be written twice and they should at least be the same both times.

Note: This is a model that should not work, it is incorrect. But the error messages should be more helpfull.

--- [57] 16:42:39 Validation of class HydraulicTests_new.CylinderDouble1 ---
Check of HydraulicTests_new.CylinderDouble1 completed successfully.
Error:  Equation : 'housing.der(s) = housing.der(s)'  has circular references for variable housing.der(s).
Error:  Equation : 'flangeRef.der(s) = housing.der(s)'  has circular references for variable housing.der(s).
Error:  Equation : 'piston.der(der(s)) = piston.der(der(s))'  has circular references for variable piston.der(der(s)).
Error:  Equation : 'elastoGapB.flange_b.der(der(s)) = piston.der(der(s))'  has circular references for variable piston.der(der(s)).
Error: Too many equations, overdetermined system. The model has 63 equation(s) and 61 variable(s)
Class HydraulicTests_new.CylinderDouble1 has 51 equation(s) and 51 variable(s).
27 of these are trivial equation(s).

Attachments (1)

CylinderDouble1Total.mo (63.3 KB ) - added by Jan Brugård 15 years ago.

Download all attachments as: .zip

Change History (4)

by Jan Brugård, 15 years ago

Attachment: CylinderDouble1Total.mo added

comment:2 by Martin Sjölund, 14 years ago

Note: This model is accepted by OpenModelica without any error message, and even builds code.

comment:3 by Peter Aronsson, 14 years ago

This is not an issue for the frontend.

Note: See TracTickets for help on using tickets.