﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4739	Erroneous equation count with arrays	massimo ceraolo	somebody	"The following model:

{{{
model errorSize
Real x[:](start={ 0.2, 0.4, 0.6});
equation
  der(x[1:3])+x[1:3]=fill(1/(time+0.1),3);
end errorSize;
}}}


gives rise to the following result when checking:

{{{
Check of errorSize completed successfully.
Class errorSize has 3 equation(s) and 1 variable(s).
1 of these are trivial equation(s).
}}}

and the model obviously won't run.
AFAIK this is valid modelica

If I repeat checking with -d=newInst I get, instead:

{{{

[1] 16:20:30 Translation Error
[Es1: 2:1-2:34]: Failed to deduce dimension 1 of x due to missing binding equation.
}}}




Tested with OM  v1.13.0-dev-380-g8b177b9 (WIN 64-bit)
"	defect	new	high	1.13.0	*unknown*				
