Opened 15 years ago
Last modified 14 years ago
#1218 closed defect (fixed)
contrain() from Modelica.Translational.Move makes testmodel fail.
Reported by: | perob88 | Owned by: | perob88 |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Version: | 1.6.0 | |
Keywords: | Cc: | perob88, |
Description
This has been set to Highest priority since it's part of the Testsuite for MSL 2.2.1.
The following code fails:
{{{ loadModel(Modelica)
loadFile("TranslationalTests.mo")
loadFile("Routing.mo")
simulate(TranslationalTests,numberOfIntervals=500,tolerance=0.0001,startTime=0,stopTime=1) }}}
It seems to be the call to contrain() from Modelica.Translational.Move that make it fail.
For some reason "Routing" from MSL 2.2.1 is not included in the Open Modelica MSL distribution so I loaded my own version which is attached. (I have added the "within" statement at the top of the file to the original Dymola 2.2.1 library). I can not however see any reason that this should be the cause of the failure.
Attachments (2)
Change History (3)
by , 15 years ago
Attachment: | TranslationalTests.mo added |
---|
comment:1 by , 14 years ago
comment:2 by , 14 years ago
This is part of the Testsuite work that Mohsen and I did. Peter F wanted to know what worked and what didn't so the job was to write tests for the MSL models.
I have no updated OMC so I cannot test this right now but I will get back to you with a status report if you believe that it should work now.
Best
Per Öberg
OMC does not support MSL 2.2 MultiBody simulations. But this flattens/checks fine in OMC trunk. So is this still a problem for you?