Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 205.6 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 226.5 MB / 245.4 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007473/0.0007474, allocations: 95.83 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3616/0.3616, allocations: 44.81 MB / 394.3 MB, free: 35.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 11.98 kB / 467.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4275, allocations: 62.95 MB / 0.5184 GB, free: 37.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.5675, allocations: 98.37 MB / 0.6145 GB, free: 6.918 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.5679, allocations: 75.95 kB / 0.6145 GB, free: 6.848 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0357/0.6036, allocations: 13.69 MB / 0.6279 GB, free: 9.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6036, allocations: 4 kB / 0.6279 GB, free: 9.094 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.519e-05/0.6037, allocations: 16 kB / 0.6279 GB, free: 9.078 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00154/0.6052, allocations: 0.9077 MB / 0.6288 GB, free: 8.117 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6053, allocations: 8.031 kB / 0.6288 GB, free: 8.109 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.6054, allocations: 87.91 kB / 0.6289 GB, free: 8.023 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.6061, allocations: 0.4987 MB / 0.6294 GB, free: 7.488 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.6062, allocations: 45.69 kB / 0.6294 GB, free: 7.441 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.6063, allocations: 64.28 kB / 0.6295 GB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.6073, allocations: 0.5994 MB / 0.6301 GB, free: 6.758 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.6074, allocations: 4.188 kB / 0.6301 GB, free: 6.754 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.6074, allocations: 27.94 kB / 0.6301 GB, free: 6.727 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.6074, allocations: 19.94 kB / 0.6301 GB, free: 6.707 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/0.6083, allocations: 445 kB / 0.6306 GB, free: 6.273 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.6114, allocations: 2.195 MB / 0.6327 GB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.6125, allocations: 0.6168 MB / 0.6333 GB, free: 3.324 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.6129, allocations: 180.8 kB / 0.6335 GB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.6129, allocations: 4 kB / 0.6335 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.613, allocations: 34.56 kB / 0.6335 GB, free: 3.098 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/0.613, allocations: 4.438 kB / 0.6335 GB, free: 3.094 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002308/0.6153, allocations: 1.191 MB / 0.6347 GB, free: 1.828 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.6153, allocations: 67.27 kB / 0.6348 GB, free: 1.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006754/0.616, allocations: 0.5144 MB / 0.6353 GB, free: 1.223 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.6161, allocations: 29.7 kB / 0.6353 GB, free: 1.188 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.6163, allocations: 344.1 kB / 0.6356 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.6164, allocations: 126.3 kB / 0.6357 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.6164, allocations: 8 kB / 0.6357 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6166, allocations: 366.8 kB / 0.6361 GB, free: 356 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.6169, allocations: 136.8 kB / 0.6362 GB, free: 216 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.6173, allocations: 236.9 kB / 0.6364 GB, free: 15.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.618, allocations: 393 kB / 0.6368 GB, free: 15.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.618, allocations: 0 / 0.6368 GB, free: 15.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008767/0.6189, allocations: 0.4934 MB / 0.6373 GB, free: 15.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.619, allocations: 163.8 kB / 0.6375 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.619, allocations: 0 / 0.6375 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.6192, allocations: 24.84 kB / 0.6375 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.6196, allocations: 111.8 kB / 0.6376 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.6207, allocations: 1.287 MB / 0.6388 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.621, allocations: 23.98 kB / 0.6389 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.621, allocations: 16 kB / 0.6389 GB, free: 13.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.271e-06/0.621, allocations: 4 kB / 0.6389 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000618/0.6217, allocations: 360.4 kB / 0.6392 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6217, allocations: 4 kB / 0.6392 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.98e-05/0.6218, allocations: 25.12 kB / 0.6393 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.6221, allocations: 91.91 kB / 0.6393 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009066/0.623, allocations: 1.288 MB / 0.6406 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.6232, allocations: 16 kB / 0.6406 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.6233, allocations: 16 kB / 0.6406 GB, free: 11.31 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (speedController.integrator.local_reset,currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0003214/0.6236, allocations: 265 kB / 0.6409 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.6237, allocations: 63.19 kB / 0.6409 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.6238, allocations: 61.22 kB / 0.641 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6238, allocations: 8.094 kB / 0.641 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6238, allocations: 0 / 0.641 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6239, allocations: 0 / 0.641 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.6255, allocations: 1.092 MB / 0.6421 GB, free: 9.754 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6255, allocations: 0 / 0.6421 GB, free: 9.754 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.6259, allocations: 79.83 kB / 0.6422 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.486e-05/0.626, allocations: 24.84 kB / 0.6422 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.626, allocations: 4 kB / 0.6422 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009092/0.6269, allocations: 1.28 MB / 0.6434 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6269, allocations: 160 / 0.6434 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.628, allocations: 0.6618 MB / 0.6441 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.6281, allocations: 132.4 kB / 0.6442 GB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.6282, allocations: 12 kB / 0.6442 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.6284, allocations: 31.97 kB / 0.6442 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.6285, allocations: 23.97 kB / 0.6443 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.6285, allocations: 8 kB / 0.6443 GB, free: 7.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004044/0.6289, allocations: 362.9 kB / 0.6446 GB, free: 6.969 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.629, allocations: 0 / 0.6446 GB, free: 6.969 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000672/0.6296, allocations: 203.9 kB / 0.6448 GB, free: 6.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (dcpm.inductor.i,dcpm.inertia.w,inertiaLoad.phi,deadTime.y,currentController.integrator.y,preFilter.y,speedController.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 (32): * Single equations (assignments): 31 * 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.0003133/0.6299, allocations: 196.1 kB / 0.645 GB, free: 6.574 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.6313, allocations: 0.7642 MB / 0.6458 GB, free: 5.785 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6313, allocations: 0 / 0.6458 GB, free: 5.785 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.6317, allocations: 290.9 kB / 0.646 GB, free: 5.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.6324, allocations: 100.8 kB / 0.6461 GB, free: 5.387 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.6346, allocations: 1.57 MB / 0.6477 GB, free: 3.777 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.6351, allocations: 0.8902 MB / 0.6485 GB, free: 2.855 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.6353, allocations: 64.36 kB / 0.6486 GB, free: 2.793 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.6354, allocations: 43.44 kB / 0.6486 GB, free: 2.75 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6354, allocations: 0 / 0.6486 GB, free: 2.75 MB / 458.7 MB Notification: Performance of Templates: time 0.01112/0.6466, allocations: 6.041 MB / 0.6545 GB, free: 12.74 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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_SpeedControlled -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_SpeedControlled.o ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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_SpeedControlled -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_SpeedControlled_functions.o ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_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_SpeedControlled -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_SpeedControlled_records.o ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_records.c ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_records.o] Error 1