﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1755	Redeclare causes additional flow-equations	Christoph Höger	Per Östlund	"{{{
model Test2

  connector A
    flow Real f;
    Real p;
  end A;

  connector B
    flow Real f;
    Real p;
  end B;

  model F
    replaceable A a1;
    replaceable A a2;
    equation
    /* some foobar */
    connect(a1, a2);
  end F;

  model X
    extends F;
    redeclare B a1;
    redeclare B a2;
    B b1;
    B b2;
    equation
    connect(b1, a1);
    connect(b2, a2);
  end X;

   model Y
    extends F;
    B b1;
    B b2;
    equation
    connect(b1, a1);
    connect(b2, a2);
  end Y;

end Test2;
}}}

If you instantiate Test2.X and Test2.Y you get two different results.
Test2.X is overconstrained because some bogus flow = 0.0 equations
slipped in.
"	defect	closed	normal	2.0.0	New Instantiation	trunk	fixed		
