Opened 8 years ago

Closed 7 years ago

Last modified 6 years ago

#4083 closed defect (worksforme)

On opening Modelica.Mechanics.Translational.Examples.Friction I get translation Errors in OMEdit

Reported by: gerrit.jan.baarda@… Owned by: somebody
Priority: high Milestone:
Component: *unknown* Version: v1.11.0
Keywords: Cc:

Description

This is on windows 7/64 bit.

I get the following messages:

[1] 14:43:11 Translation Error
[Modelica.Mechanics.Translational: 2864:7-2864:38]: Class PartialFrictionWithStop not found in scope Modelica.Mechanics.Translational.Components.

[2] 14:43:14 Scripting Error
Unable to find component stop2.flange_a while parsing connection {spring.flange_b,stop2.flange_a, ""}.

[3] 14:43:14 Scripting Error
Unable to find component stop1.flange_a while parsing connection {force.flange,stop1.flange_a, ""}.


In the graphical model window connections are missing. This seems to be related to the PartialRigid in MassWithStopAndFriction.

However the model seems to simulate without problems.

Attachments (1)

friction_error.png (43.9 KB ) - added by gerrit.jan.baarda@… 8 years ago.
screenshot

Download all attachments as: .zip

Change History (7)

by gerrit.jan.baarda@…, 8 years ago

Attachment: friction_error.png added

screenshot

comment:1 by gerrit.jan.baarda@…, 8 years ago

I see the same problem on Ubuntu 16.04

comment:2 by gerit.jan.baarda@…, 8 years ago

The same behaviour is also present on ubuntu 16.04.

comment:3 by Francesco Casella, 7 years ago

Resolution: worksforme
Status: newclosed

I tried this out with OpenModelica-v1.13.0-dev-63-g453e1c7-64bit for Windows and it worked normally.

Please reopen if you still see this problem with Linux.

comment:4 by Silvio Traversaro <pegua1@…>, 6 years ago

I am also experiencing this problem on Ubuntu 18.04 with OpenModelica 1.13.0~dev-1371-gc7f4444 .

comment:5 by massimo ceraolo, 6 years ago

I now realise that there is also this closed ticket for this issue.
I recently independently (under windows) found it: see item a) in ticket #5048

comment:6 by Silvio Traversaro <pegua1@…>, 6 years ago

Interestingly, these are the error messages:

[2] 09:31:52 Scripting Error
Unable to find component stop2.flange_a while parsing connection {spring.flange_b,stop2.flange_a,}.

[3] 09:31:52 Scripting Error
Unable to find component stop1.flange_a while parsing connection {force.flange,stop1.flange_a,}.

with respect to the original issue, it seems that the error Class PartialFrictionWithStop not found in scope Modelica.Mechanics.Translational.Components. disappeared.

Note: See TracTickets for help on using tickets.