﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5025	Issue with delay() in the NF	Francesco Casella	Per Östlund	"Please run this test model with the NF
{{{
model TestDelay
  Real x(start = 0, fixed = true);
  Real y;
equation
  der(x) = 1 - x;
  y = delay(x,1);
  annotation(experiment(StopTime=5));
end TestDelay;
}}}

The result is {{{y = 0}}}, which is wrong.

The model flattened with the old FE gives
{{{
  y = delay(x, 1.0, 1.0);
}}}
while the new FE returns
{{{
  y = delay(x, 1.0);
}}}
Apparently the back-end expects that {{{delayMax}}} is computed by the NF in the case it is not supplied and {{{delayTime}}} is a parameter expression.

Please provide this also with the NF."	defect	closed	high	2.0.0	New Instantiation		fixed		
