Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 188.3 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001105, allocations: 85.8 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003947, allocations: 11.98 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3325, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.5052, allocations: 109.1 MB / 483.7 MB, free: 3.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/0.5056, allocations: 91.95 kB / 483.7 MB, free: 3.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4807/0.9863, allocations: 51.98 MB / 0.5232 GB, free: 93.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.9863, allocations: 0 / 0.5232 GB, free: 93.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002514/0.9866, allocations: 58.33 kB / 0.5232 GB, free: 93.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009682/0.9963, allocations: 2.76 MB / 0.5259 GB, free: 90.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.9964, allocations: 8.031 kB / 0.5259 GB, free: 90.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.9982, allocations: 328.3 kB / 0.5262 GB, free: 90.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005756/1.004, allocations: 1.783 MB / 0.528 GB, free: 88.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/1.004, allocations: 148 kB / 0.5281 GB, free: 88.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009459/1.005, allocations: 214.4 kB / 0.5283 GB, free: 88.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007133/1.012, allocations: 2.679 MB / 0.5309 GB, free: 85.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/1.013, allocations: 11.84 kB / 0.531 GB, free: 85.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/1.013, allocations: 91.19 kB / 0.531 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/1.013, allocations: 83.94 kB / 0.5311 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007228/1.02, allocations: 2.186 MB / 0.5333 GB, free: 82.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/1.042, allocations: 8.319 MB / 0.5414 GB, free: 74.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004823/1.047, allocations: 1.676 MB / 0.543 GB, free: 72.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004668/1.047, allocations: 141.4 kB / 0.5431 GB, free: 72.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.047, allocations: 55.5 kB / 0.5432 GB, free: 72.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 3.887e-06/1.047, allocations: 3.938 kB / 0.5432 GB, free: 72.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.02326/1.071, allocations: 6.666 MB / 0.5497 GB, free: 65.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/1.071, allocations: 68.72 kB / 0.5498 GB, free: 65.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/1.075, allocations: 1.897 MB / 0.5516 GB, free: 63.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003575/1.075, allocations: 45.7 kB / 0.5517 GB, free: 63.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007356/1.076, allocations: 1.004 MB / 0.5527 GB, free: 62.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006519/1.077, allocations: 458.2 kB / 0.5531 GB, free: 62.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/1.077, allocations: 28 kB / 0.5531 GB, free: 62.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/1.077, allocations: 370.8 kB / 0.5535 GB, free: 61.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/1.079, allocations: 0.7652 MB / 0.5542 GB, free: 61.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/1.081, allocations: 1.021 MB / 0.5552 GB, free: 59.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/1.083, allocations: 0.9043 MB / 0.5561 GB, free: 59.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.083, allocations: 4 kB / 0.5561 GB, free: 59.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.007856/1.091, allocations: 2.692 MB / 0.5587 GB, free: 56.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/1.091, allocations: 8.938 kB / 0.5587 GB, free: 56.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/1.091, allocations: 8 kB / 0.5588 GB, free: 56.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003594/1.095, allocations: 0.8463 MB / 0.5596 GB, free: 55.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/1.097, allocations: 267.6 kB / 0.5598 GB, free: 55.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/1.115, allocations: 9.659 MB / 0.5693 GB, free: 45.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/1.118, allocations: 104.3 kB / 0.5694 GB, free: 45.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/1.118, allocations: 47.98 kB / 0.5694 GB, free: 45.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001982/1.12, allocations: 0.7472 MB / 0.5701 GB, free: 44.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007031/1.121, allocations: 197.6 kB / 0.5703 GB, free: 44.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007512/1.128, allocations: 2.606 MB / 0.5729 GB, free: 41.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.128, allocations: 12 kB / 0.5729 GB, free: 41.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.128, allocations: 8 kB / 0.5729 GB, free: 41.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/1.128, allocations: 11.97 kB / 0.5729 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/1.142, allocations: 5.089 MB / 0.5779 GB, free: 36.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/1.142, allocations: 7.938 kB / 0.5779 GB, free: 36.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/1.144, allocations: 219.9 kB / 0.5781 GB, free: 36.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003218/1.147, allocations: 0.7106 MB / 0.5788 GB, free: 35.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/1.148, allocations: 31.98 kB / 0.5788 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/1.161, allocations: 8.691 MB / 0.5873 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.161, allocations: 4.031 kB / 0.5873 GB, free: 26.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009522/1.171, allocations: 3.724 MB / 0.5909 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.172, allocations: 478.5 kB / 0.5914 GB, free: 21.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/1.173, allocations: 28 kB / 0.5914 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/1.174, allocations: 95.89 kB / 0.5915 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/1.175, allocations: 109.1 kB / 0.5916 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.175, allocations: 39.98 kB / 0.5917 GB, free: 21.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00292/1.178, allocations: 1.472 MB / 0.5931 GB, free: 20.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.178, allocations: 4 kB / 0.5931 GB, free: 20.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003104/1.181, allocations: 0.5936 MB / 0.5937 GB, free: 19.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/1.183, allocations: 0.6104 MB / 0.5943 GB, free: 19.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006666/1.189, allocations: 2.522 MB / 0.5967 GB, free: 16.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.19, allocations: 0 / 0.5967 GB, free: 16.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004196/1.194, allocations: 1.742 MB / 0.5984 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/1.197, allocations: 415 kB / 0.5988 GB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.209, allocations: 6.135 MB / 0.6048 GB, free: 8.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/1.211, allocations: 1.986 MB / 0.6068 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009359/1.212, allocations: 143.3 kB / 0.6069 GB, free: 5.887 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/1.212, allocations: 4 kB / 0.6069 GB, free: 5.883 MB / 378.7 MB Notification: Performance of Templates: time 0.3921/1.604, allocations: 61.82 MB / 0.6673 GB, free: 110.1 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesFunctions.cpp:449:38: error: use of undeclared identifier \'_omcQ_24tmpVar12_\'; did you mean \'_omcQ_24tmpVar13_\'?\n _omcQ_24tmpVar13_ = std::cos(_omcQ_24tmpVar12_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar13_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesFunctions.cpp:426:12: note: \'_omcQ_24tmpVar13_\' declared here\n double _omcQ_24tmpVar13_;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesFunctions.cpp:486:38: error: use of undeclared identifier \'_omcQ_24tmpVar15_\'; did you mean \'_omcQ_24tmpVar16_\'?\n _omcQ_24tmpVar16_ = std::sin(_omcQ_24tmpVar15_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar16_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesFunctions.cpp:463:12: note: \'_omcQ_24tmpVar16_\' declared here\n double _omcQ_24tmpVar16_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.o] Error 1\n'