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.001036/0.001036, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 227.2 MB / 245 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008694/0.0008693, allocations: 99.45 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3021/0.3021, allocations: 45.22 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002724, allocations: 4 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2712, allocations: 63.26 MB / 0.5192 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.3854, allocations: 98.27 MB / 0.6152 GB, free: 5.145 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.3856, allocations: 75.95 kB / 0.6152 GB, free: 5.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0275/0.4131, allocations: 10.94 MB / 0.6259 GB, free: 10.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4132, allocations: 0 / 0.6259 GB, free: 10.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.4132, allocations: 20.19 kB / 0.6259 GB, free: 10.07 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.001172/0.4144, allocations: 0.7561 MB / 0.6267 GB, free: 9.262 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4144, allocations: 8.031 kB / 0.6267 GB, free: 9.254 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.4145, allocations: 67.25 kB / 0.6267 GB, free: 9.188 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.4151, allocations: 403.4 kB / 0.6271 GB, free: 8.754 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.4151, allocations: 40.94 kB / 0.6272 GB, free: 8.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.4152, allocations: 48 kB / 0.6272 GB, free: 8.668 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.416, allocations: 458.9 kB / 0.6276 GB, free: 8.203 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.416, allocations: 0 / 0.6276 GB, free: 8.203 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.416, allocations: 24 kB / 0.6277 GB, free: 8.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.4161, allocations: 12 kB / 0.6277 GB, free: 8.168 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005825/0.4166, allocations: 307.8 kB / 0.628 GB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.419, allocations: 1.7 MB / 0.6296 GB, free: 6.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.4199, allocations: 423.5 kB / 0.63 GB, free: 5.629 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.4199, allocations: 4 kB / 0.63 GB, free: 5.625 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.42, allocations: 38.5 kB / 0.6301 GB, free: 5.578 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.42, allocations: 4 kB / 0.6301 GB, free: 5.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001619/0.4216, allocations: 0.9158 MB / 0.631 GB, free: 4.586 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.4217, allocations: 59.41 kB / 0.631 GB, free: 4.516 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.422, allocations: 352.8 kB / 0.6314 GB, free: 4.172 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.4221, allocations: 33.7 kB / 0.6314 GB, free: 4.133 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.4222, allocations: 267.9 kB / 0.6317 GB, free: 3.863 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.4223, allocations: 90.66 kB / 0.6317 GB, free: 3.773 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.4223, allocations: 8 kB / 0.6318 GB, free: 3.766 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4224, allocations: 346.8 kB / 0.6321 GB, free: 3.418 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.4226, allocations: 95.95 kB / 0.6322 GB, free: 3.324 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.4229, allocations: 163.1 kB / 0.6323 GB, free: 3.141 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.4231, allocations: 116 kB / 0.6324 GB, free: 3.027 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4231, allocations: 0 / 0.6324 GB, free: 3.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006012/0.4237, allocations: 363.2 kB / 0.6328 GB, free: 2.664 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002826/0.424, allocations: 0.702 MB / 0.6335 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.424, allocations: 0 / 0.6335 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.4242, allocations: 28.8 kB / 0.6335 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.4245, allocations: 75.89 kB / 0.6336 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009229/0.4254, allocations: 1.292 MB / 0.6348 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.4256, allocations: 15.98 kB / 0.6348 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.4256, allocations: 16 kB / 0.6349 GB, free: 356 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.4256, allocations: 4 kB / 0.6349 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004506/0.4261, allocations: 272.7 kB / 0.6351 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.4261, allocations: 4 kB / 0.6351 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.678e-05/0.4262, allocations: 24.84 kB / 0.6352 GB, free: 44 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.4265, allocations: 64.02 kB / 0.6352 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008969/0.4274, allocations: 1.284 MB / 0.6365 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.4275, allocations: 12.03 kB / 0.6365 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.4276, allocations: 12.34 kB / 0.6365 GB, free: 14.54 MB / 458.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.0002298/0.4278, allocations: 253 kB / 0.6367 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.4279, allocations: 39.48 kB / 0.6368 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.036e-05/0.428, allocations: 43.52 kB / 0.6368 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.428, allocations: 0 / 0.6368 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.428, allocations: 0 / 0.6368 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.428, allocations: 4 kB / 0.6368 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.4292, allocations: 0.8601 MB / 0.6377 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4292, allocations: 0 / 0.6377 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.4294, allocations: 47.97 kB / 0.6377 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-05/0.4295, allocations: 28.78 kB / 0.6377 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.4295, allocations: 8 kB / 0.6377 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008705/0.4304, allocations: 1.296 MB / 0.639 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4304, allocations: 0 / 0.639 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.4312, allocations: 0.5135 MB / 0.6395 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.4313, allocations: 120.6 kB / 0.6396 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.4314, allocations: 8 kB / 0.6396 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.4316, allocations: 19.98 kB / 0.6396 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.4316, allocations: 23.91 kB / 0.6397 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.4317, allocations: 8 kB / 0.6397 GB, free: 11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.432, allocations: 279.2 kB / 0.6399 GB, free: 10.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.432, allocations: 0 / 0.6399 GB, free: 10.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005463/0.4325, allocations: 152 kB / 0.6401 GB, free: 10.58 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.000261/0.4328, allocations: 199.6 kB / 0.6403 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.4337, allocations: 0.5919 MB / 0.6409 GB, free: 9.766 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4337, allocations: 0 / 0.6409 GB, free: 9.766 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.4341, allocations: 244.8 kB / 0.6411 GB, free: 9.516 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.4345, allocations: 72.95 kB / 0.6412 GB, free: 9.449 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.4362, allocations: 1.264 MB / 0.6424 GB, free: 8.152 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.4366, allocations: 0.8466 MB / 0.6432 GB, free: 7.277 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000165/0.4368, allocations: 47.25 kB / 0.6433 GB, free: 7.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.4369, allocations: 31.44 kB / 0.6433 GB, free: 7.199 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4369, allocations: 0 / 0.6433 GB, free: 7.199 MB / 458.7 MB Notification: Performance of Templates: time 0.008617/0.4455, allocations: 4.674 MB / 0.6479 GB, free: 2.547 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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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:279: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:280: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:281: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:171: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:281: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:171: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:281: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:171: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:281: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:171: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:336: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:337: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:338: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:171: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:338: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:171: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:338: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:171: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:338: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:171: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