﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1585	error message running makefile	jlettau	jlettau	"Hello, when I run the following model I get the errormessages below:

{{{
function int2real
  input Integer inp;
  output Real outp;
  protected Real a = 1.0;
algorithm
  outp := inp * a;
end int2real;  
  
model bug
  Integer t;
  Boolean b;
  Real r1;
equation
    b = r1>0;
    t = if edge(b) then r1 else t;
    r1=int2real(t); 
end bug;
}}}

// error message
{{{
Error processing file: simple.mo
Error: Internal error BackendDAETransform.findDiscreteEquation failed.

Your model contains a mixed system involving algorithms or other complex-equations.

Sorry. Currently are supported only mixed system involving simple equations and boolean variables.

Try to break the loop by using the pre operator.
Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed
Error: Internal error sorting equations(strongComponents failed)
Error: Internal error Transformation Module sort components failed!

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
}}}"	enhancement	new	major		Backend				Willi Braun
