﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2243	reinit() statements do not appear in the xml produced by dumpXMLDAE	Matthew Klenk <klenk@…>	Adrian Pop	"In the attached model, a whenEquation tag is generated for the bounce_time, but not for the reinit() statement.
{{{#!mo
package BB
  model Ball
    Real y;
    Real vy;
    Real ay;
  equation
    der(y) = vy;
    der(vy) = ay;
  end Ball;
  model BouncingBall
    parameter Real e(start = 0.9);
    Ball b1(y.start = 5, vy.start = 0);
    Real bounce_time(start=0);
  equation
    b1.ay = -9.8;
   when b1.y <= 0 and b1.vy <= 0 then
     bounce_time = time;
     reinit(b1.vy, -e * pre(b1.vy));
    end when;
  end BouncingBall;
end BB;
}}}"	defect	closed	normal	1.9.1	Backend	1.9.0Beta	fixed		Lennart Ochel
