Opened 12 years ago

Closed 7 years ago

#1924 closed defect (worksforme)

IndexReduction.differentiateEqns failed

Reported by: anonymous Owned by: Jens Frenkel
Priority: high Milestone: 1.12.0
Component: Backend Version: trunk
Keywords: Cc:

Description

occurs with the follwing models:

  • Modelica.Electrical.Spice3.Examples.Graetz
  • Modelica.Fluid.Examples.HeatingSystem
  • Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor
  • Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke

Change History (15)

comment:1 by Jens Frenkel, 12 years ago

All models pass the index reduction if Variables with stateSelect=StateSelect.prefer not changed to States and the first two if final Parameters are evaluated before index Reduction.

Version 0, edited 12 years ago by Jens Frenkel (next)

comment:2 by Jens Frenkel, 12 years ago

Modelica.Fluid.Examples.PumpingSystem - StateSelect.prefer pumps.medium.p should be algebraic

Modelica.Fluid.Examples.HeatingSystem - StateSelect.prefer pump.medium.h and pump.medium.p should be algebraic

Last edited 12 years ago by Jens Frenkel (previous) (diff)

comment:3 by Jens Frenkel, 12 years ago

Modelica.Fluid.Examples.InverseParameterization.mos StateSelect.prefer pumps.medium.p should be algebraic

comment:4 by Jens Frenkel, 12 years ago

Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor StateSelect.prefer coil.i should be algebraic

comment:5 by Jens Frenkel, 12 years ago

Hack for the models in BackendDAECreate.lowerVarkind

        s = ComponentReference.printComponentRefStr(inComponentRef);
        //false = intEq(System.strcmp(s,"pumps.medium.h"),0);
        //false = intEq(System.strcmp(s,"pumps.medium.p"),0);
        false = intEq(System.strcmp(s,"coil.i"),0);
Last edited 12 years ago by Jens Frenkel (previous) (diff)

comment:6 by Jens Frenkel, 12 years ago

Modelica.Electrical.Spice3.Examples.CascodeCircuit, unnecessary differentiation

comment:7 by Martin Sjölund, 11 years ago

Milestone: 1.9.01.9.1

Postponed until 1.9.1

comment:8 by Martin Sjölund, 10 years ago

Milestone: 1.9.11.9.2

This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).

comment:9 by Martin Sjölund, 10 years ago

Milestone: 1.9.21.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:10 by Martin Sjölund, 9 years ago

Milestone: 1.9.31.9.4

Moved to new milestone 1.9.4

comment:11 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:12 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:13 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:14 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:15 by Francesco Casella, 7 years ago

Resolution: worksforme
Status: newclosed

The error is no longer generated in omc 1.12.0-beta3

Note: See TracTickets for help on using tickets.