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: "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.2 MB / 245 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000951/0.0009509, allocations: 94.77 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4153/0.4153, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 8 kB / 468.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3987, allocations: 63.25 MB / 0.5193 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.5483, allocations: 98.47 MB / 0.6154 GB, free: 4.887 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5486, allocations: 83.92 kB / 0.6155 GB, free: 4.809 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03905/0.5877, allocations: 13.68 MB / 0.6289 GB, free: 7.062 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5878, allocations: 0 / 0.6289 GB, free: 7.062 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.988e-05/0.5878, allocations: 23.98 kB / 0.6289 GB, free: 7.039 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.002256/0.5901, allocations: 0.923 MB / 0.6298 GB, free: 6.066 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.5902, allocations: 8.031 kB / 0.6298 GB, free: 6.059 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002294/0.5904, allocations: 106.5 kB / 0.6299 GB, free: 5.945 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.5907, allocations: 83.02 kB / 0.63 GB, free: 5.863 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.5917, allocations: 489.8 kB / 0.6305 GB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.5918, allocations: 49.31 kB / 0.6305 GB, free: 5.297 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5919, allocations: 60 kB / 0.6306 GB, free: 5.238 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.5934, allocations: 0.6028 MB / 0.6311 GB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.5935, allocations: 4 kB / 0.6311 GB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.5935, allocations: 24 kB / 0.6312 GB, free: 4.586 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.5936, allocations: 16 kB / 0.6312 GB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.5948, allocations: 441 kB / 0.6316 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004427/0.5992, allocations: 2.199 MB / 0.6338 GB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.6006, allocations: 0.6149 MB / 0.6344 GB, free: 1.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.6006, allocations: 7.938 kB / 0.6344 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.6007, allocations: 38.56 kB / 0.6344 GB, free: 1.125 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.6007, allocations: 3.938 kB / 0.6344 GB, free: 1.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002478/0.6032, allocations: 1.196 MB / 0.6356 GB, free: 15.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6032, allocations: 55.41 kB / 0.6356 GB, free: 15.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.6039, allocations: 466 kB / 0.6361 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.6039, allocations: 33.7 kB / 0.6361 GB, free: 15.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.6042, allocations: 344.1 kB / 0.6364 GB, free: 14.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.6043, allocations: 126.2 kB / 0.6365 GB, free: 14.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.6043, allocations: 4 kB / 0.6366 GB, free: 14.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.6045, allocations: 366.8 kB / 0.6369 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.6049, allocations: 144.8 kB / 0.637 GB, free: 14.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.6052, allocations: 232.9 kB / 0.6373 GB, free: 14.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.6056, allocations: 172.5 kB / 0.6374 GB, free: 13.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6056, allocations: 4 kB / 0.6374 GB, free: 13.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009303/0.6065, allocations: 497.4 kB / 0.6379 GB, free: 13.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004309/0.607, allocations: 0.8795 MB / 0.6388 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.607, allocations: 4 kB / 0.6388 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.6072, allocations: 24.84 kB / 0.6388 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.6076, allocations: 107.9 kB / 0.6389 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.6087, allocations: 1.291 MB / 0.6402 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.609, allocations: 32.05 kB / 0.6402 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.6091, allocations: 16 kB / 0.6402 GB, free: 10.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.6091, allocations: 4 kB / 0.6402 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006872/0.6098, allocations: 364.2 kB / 0.6406 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.6098, allocations: 0 / 0.6406 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.914e-05/0.6099, allocations: 28.84 kB / 0.6406 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.6103, allocations: 104.1 kB / 0.6407 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009651/0.6112, allocations: 1.284 MB / 0.6419 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.6116, allocations: 24.05 kB / 0.642 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.6116, allocations: 16 kB / 0.642 GB, free: 8.875 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.0003476/0.6119, allocations: 257.1 kB / 0.6422 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/0.6121, allocations: 55.34 kB / 0.6423 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.6122, allocations: 57.22 kB / 0.6423 GB, free: 8.504 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6122, allocations: 7.953 kB / 0.6423 GB, free: 8.496 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6122, allocations: 0 / 0.6423 GB, free: 8.496 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6122, allocations: 7.938 kB / 0.6423 GB, free: 8.488 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.6141, allocations: 1.082 MB / 0.6434 GB, free: 7.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.6141, allocations: 4.062 kB / 0.6434 GB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.6145, allocations: 75.89 kB / 0.6435 GB, free: 7.262 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.202e-05/0.6146, allocations: 28.78 kB / 0.6435 GB, free: 7.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.6146, allocations: 8 kB / 0.6435 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009802/0.6156, allocations: 1.289 MB / 0.6448 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.6156, allocations: 3.938 kB / 0.6448 GB, free: 5.797 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.6167, allocations: 0.6814 MB / 0.6454 GB, free: 5.078 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.6169, allocations: 132.4 kB / 0.6456 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.6169, allocations: 12 kB / 0.6456 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.6172, allocations: 39.92 kB / 0.6456 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.6173, allocations: 23.91 kB / 0.6456 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.6174, allocations: 8 kB / 0.6456 GB, free: 4.848 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004711/0.6178, allocations: 366.8 kB / 0.646 GB, free: 4.492 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6178, allocations: 0 / 0.646 GB, free: 4.492 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007447/0.6186, allocations: 195.9 kB / 0.6462 GB, free: 4.301 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.001754/0.6204, allocations: 1.45 MB / 0.6476 GB, free: 2.805 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.6218, allocations: 0.7594 MB / 0.6483 GB, free: 2.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6218, allocations: 128 / 0.6483 GB, free: 2.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.6223, allocations: 286.6 kB / 0.6486 GB, free: 1.727 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.6229, allocations: 95.66 kB / 0.6487 GB, free: 1.637 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/0.6297, allocations: 4.957 MB / 0.6535 GB, free: 12.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.6302, allocations: 0.9058 MB / 0.6544 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.6305, allocations: 64.38 kB / 0.6545 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.6309, allocations: 231.4 kB / 0.6547 GB, free: 11.35 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6309, allocations: 0 / 0.6547 GB, free: 11.35 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.6621, allocations: 11.49 MB / 0.6659 GB, free: 52 kB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.6624, allocations: 217.7 kB / 0.6661 GB, free: 15.8 MB / 490.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled.o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:279:15: error: no member named '_RA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp4 = 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' tmp5 = 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) / 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_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) / 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_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) / 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_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) / 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_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' tmp8 = 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' tmp9 = 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) / 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_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) / 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_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) / 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_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) / 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_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) ^~~~~~ 2 warnings and 12 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.o] Error 1