﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5512	Problem with arrayed parameters in NF	crupp@…	Per Östlund	"The attached model produces the following translation error:

{{{
[2] 10:12:43 Translation Error
[C:/dev/OM64bit/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 888:9-888:67]: Internal error NFCeval.evalBinaryMul failed to evaluate ‘0.0174532925199433 * {90.0, 180.0, 270.0, 360.0}‘
}}}

Yet, it is still allowed to proceed to compilation and ultimately fails after compile-time errors. The errors indicate a problem with converting the array instantiation of the hub_angle parameter for the arrayed model stage3[N] (see inside model Stage2).

Some notes of interest:
-The whole array is passed to a single parameter value (i.e., array->real) as seen in the model instantiation
{{{parameter Real stage1.stage2.stage3[4].fixedRotation1.angles[3](quantity = ""Angle"", unit = ""deg"") = {0.0, 90.0, 180.0, 270.0} ""Rotation angles around the axes defined in 'sequence'"";}}}}
-The incorrect instantiation does not affect {{{stage3[1]}}}, only indices 2-4
-The model is allowed to write out and compile despite having a translation error
-If the limiter1 block in TopModel is removed then the model still throws a translation error and the instantiation is still wrong, but it compiles and simulates successfully (this is bizzare)


It seems like there are multiple problems here: array instantiation, getting to compile stage despite translation error, and the strange influence of the limiter1 block."	defect	closed	critical	1.16.0	New Instantiation	v1.14.0-dev-nightly	fixed		
