Opened 9 years ago

Closed 2 years ago

#1085 closed defect (fixed)

Error in actualStream() rewrite

Reported by: Jesper Mattsson Owned by: Jesper Mattsson
Priority: major Milestone: Pending
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

The rewrite from FActualStream (actualStream() in flat tree) fails if the connection set manager contains the flow variable from the stream connector as both inside and outside.

Example exposing error:

  model StreamTest7
    connector A
      flow Real a;
      stream Real b;
      Real c;
    end A;

    A d;
    A e;
    Real f;
  equation
    connect(d, e);
    f = actualStream(d.b);
  end StreamTest7;

Change History (7)

comment:1 Changed 9 years ago by Jesper Mattsson

changeset:2022

Added test case that exposes error without test annotation.

comment:2 Changed 9 years ago by Jesper Mattsson

Milestone: 1.4.x1.5.x

comment:3 Changed 9 years ago by jakesson

Milestone: 1.5.xFuture

comment:4 Changed 6 years ago by Tove Bergdahl

Milestone: FuturePending
Owner: changed from jakesson to Jesper Mattsson
Status: newassigned

comment:5 Changed 6 years ago by Jesper Mattsson

See also #3135.

comment:6 Changed 5 years ago by Jesper Mattsson

Still wrong as of r6721.

comment:7 Changed 2 years ago by Jesper Mattsson

Resolution: fixed
Status: assignedclosed

Fixed in other ticket.

Note: See TracTickets for help on using tickets.