#4083 closed defect (worksforme)
On opening Modelica.Mechanics.Translational.Examples.Friction I get translation Errors in OMEdit
| Reported by: | 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)
Change History (7)
by , 9 years ago
| Attachment: | friction_error.png added |
|---|
comment:3 by , 8 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
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 , 7 years ago
I am also experiencing this problem on Ubuntu 18.04 with OpenModelica 1.13.0~dev-1371-gc7f4444 .
comment:5 by , 7 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 , 7 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.

screenshot