Opened 8 years ago

Closed 8 years ago

#4399 closed defect (fixed)

OMEdit 1.12 simulate with animation fails on a model that works with 1.11

Reported by: anonymous Owned by: Lennart Ochel
Priority: high Milestone: 1.12.0
Component: Backend Version: v1.12.0
Keywords: Cc:

Description (last modified by Adrian Pop)

This model will Simulate with Animation using OMEdit
version 1.11 but generates the message
BackendDAEUtil.incidenceMatrixScalar failed
when using version 1.12

model SpinningCylinderSimple
  import Modelica.SIunits;
  import Modelica.Mechanics.MultiBody.Frames.Orientation;
  import Modelica.Mechanics.MultiBody.Frames.axisRotation;
  import Modelica.Mechanics.MultiBody.Visualizers;
  import Modelica.Mechanics.MultiBody.Frames;

  parameter SIunits.AngularVelocity der_angle = 10.0;
  parameter Real length = 0.1;
  SIunits.Angle angle;
  Frames.Orientation R;
  
  Visualizers.Advanced.Shape cylinder(
    shapeType = "cylinder",               
    length = length,
    width = 1.0,
    height = 1.0,
    lengthDirection = {1,0,0},
    widthDirection = {0,1,0},
    r_shape = {-length/2,0,0},
    R = R,
    extra = 1
    );
initial equation
  angle = 0.0;
  R = Orientation(T=identity(3),w={0,der_angle,0}); 
equation
  R = axisRotation(2, angle, der_angle); 
  der_angle = der(angle);
end SpinningCylinderSimple;

Change History (4)

comment:1 by Adrian Pop, 8 years ago

Component: *unknown*Backend
Description: modified (diff)
Owner: changed from somebody to Lennart Ochel
Status: newassigned

comment:2 by Lennart Ochel, 8 years ago

Milestone: Future1.12.0
Status: assignedaccepted

Thanks for the bug report. I will push a fix soon.

comment:3 by Lennart Ochel, 8 years ago

This is fixed with OMCompiler#1635.

comment:4 by Lennart Ochel, 8 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.