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.001005/0.001005, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008749/0.000875, allocations: 99.31 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2987/0.2987, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002439, allocations: 11.98 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2854, allocations: 63.24 MB / 0.5192 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3931, allocations: 98.47 MB / 0.6153 GB, free: 7.172 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3934, allocations: 77.62 kB / 0.6154 GB, free: 7.098 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03488/0.4283, allocations: 13.69 MB / 0.6288 GB, free: 9.387 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4283, allocations: 0 / 0.6288 GB, free: 9.387 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.073e-05/0.4284, allocations: 20 kB / 0.6288 GB, free: 9.367 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.001381/0.4298, allocations: 0.9231 MB / 0.6297 GB, free: 8.395 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4298, allocations: 8.031 kB / 0.6297 GB, free: 8.387 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.4299, allocations: 82.97 kB / 0.6298 GB, free: 8.305 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006465/0.4306, allocations: 489.7 kB / 0.6303 GB, free: 7.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.4306, allocations: 45.31 kB / 0.6303 GB, free: 7.742 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.4307, allocations: 67.92 kB / 0.6304 GB, free: 7.676 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000943/0.4317, allocations: 0.595 MB / 0.6309 GB, free: 7.059 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4317, allocations: 3.984 kB / 0.631 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.4318, allocations: 24 kB / 0.631 GB, free: 7.031 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.4318, allocations: 15.98 kB / 0.631 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008359/0.4326, allocations: 449 kB / 0.6314 GB, free: 6.578 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.4355, allocations: 2.195 MB / 0.6336 GB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.4366, allocations: 0.616 MB / 0.6342 GB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.4366, allocations: 8 kB / 0.6342 GB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.4366, allocations: 30.56 kB / 0.6342 GB, free: 3.574 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.4367, allocations: 448 / 0.6342 GB, free: 3.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002093/0.4388, allocations: 1.203 MB / 0.6354 GB, free: 2.297 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.4388, allocations: 59.34 kB / 0.6354 GB, free: 2.227 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.4393, allocations: 462.1 kB / 0.6359 GB, free: 1.773 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.4394, allocations: 33.7 kB / 0.6359 GB, free: 1.734 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.4396, allocations: 348.1 kB / 0.6362 GB, free: 1.387 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.664e-05/0.4397, allocations: 122.2 kB / 0.6364 GB, free: 1.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.4397, allocations: 8 kB / 0.6364 GB, free: 1.258 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4398, allocations: 362.8 kB / 0.6367 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.4401, allocations: 148.8 kB / 0.6368 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.4405, allocations: 224.9 kB / 0.6371 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.4408, allocations: 181.5 kB / 0.6372 GB, free: 328 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4408, allocations: 0 / 0.6372 GB, free: 328 kB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00085/0.4417, allocations: 0.4897 MB / 0.6377 GB, free: 15.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002921/0.442, allocations: 0.871 MB / 0.6386 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.442, allocations: 7.953 kB / 0.6386 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.4421, allocations: 24.84 kB / 0.6386 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.4425, allocations: 107.9 kB / 0.6387 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009277/0.4435, allocations: 1.291 MB / 0.64 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.4438, allocations: 31.97 kB / 0.64 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.4439, allocations: 16 kB / 0.64 GB, free: 13.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.4439, allocations: 0 / 0.64 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006171/0.4445, allocations: 372.4 kB / 0.6404 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4445, allocations: 0 / 0.6404 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.806e-05/0.4446, allocations: 29.12 kB / 0.6404 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.445, allocations: 99.83 kB / 0.6405 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007766/0.4457, allocations: 1.295 MB / 0.6418 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.446, allocations: 20 kB / 0.6418 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.446, allocations: 8 kB / 0.6418 GB, free: 11.32 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.0002689/0.4463, allocations: 262 kB / 0.642 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.4464, allocations: 59.47 kB / 0.6421 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.4465, allocations: 61.28 kB / 0.6421 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.4465, allocations: 7.938 kB / 0.6421 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4465, allocations: 3.953 kB / 0.6422 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4465, allocations: 3.984 kB / 0.6422 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.4482, allocations: 1.085 MB / 0.6432 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4482, allocations: 0 / 0.6432 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.4485, allocations: 79.89 kB / 0.6433 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-05/0.4486, allocations: 28.86 kB / 0.6433 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.4487, allocations: 7.984 kB / 0.6433 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008056/0.4495, allocations: 1.285 MB / 0.6446 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.4495, allocations: 0 / 0.6446 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.4505, allocations: 0.6812 MB / 0.6452 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.4507, allocations: 132.4 kB / 0.6454 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.4507, allocations: 8 kB / 0.6454 GB, free: 7.363 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.451, allocations: 35.97 kB / 0.6454 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.4511, allocations: 27.86 kB / 0.6454 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.4511, allocations: 12 kB / 0.6455 GB, free: 7.289 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004224/0.4515, allocations: 362.9 kB / 0.6458 GB, free: 6.938 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4515, allocations: 0 / 0.6458 GB, free: 6.938 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006832/0.4522, allocations: 199.9 kB / 0.646 GB, free: 6.742 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.0002493/0.4525, allocations: 192.2 kB / 0.6462 GB, free: 6.543 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.4537, allocations: 0.7708 MB / 0.6469 GB, free: 5.746 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4537, allocations: 0.8125 kB / 0.6469 GB, free: 5.746 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.4541, allocations: 282.6 kB / 0.6472 GB, free: 5.457 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.4546, allocations: 88.44 kB / 0.6473 GB, free: 5.371 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.4568, allocations: 1.566 MB / 0.6488 GB, free: 3.766 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.4573, allocations: 0.9058 MB / 0.6497 GB, free: 2.828 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000243/0.4575, allocations: 60.38 kB / 0.6498 GB, free: 2.766 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4576, allocations: 43.42 kB / 0.6498 GB, free: 2.723 MB / 458.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4576, allocations: 3.938 kB / 0.6498 GB, free: 2.719 MB / 458.7 MB Notification: Performance of Templates: time 0.01072/0.4684, allocations: 5.967 MB / 0.6556 GB, free: 12.8 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 -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_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 -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_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 -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_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:279: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:280: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: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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_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_SpeedControlled_records.o] Error 1