﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1489	if equation with initial() as condition causes rightless error	Jens Frenkel	Jens Frenkel	"The following model causes an rightless IF_EQUATION_UNBALANCED_2 error. 

model A \\    Real x; \\    Real y; \\    parameter Real a=3; \\equation \\    der(x) + x = y; \\    y = time; \\    if initial() then \\        x = a; \\        x = 1; \\   end if; \\end A; \\ 

 

Error: If-equation with conditions that are not parameter expressions must have the same number of equations in \\ each branch, equation count is {2,0} for each respective branch. \\

 "	defect	closed	high		Backend		worksforme		Frenkel TUD Adrian Pop Per Östlund
