Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 197.5 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008821/0.0008821, allocations: 102.9 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3617/0.3617, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.000337, allocations: 8 kB / 467.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4187, allocations: 62.96 MB / 0.5184 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.5516, allocations: 98.17 MB / 0.6143 GB, free: 7.133 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.5519, allocations: 83.94 kB / 0.6144 GB, free: 7.055 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02853/0.5804, allocations: 10.93 MB / 0.625 GB, free: 12.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5805, allocations: 4 kB / 0.625 GB, free: 12.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.694e-05/0.5805, allocations: 12 kB / 0.6251 GB, free: 12.06 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001425/0.582, allocations: 0.7565 MB / 0.6258 GB, free: 11.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.582, allocations: 12.03 kB / 0.6258 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.5822, allocations: 60.19 kB / 0.6259 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.5829, allocations: 420.5 kB / 0.6263 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.5829, allocations: 29.38 kB / 0.6263 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/0.583, allocations: 48.38 kB / 0.6263 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000856/0.5839, allocations: 463.6 kB / 0.6268 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.5839, allocations: 4.094 kB / 0.6268 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.584, allocations: 23.88 kB / 0.6268 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.584, allocations: 12 kB / 0.6268 GB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.5848, allocations: 315.8 kB / 0.6271 GB, free: 9.844 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.5875, allocations: 1.693 MB / 0.6288 GB, free: 8.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008588/0.5884, allocations: 426.4 kB / 0.6292 GB, free: 7.613 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.5886, allocations: 128.8 kB / 0.6293 GB, free: 7.484 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.5887, allocations: 4 kB / 0.6293 GB, free: 7.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.5887, allocations: 34.56 kB / 0.6293 GB, free: 7.438 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.5887, allocations: 0 / 0.6293 GB, free: 7.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001762/0.5905, allocations: 0.9232 MB / 0.6302 GB, free: 6.441 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.5905, allocations: 59.34 kB / 0.6303 GB, free: 6.371 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.591, allocations: 389.7 kB / 0.6307 GB, free: 5.984 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.5911, allocations: 33.7 kB / 0.6307 GB, free: 5.945 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.5913, allocations: 279.8 kB / 0.631 GB, free: 5.668 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.5914, allocations: 90.64 kB / 0.631 GB, free: 5.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.5914, allocations: 8 kB / 0.6311 GB, free: 5.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5916, allocations: 346.8 kB / 0.6314 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.5918, allocations: 96.05 kB / 0.6315 GB, free: 5.129 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.592, allocations: 167.1 kB / 0.6316 GB, free: 4.941 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.5925, allocations: 266.7 kB / 0.6319 GB, free: 4.656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5925, allocations: 0 / 0.6319 GB, free: 4.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006262/0.5932, allocations: 357.9 kB / 0.6322 GB, free: 4.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/0.5933, allocations: 139 kB / 0.6324 GB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5933, allocations: 4 kB / 0.6324 GB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.5934, allocations: 28.78 kB / 0.6324 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.5937, allocations: 75.91 kB / 0.6325 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.5948, allocations: 1.281 MB / 0.6337 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.595, allocations: 16.06 kB / 0.6337 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.595, allocations: 12 kB / 0.6337 GB, free: 2.582 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.5951, allocations: 4 kB / 0.6338 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005133/0.5956, allocations: 272.8 kB / 0.634 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5956, allocations: 4 kB / 0.634 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.71e-05/0.5957, allocations: 20.84 kB / 0.634 GB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.5959, allocations: 67.91 kB / 0.6341 GB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.597, allocations: 1.284 MB / 0.6354 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.5973, allocations: 11.98 kB / 0.6354 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.5973, allocations: 8 kB / 0.6354 GB, free: 0.7773 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003711/0.5977, allocations: 253.1 kB / 0.6356 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.5978, allocations: 35.53 kB / 0.6356 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.5979, allocations: 43.52 kB / 0.6357 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5979, allocations: 4 kB / 0.6357 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.5979, allocations: 0 / 0.6357 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5979, allocations: 3.984 kB / 0.6357 GB, free: 440 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.5996, allocations: 0.8597 MB / 0.6365 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5996, allocations: 0 / 0.6365 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.5999, allocations: 56.03 kB / 0.6366 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.599e-05/0.6, allocations: 25.44 kB / 0.6366 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.6, allocations: 8 kB / 0.6366 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.6011, allocations: 1.276 MB / 0.6379 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6011, allocations: 3.938 kB / 0.6379 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/0.6019, allocations: 499.7 kB / 0.6383 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.602, allocations: 124.7 kB / 0.6385 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.6021, allocations: 8.125 kB / 0.6385 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.6023, allocations: 19.98 kB / 0.6385 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.6024, allocations: 27.84 kB / 0.6385 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.6024, allocations: 8 kB / 0.6385 GB, free: 13.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003274/0.6027, allocations: 275.2 kB / 0.6388 GB, free: 13.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6027, allocations: 0 / 0.6388 GB, free: 13.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006422/0.6034, allocations: 160 kB / 0.6389 GB, free: 12.86 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcpm.inductor.i,dcpm.inertia.w,torqueLoad.phi,deadTime.y,currentController.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003212/0.6037, allocations: 203.9 kB / 0.6391 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.6048, allocations: 0.599 MB / 0.6397 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6048, allocations: 0 / 0.6397 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.6051, allocations: 230.5 kB / 0.6399 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.6057, allocations: 68.89 kB / 0.64 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.6079, allocations: 1.26 MB / 0.6412 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.6084, allocations: 0.8347 MB / 0.6421 GB, free: 9.578 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.6086, allocations: 47.23 kB / 0.6421 GB, free: 9.531 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.6087, allocations: 31.44 kB / 0.6421 GB, free: 9.5 MB / 458.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6087, allocations: 0 / 0.6421 GB, free: 9.5 MB / 458.7 MB Notification: Performance of Templates: time 0.0111/0.6198, allocations: 4.726 MB / 0.6467 GB, free: 4.793 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.o ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.o ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.o ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:282:15: error: no member named '_RA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp3 = ths->_RA; ~~~ ^ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:284:15: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp4 = ths->_Tsub; ~~~ ^ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:286:158: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp2), (ths->_LA) / tmp3, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp4), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.h:161:285: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:286:178: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp2), (ths->_LA) / tmp3, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp4), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.h:161:293: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:286:226: error: no member named '_J' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp2), (ths->_LA) / tmp3, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp4), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.h:161:310: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:286:264: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp2), (ths->_LA) / tmp3, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp4), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.h:161:318: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:343:15: error: no member named '_RA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp7 = ths->_RA; ~~~ ^ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:345:15: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp8 = ths->_Tsub; ~~~ ^ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:347:158: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp6), (ths->_LA) / tmp7, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp8), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.h:161:285: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:347:178: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp6), (ths->_LA) / tmp7, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp8), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.h:161:293: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:347:226: error: no member named '_J' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp6), (ths->_LA) / tmp7, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp8), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.h:161:310: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.c:347:264: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp6), (ths->_LA) / tmp7, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp8), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_functions.h:161:318: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities__omcQControllerData_24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ 12 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_records.o] Error 1