Opened 6 years ago
Closed 5 years ago
#5478 closed defect (fixed)
Failed instantiation of world.gravityArrowHead.r_shape
Reported by: | Owned by: | Per Östlund | |
---|---|---|---|
Priority: | low | Milestone: | Future |
Component: | Frontend | Version: | v1.14.0-dev-nightly |
Keywords: | Cc: |
Description
I cannot give a proper name to this issue, but after opening OMEdit, during the opening of the first script I always got (with any version of OpenModelica):
[3] 10:29:44 Translation Error Internal error - Types.typeOfValue failed: fail() [4] 10:29:44 Translation Error Internal error - Types.typeOfValue failed: record T = fail(), w = fail() end ; [5] 10:29:44 Translation Error [Modelica.Utilities.Internal: 24:5-26:113]: Instantiation of array component: world.gravityArrowHead.r_shape failed because index modification: world.gravityArrowHead(r_shape[]= = <EMPTY(scope: #graphicsExp#, name: Modelica.Math.Vectors.normalize({0.0, -1.0, 0.0}, 1e-013), ty: Real[3])> * 0.2) is invalid. Array component: world.gravityArrowHead.r_shape[] has more dimensions than binding = <EMPTY(scope: #graphicsExp#, name: Modelica.Math.Vectors.normalize({0.0, -1.0, 0.0}, 1e-013), ty: Real[3])> * 0.2. [6] 10:30:56 Translation Error Internal error - Types.typeOfValue failed: fail() [7] 10:30:56 Translation Error Internal error - Types.typeOfValue failed: record T = fail(), w = fail() end ; [8] 10:30:56 Translation Error [Modelica.Utilities.Internal: 24:5-26:113]: Instantiation of array component: world.gravityArrowHead.r_shape failed because index modification: world.gravityArrowHead(r_shape[]= = <EMPTY(scope: #graphicsExp#, name: Modelica.Math.Vectors.normalize({0.0, -1.0, 0.0}, 1e-013), ty: Real[3])> * 0.2) is invalid. Array component: world.gravityArrowHead.r_shape[] has more dimensions than binding = <EMPTY(scope: #graphicsExp#, name: Modelica.Math.Vectors.normalize({0.0, -1.0, 0.0}, 1e-013), ty: Real[3])> * 0.2.
Change History (2)
comment:1 by , 6 years ago
Component: | OMEdit → Frontend |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The issue does not show up anymore!