Opened 8 years ago

Last modified 3 years ago

#4118 new defect

removeSimpleEquation failed

Reported by: vitalij Owned by: lochel
Priority: high Milestone:
Component: Backend Version:
Keywords: Cc: vwaurich, wbraun

Description

model foo
  function f
    input Real[2] x;
    output Real[2] y;
    output Real[2] z;
  algorithm
    y[1] := 2*x[1]^2 + 1; y[2] := 3*x[2]^3 + 2;
    z[1] := -y[1]/2+1/2+7; z[2] := -y[2]/3+2/3-7;
  end f;

  Real[2] y(each start = -1);
  Real[2] w(each start = -1);
  Real z1, z2, z3;
equation
  (, w) = f({y[1] + z3, y[2]});
  der(w) = f({y[1] + z3, y[2]});
  der(y[1]) = -z1*y[2] +1;
  der(y[2]) = -z2*y[1] + z1*y[2] +3;
  z3 = time;
end foo;

failed with

[/home/vruge/OM/OMCompiler/Compiler/Util/BaseHashTable.mo:119:5-119:104:writable] Error: Internal error Got internal hash table size 0 <1
Error: post-optimization module removeSimpleEquations (simulation) failed.

Change History (7)

comment:1 Changed 7 years ago by casella

  • Component changed from *unknown* to Backend
  • Owner changed from somebody to lochel

comment:2 Changed 7 years ago by casella

  • Milestone changed from Future to 1.13.0

comment:3 Changed 6 years ago by casella

  • Milestone changed from 1.13.0 to 1.14.0

Rescheduled to 1.14.0 after 1.13.0 releasee

comment:4 Changed 5 years ago by casella

  • Milestone changed from 1.14.0 to 1.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0

comment:5 Changed 4 years ago by casella

  • Milestone changed from 1.16.0 to 1.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:6 Changed 4 years ago by casella

  • Milestone changed from 1.17.0 to 1.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:7 Changed 3 years ago by casella

  • Milestone 1.18.0 deleted

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.