﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3651	Wrong SimCode.SimVar information for statemachine models	Niklas Worschech	Bernhard Thiele	"For statemachine models the SimVar.numArrayElement variable is not correctly generatet. The cpp code generation uses the numArrayElement information to generate code for array variables. e.g for the test model: testsuite\simulation\modelica\statemachines\TicksInState.mo for the model variable smOf.state1.tFrom  the corresponding simvar numArrayElement is not set. This leads to an error message in the cpp code generation: Template error: A template call failed (a call with 1 parameter)...
The error message comes from the cpp template function arrayextentDims 
where numArrayElement  is used."	defect	closed	critical	Future	Backend		fixed	statemachine, cpp code generation	Adrian Pop Niklas Worschech
