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.001108/0.001108, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007867/0.0007867, allocations: 85.12 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1759/0.1759, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.839e-05, allocations: 4 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 63.24 MB / 0.5114 GB, free: 6.801 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4669, allocations: 98.4 MB / 0.6074 GB, free: 11.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.4672, allocations: 73.25 kB / 0.6075 GB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0334/0.5006, allocations: 13.67 MB / 0.6209 GB, free: 32 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5006, allocations: 7.938 kB / 0.6209 GB, free: 24 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.441e-05/0.5007, allocations: 16 kB / 0.6209 GB, free: 8 kB / 410.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.001124/0.5018, allocations: 0.8292 MB / 0.6217 GB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.5018, allocations: 11.97 kB / 0.6217 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.502, allocations: 82.97 kB / 0.6218 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.5026, allocations: 492 kB / 0.6223 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.5026, allocations: 45.31 kB / 0.6223 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.5027, allocations: 60.81 kB / 0.6224 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.5035, allocations: 0.5548 MB / 0.6229 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.5035, allocations: 0 / 0.6229 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.5036, allocations: 26.94 kB / 0.6229 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.5036, allocations: 12 kB / 0.6229 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.5041, allocations: 352.4 kB / 0.6233 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.5069, allocations: 2.21 MB / 0.6254 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.5077, allocations: 0.5182 MB / 0.6259 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.5079, allocations: 138.3 kB / 0.6261 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.5079, allocations: 4 kB / 0.6261 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.5079, allocations: 41.7 kB / 0.6261 GB, free: 11.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.508, allocations: 0 / 0.6261 GB, free: 11.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001206/0.5092, allocations: 0.8216 MB / 0.6269 GB, free: 10.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.5092, allocations: 55.41 kB / 0.627 GB, free: 10.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.5097, allocations: 459.3 kB / 0.6274 GB, free: 10.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.5097, allocations: 33.14 kB / 0.6274 GB, free: 10.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.5099, allocations: 347 kB / 0.6278 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.51, allocations: 124.4 kB / 0.6279 GB, free: 9.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.51, allocations: 15.19 kB / 0.6279 GB, free: 9.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5101, allocations: 363.8 kB / 0.6283 GB, free: 9.633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.5103, allocations: 101.9 kB / 0.6284 GB, free: 9.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.5105, allocations: 182.6 kB / 0.6285 GB, free: 9.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.5107, allocations: 136.3 kB / 0.6287 GB, free: 9.324 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5107, allocations: 0 / 0.6287 GB, free: 9.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005682/0.5113, allocations: 419.6 kB / 0.6291 GB, free: 9.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002529/0.5116, allocations: 0.8678 MB / 0.6299 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5116, allocations: 4 kB / 0.6299 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.5117, allocations: 30.97 kB / 0.6299 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.5121, allocations: 107.8 kB / 0.63 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008412/0.513, allocations: 1.284 MB / 0.6313 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.5132, allocations: 27.11 kB / 0.6313 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.5133, allocations: 15.31 kB / 0.6313 GB, free: 6.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.5133, allocations: 7.938 kB / 0.6313 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004947/0.5138, allocations: 337.1 kB / 0.6317 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.5138, allocations: 4 kB / 0.6317 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.16e-05/0.5139, allocations: 24.41 kB / 0.6317 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.5142, allocations: 103.5 kB / 0.6318 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009342/0.5152, allocations: 1.283 MB / 0.633 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.5154, allocations: 11.5 kB / 0.6331 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.5154, allocations: 19.59 kB / 0.6331 GB, free: 4.793 MB / 426.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 () * 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.0001394/0.5156, allocations: 128.3 kB / 0.6332 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.5157, allocations: 51.34 kB / 0.6332 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.5158, allocations: 61.03 kB / 0.6333 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5158, allocations: 3.953 kB / 0.6333 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5158, allocations: 4 kB / 0.6333 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5158, allocations: 3.984 kB / 0.6333 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.5172, allocations: 1.012 MB / 0.6343 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5172, allocations: 0 / 0.6343 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.5176, allocations: 83.89 kB / 0.6344 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.059e-05/0.5177, allocations: 16.84 kB / 0.6344 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.5177, allocations: 11.81 kB / 0.6344 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007795/0.5185, allocations: 1.281 MB / 0.6357 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5185, allocations: 0 / 0.6357 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.5192, allocations: 0.5684 MB / 0.6362 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5193, allocations: 135.8 kB / 0.6363 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.5194, allocations: 3.938 kB / 0.6363 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.5196, allocations: 43.61 kB / 0.6364 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.5197, allocations: 23.78 kB / 0.6364 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5197, allocations: 11.88 kB / 0.6364 GB, free: 1.609 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003806/0.5201, allocations: 357.8 kB / 0.6368 GB, free: 1.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5201, allocations: 0 / 0.6368 GB, free: 1.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000658/0.5208, allocations: 190.6 kB / 0.6369 GB, free: 1.18 MB / 426.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 () * 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.0003092/0.5211, allocations: 191.9 kB / 0.6371 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008952/0.522, allocations: 0.6873 MB / 0.6378 GB, free: 440 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.522, allocations: 4.062 kB / 0.6378 GB, free: 436 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.5223, allocations: 248.3 kB / 0.638 GB, free: 216 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.5228, allocations: 93.48 kB / 0.6381 GB, free: 152 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5243, allocations: 0.9559 MB / 0.6391 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.5247, allocations: 0.9029 MB / 0.6399 GB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.525, allocations: 86.39 kB / 0.64 GB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.5251, allocations: 31.44 kB / 0.6401 GB, free: 14.19 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5251, allocations: 0 / 0.6401 GB, free: 14.19 MB / 442.7 MB Notification: Performance of Templates: time 0.01161/0.5367, allocations: 6.893 MB / 0.6468 GB, free: 7.336 MB / 442.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:317: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:318: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:319:154: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:156:277: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:319:174: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:156:285: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:319:222: error: no member named '_J' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:156:302: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:319:260: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:156:310: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:382: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:383: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:384:154: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:156:277: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:384:174: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:156:285: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:384:222: error: no member named '_J' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:156:302: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:384:260: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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:156:310: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_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