﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1508	terminal() support	Martin Sjölund	Martin Sjölund	"terminal() is not supported in the generated code. Willi, could we support it by adding an extra event-handling iteration where terminal is set to true before finishing the simulation?
Or should we just make it return false?

{{{ model test111 
  Real a(start = 0.1); 
algorithm 
if terminal() then 
    a:=1.0; 
  Modelica.Utilities.Streams.print(""terminal"", ""terminal.txt""); 
  end if; 
end test111; }}}"	defect	closed	high				fixed		Martin Sjölund Willi Braun
