﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5037	Some array equations make the way to SimCode with the NF	Francesco Casella	Per Östlund	"Most of the failing models in {{{Modelica.Electrical.Machines}}}, about 10 models, see e.g. [https://libraries.openmodelica.org/branches/newInst/Modelica_trunk/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.err Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter] fail because of this issue;
{{{
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005136/0.5278, allocations: 131 kB / 385.2 MB, free: 8.758 MB / 330.7 MB
[OMCompiler/Compiler/SimCode/SimCodeUtil.mo:5544:7-5544:48:writable]
Error: Internal error for Eqn: 1 :
aimc.ir = -{-aimc.idq_rr[1], -aimc.idq_rr[2]}
array equations currently only supported on form v = functioncall(...)
[OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1366:5-1366:77:writable] Error:
Internal error createEquationsForSystems failed
}}}
This equation should obviously be expanded to two scalar equations, and I guess the NF should be responsible for that. Is it?
"	defect	closed	high	2.0.0	Backend		fixed		
