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.001212/0.001212, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.2 MB / 245 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001183, allocations: 97.84 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4503/0.4503, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003109, allocations: 8 kB / 468.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5084, allocations: 63.25 MB / 0.5193 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.6625, allocations: 98.28 MB / 0.6152 GB, free: 5.137 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.6628, allocations: 75.92 kB / 0.6153 GB, free: 5.066 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03258/0.6954, allocations: 10.94 MB / 0.626 GB, free: 10.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6955, allocations: 448 / 0.626 GB, free: 10.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.181e-05/0.6955, allocations: 12 kB / 0.626 GB, free: 10.06 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001712/0.6972, allocations: 0.7558 MB / 0.6268 GB, free: 9.254 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.6973, allocations: 16.02 kB / 0.6268 GB, free: 9.238 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.6975, allocations: 82.53 kB / 0.6269 GB, free: 9.148 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.6977, allocations: 63.25 kB / 0.6269 GB, free: 9.086 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.6985, allocations: 399.5 kB / 0.6273 GB, free: 8.656 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.6986, allocations: 37 kB / 0.6273 GB, free: 8.621 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/0.6986, allocations: 48 kB / 0.6274 GB, free: 8.574 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.6995, allocations: 454.9 kB / 0.6278 GB, free: 8.113 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.6995, allocations: 4 kB / 0.6278 GB, free: 8.109 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.6996, allocations: 23.94 kB / 0.6278 GB, free: 8.086 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.6996, allocations: 12 kB / 0.6278 GB, free: 8.074 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/0.7003, allocations: 315.8 kB / 0.6281 GB, free: 7.766 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.7031, allocations: 1.708 MB / 0.6298 GB, free: 5.961 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.704, allocations: 419.5 kB / 0.6302 GB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.704, allocations: 0 / 0.6302 GB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.7041, allocations: 42.5 kB / 0.6303 GB, free: 5.473 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.7041, allocations: 0 / 0.6303 GB, free: 5.473 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001808/0.7059, allocations: 0.9274 MB / 0.6312 GB, free: 4.473 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.706, allocations: 51.41 kB / 0.6312 GB, free: 4.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.7065, allocations: 356.9 kB / 0.6316 GB, free: 4.062 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.7065, allocations: 29.7 kB / 0.6316 GB, free: 4.027 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.7068, allocations: 271.8 kB / 0.6318 GB, free: 3.754 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.7069, allocations: 94.66 kB / 0.6319 GB, free: 3.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.707, allocations: 4 kB / 0.6319 GB, free: 3.656 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.7072, allocations: 350.8 kB / 0.6323 GB, free: 3.305 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.7074, allocations: 99.95 kB / 0.6324 GB, free: 3.207 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.7077, allocations: 159.1 kB / 0.6325 GB, free: 3.027 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.708, allocations: 112 kB / 0.6326 GB, free: 2.918 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.708, allocations: 3.938 kB / 0.6326 GB, free: 2.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007324/0.7087, allocations: 358.8 kB / 0.633 GB, free: 2.555 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.7091, allocations: 0.7071 MB / 0.6337 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7091, allocations: 4 kB / 0.6337 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.7092, allocations: 20.86 kB / 0.6337 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.7096, allocations: 75.89 kB / 0.6338 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.7107, allocations: 1.276 MB / 0.635 GB, free: 288 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.7109, allocations: 20.02 kB / 0.635 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.711, allocations: 12 kB / 0.635 GB, free: 256 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.711, allocations: 10.91 kB / 0.635 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005183/0.7115, allocations: 272.9 kB / 0.6353 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7115, allocations: 0 / 0.6353 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.585e-05/0.7116, allocations: 24.84 kB / 0.6353 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.7119, allocations: 67.91 kB / 0.6354 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009982/0.7129, allocations: 1.288 MB / 0.6366 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.7131, allocations: 8 kB / 0.6367 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.7132, allocations: 12 kB / 0.6367 GB, free: 14.43 MB / 458.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 () * Number of clocked 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.0003209/0.7135, allocations: 253.2 kB / 0.6369 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.7136, allocations: 35.53 kB / 0.6369 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.861e-05/0.7137, allocations: 47.52 kB / 0.637 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7137, allocations: 4.094 kB / 0.637 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.7137, allocations: 3.938 kB / 0.637 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7137, allocations: 0 / 0.637 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.7153, allocations: 0.8638 MB / 0.6378 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.7153, allocations: 0 / 0.6378 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.7156, allocations: 59.97 kB / 0.6379 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.468e-05/0.7157, allocations: 20.84 kB / 0.6379 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.7157, allocations: 8 kB / 0.6379 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.7167, allocations: 1.284 MB / 0.6392 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.7168, allocations: 11.97 kB / 0.6392 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/0.7176, allocations: 0.5056 MB / 0.6397 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.7177, allocations: 124.6 kB / 0.6398 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.7177, allocations: 4 kB / 0.6398 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.718, allocations: 19.98 kB / 0.6398 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.718, allocations: 19.97 kB / 0.6398 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.7181, allocations: 12 kB / 0.6399 GB, free: 10.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003541/0.7184, allocations: 283.1 kB / 0.6401 GB, free: 10.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7184, allocations: 0 / 0.6401 GB, free: 10.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006952/0.7191, allocations: 156 kB / 0.6403 GB, free: 10.47 MB / 458.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 () * Number of clocked 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.001399/0.7206, allocations: 1.275 MB / 0.6415 GB, free: 9.152 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.7217, allocations: 0.6046 MB / 0.6421 GB, free: 8.523 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7217, allocations: 0 / 0.6421 GB, free: 8.523 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.7221, allocations: 234.5 kB / 0.6423 GB, free: 8.281 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.7226, allocations: 71.05 kB / 0.6424 GB, free: 8.215 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.7278, allocations: 3.744 MB / 0.6461 GB, free: 4.379 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.7284, allocations: 0.8466 MB / 0.6469 GB, free: 3.504 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.7286, allocations: 55.17 kB / 0.6469 GB, free: 3.449 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.7288, allocations: 163.3 kB / 0.6471 GB, free: 3.289 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.7289, allocations: 0 / 0.6471 GB, free: 3.289 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.7554, allocations: 8.876 MB / 0.6558 GB, free: 10.61 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.7556, allocations: 217.5 kB / 0.656 GB, free: 10.36 MB / 474.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_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: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_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: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_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: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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_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_CurrentControlled_records.o] Error 1