﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4818	Incorrect C code generated from NF-flattened model involving a record	Francesco Casella	Per Östlund	"Please check [https://libraries.openmodelica.org/branches/newInst/Modelica_3.2.2/files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.err Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start]. The following error is reported:
{{{
In file included from ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_model.h:18:
./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_functions.h:16:109:
error: unknown type name 'Modelica_Electrical_Machines_Losses_BrushParameters'
modelica_real omc_Modelica_Electrical_Machines_Losses_DCMachines_brushVoltageDrop(threadData_t *threadData, Modelica_Electrical_Machines_Losses_BrushParameters _brushParameters, modelica_real _i);
}}}
Appartently, there is something wrong in the generated DAE structure that eventually leads to this problem"	defect	closed	high	2.0.0	New Instantiation		fixed		
