﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2242	function with multiple outputs is treated strange	Willi Braun	somebody	"In the following model the function f1 is simplified wrong to 1.
For some reasons the function f is constant, when f1 is simplified. 
{{{
function f
  input Real x;
  output Real y;
  output Real y1;
algorithm
  y := exp(x);
end f;

function f1
  input Real x;
  output Real y;
algorithm
  y := 1 / f(x); // don't work
  //y := (-f(x)) / (-2); // works
  //y := f(x) / 2; // don't work
  //y := f(x) + f(x); // don't work !!!
end f1;

model A
  Real y;
equation
  y = f1(time);
end A;
}}}

"	defect	closed	normal	1.12.0	Frontend	trunk	worksforme		Per Östlund Adrian Pop Vitalij Ruge
