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: "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 196.1 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.293/1.293, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009315/0.0009315, allocations: 84.78 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1861/0.1861, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.881e-05, allocations: 8 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3922/0.4968, allocations: 98.2 MB / 0.6074 GB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.4971, allocations: 74.77 kB / 0.6074 GB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02896/0.5261, allocations: 10.94 MB / 0.6181 GB, free: 2.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5261, allocations: 0 / 0.6181 GB, free: 2.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-05/0.5262, allocations: 12 kB / 0.6181 GB, free: 2.434 MB / 410.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.001352/0.5275, allocations: 0.6945 MB / 0.6188 GB, free: 1.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5276, allocations: 15.91 kB / 0.6188 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.5277, allocations: 84.28 kB / 0.6189 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.5279, allocations: 55.34 kB / 0.6189 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.5285, allocations: 402.3 kB / 0.6193 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.5286, allocations: 35.19 kB / 0.6194 GB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.5287, allocations: 53.28 kB / 0.6194 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006978/0.5294, allocations: 431.2 kB / 0.6198 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5294, allocations: 0 / 0.6198 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.5295, allocations: 17.75 kB / 0.6198 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.5295, allocations: 12 kB / 0.6199 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.53, allocations: 263.7 kB / 0.6201 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.5324, allocations: 1.716 MB / 0.6218 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.5332, allocations: 371.8 kB / 0.6221 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.5333, allocations: 99.3 kB / 0.6222 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.5334, allocations: 4 kB / 0.6222 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5334, allocations: 41.5 kB / 0.6223 GB, free: 14.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.5334, allocations: 0 / 0.6223 GB, free: 14.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001146/0.5346, allocations: 0.6702 MB / 0.6229 GB, free: 14.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.5346, allocations: 55.41 kB / 0.623 GB, free: 14.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.535, allocations: 350.4 kB / 0.6233 GB, free: 13.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.535, allocations: 33.2 kB / 0.6233 GB, free: 13.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.5352, allocations: 274.3 kB / 0.6236 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.5353, allocations: 82.56 kB / 0.6237 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.5353, allocations: 6.75 kB / 0.6237 GB, free: 13.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5354, allocations: 349.1 kB / 0.624 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.5355, allocations: 75.62 kB / 0.6241 GB, free: 13.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.5357, allocations: 146.2 kB / 0.6242 GB, free: 13.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.5359, allocations: 92.47 kB / 0.6243 GB, free: 12.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5359, allocations: 4 kB / 0.6243 GB, free: 12.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000484/0.5364, allocations: 319.2 kB / 0.6246 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002619/0.5367, allocations: 0.7022 MB / 0.6253 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5367, allocations: 0 / 0.6253 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.5368, allocations: 24.09 kB / 0.6253 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.5371, allocations: 71.53 kB / 0.6254 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009796/0.5381, allocations: 1.278 MB / 0.6267 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.5383, allocations: 16.08 kB / 0.6267 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.5384, allocations: 15.69 kB / 0.6267 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.5384, allocations: 5.094 kB / 0.6267 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003833/0.5388, allocations: 246.6 kB / 0.6269 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5388, allocations: 96 / 0.6269 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.639e-05/0.5389, allocations: 36.2 kB / 0.627 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.5391, allocations: 71.5 kB / 0.627 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007512/0.5399, allocations: 1.275 MB / 0.6283 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.5401, allocations: 10.94 kB / 0.6283 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.5401, allocations: 11.19 kB / 0.6283 GB, free: 8.852 MB / 426.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 () * 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.0001087/0.5402, allocations: 130.2 kB / 0.6284 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.5403, allocations: 39.53 kB / 0.6285 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.929e-05/0.5404, allocations: 48.91 kB / 0.6285 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5404, allocations: 4 kB / 0.6285 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5404, allocations: 0 / 0.6285 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5404, allocations: 4.062 kB / 0.6285 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.5416, allocations: 0.8143 MB / 0.6293 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5416, allocations: 4 kB / 0.6293 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.5418, allocations: 52.03 kB / 0.6294 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.826e-05/0.5419, allocations: 24.53 kB / 0.6294 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5419, allocations: 3.125 kB / 0.6294 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007713/0.5427, allocations: 1.289 MB / 0.6306 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5427, allocations: 3.953 kB / 0.6307 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.5433, allocations: 481.6 kB / 0.6311 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.5434, allocations: 119.6 kB / 0.6312 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.5434, allocations: 3.562 kB / 0.6312 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.5436, allocations: 23.3 kB / 0.6313 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.5437, allocations: 19.28 kB / 0.6313 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.5437, allocations: 11.19 kB / 0.6313 GB, free: 5.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002741/0.544, allocations: 268.1 kB / 0.6315 GB, free: 5.723 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.544, allocations: 0 / 0.6315 GB, free: 5.723 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005531/0.5445, allocations: 160 kB / 0.6317 GB, free: 5.582 MB / 426.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 () * 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.0009485/0.5455, allocations: 1.213 MB / 0.6329 GB, free: 4.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007514/0.5463, allocations: 0.556 MB / 0.6334 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5463, allocations: 0 / 0.6334 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.5465, allocations: 210.9 kB / 0.6336 GB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.5469, allocations: 70.17 kB / 0.6337 GB, free: 3.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.5485, allocations: 0.8486 MB / 0.6345 GB, free: 2.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.5488, allocations: 0.8469 MB / 0.6353 GB, free: 2.023 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.5491, allocations: 59.23 kB / 0.6354 GB, free: 1.961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.5492, allocations: 162 kB / 0.6356 GB, free: 1.918 MB / 426.7 MB Notification: Performance of SimCode: time 4e-07/0.5492, allocations: 4 kB / 0.6356 GB, free: 1.914 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.5724, allocations: 9.407 MB / 0.6447 GB, free: 8.691 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.5726, allocations: 178.4 kB / 0.6449 GB, free: 8.473 MB / 442.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled.o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_functions.o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_records.o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_records.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_records.c:317:15: error: no member named '_RA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp4 = ths->_RA; ~~~ ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_records.c:318:15: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp5 = ths->_Tsub; ~~~ ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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) / tmp3), (ths->_LA) / tmp4, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp5), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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_CurrentControlled_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) / tmp3), (ths->_LA) / tmp4, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp5), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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_CurrentControlled_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) / tmp3), (ths->_LA) / tmp4, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp5), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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_CurrentControlled_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) / tmp3), (ths->_LA) / tmp4, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp5), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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_CurrentControlled_records.c:382:15: error: no member named '_RA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp8 = ths->_RA; ~~~ ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_records.c:383:15: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp9 = ths->_Tsub; ~~~ ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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) / tmp7), (ths->_LA) / tmp8, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp9), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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_CurrentControlled_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) / tmp7), (ths->_LA) / tmp8, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp9), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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_CurrentControlled_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) / tmp7), (ths->_LA) / tmp8, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp9), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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_CurrentControlled_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) / tmp7), (ths->_LA) / tmp8, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp9), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_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) ^~~~~~ 2 warnings and 12 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled_records.o] Error 1