Opened 6 years ago
Closed 6 years ago
#5446 closed defect (fixed)
Scripting Notifications does not show up after simulation
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | normal | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | v1.14.0-dev-nightly |
Keywords: | Cc: |
Description
Debugging the issue https://trac.openmodelica.org/OpenModelica/ticket/5440
I realized that the Scripting Notification messages are not output automatically after the simulation (or in any other moment).
They show up only when you go back to the Modeling tab, modify the text and save the changes. Then, and only then, the scripting notification message shows up in the message browser.
Please refer to the minimal example of the ticket 5440 to have an example that shows the described behaviour.
Change History (3)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Really sorry,
the problem was present in this (slightly different) case:
model visShapeSTL parameter String wheelShapeFile = "/wheel.stl"; Modelica.Mechanics.MultiBody.Parts.Fixed fixed(animation = false) annotation( Placement(visible = true, transformation(origin = {-30, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); inner Modelica.Mechanics.MultiBody.World world(animateGravity = false, animateGround = false, animateWorld = false) annotation( Placement(visible = true, transformation(origin = {-90, 90}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Mechanics.MultiBody.Visualizers.Advanced.Shape vis(shapeType = wheelShapeFile, r_shape = {0, 0, 0}, lengthDirection = {1, 0, 0}, widthDirection = {0, 1, 0}, length = 1.0, width = 1.0, height = 1.0, color = {0, 128, 255}, extra = 0.0, specularCoefficient = world.defaultSpecularCoefficient, r = world.frame_b.r_0, R = world.frame_b.R) if world.enableAnimation; equation annotation( uses(Modelica(version = "3.2.3"))); annotation( Placement(visible = true, transformation(origin = {12, 2}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); end visShapeSTL;
comment:3 by , 6 years ago
Milestone: | Future → 1.14.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in 97cd554/OpenModelica.
I took the model
visShapeSTL
from #5440 simulate it with Animation and directly got the Translation Warning,