﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6231	NF with positiveMax in connections of arrays of port	Francesco Casella	Per Östlund	"Please consider the attached MWE. When trying to run model {{{M}}}, the NF complains that
{{{
[1] 13:13:25 Translation Error
[OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1064:9-1064:67]:
Internal error NFCeval.evalBinaryMul failed to evaluate 
‘1e-07 * {1.0, 2.0, 3.0}‘
}}}
If you remove the evaluate annotation, and flatten the model, the reason of this issue is clear from all the expressions like
{{{
$OMC$PositiveMax(-c[2].v.p.f, 1e-07 * c.v.fnom)
}}}
where the first term is a scalar, but the second is (still) an array. This should be
{{{
$OMC$PositiveMax(-c[2].v.p.f, 1e-07 * c.v.fnom[2])
}}}
"	defect	closed	high	1.17.0	New Instantiation	1.16.0	fixed		Andrea Bartolini
