Opened 8 years ago

Last modified 3 years ago

#4118 new defect

removeSimpleEquation failed

Reported by: Vitalij Ruge Owned by: Lennart Ochel
Priority: high Milestone:
Component: Backend Version:
Keywords: Cc: Volker Waurich, Willi Braun

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 by Francesco Casella, 7 years ago

Component: *unknown*Backend
Owner: changed from somebody to Lennart Ochel

comment:2 by Francesco Casella, 7 years ago

Milestone: Future1.13.0

comment:3 by Francesco Casella, 6 years ago

Milestone: 1.13.01.14.0

Rescheduled to 1.14.0 after 1.13.0 releasee

comment:4 by Francesco Casella, 5 years ago

Milestone: 1.14.01.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 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:6 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:7 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.