Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.725/1.725, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.07872, allocations: 44.5 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4456, allocations: 109.1 MB / 417.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4459, allocations: 93.33 kB / 417.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3511/0.797, allocations: 82.68 MB / 0.4886 GB, free: 5.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.779e-06/0.797, allocations: 0 / 0.4886 GB, free: 5.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002512/0.7973, allocations: 67.94 kB / 0.4887 GB, free: 5.496 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.009317/0.8066, allocations: 2.966 MB / 0.4916 GB, free: 2.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8067, allocations: 8.031 kB / 0.4916 GB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.8091, allocations: 420 kB / 0.492 GB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005706/0.8148, allocations: 1.834 MB / 0.4938 GB, free: 156 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/0.8152, allocations: 189.4 kB / 0.4939 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008843/0.8161, allocations: 251.8 kB / 0.4942 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009044/0.8251, allocations: 3.218 MB / 0.4973 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.8253, allocations: 7.984 kB / 0.4973 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003827/0.8257, allocations: 104 kB / 0.4974 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.8259, allocations: 112.9 kB / 0.4975 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007694/0.8336, allocations: 2.573 MB / 0.5 GB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03317/0.8668, allocations: 10.43 MB / 0.5102 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006666/0.8735, allocations: 1.812 MB / 0.512 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007725/0.8743, allocations: 219.1 kB / 0.5122 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.001e-05/0.8745, allocations: 44.12 kB / 0.5122 GB, free: 12.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 1.238e-05/0.8745, allocations: 0 / 0.5122 GB, free: 12.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=142): time 0.05321/0.9277, allocations: 8.849 MB / 0.5209 GB, free: 3.555 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.9279, allocations: 64.72 kB / 0.521 GB, free: 3.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007008/0.9349, allocations: 1.644 MB / 0.5226 GB, free: 1.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005104/0.9355, allocations: 53.7 kB / 0.5226 GB, free: 1.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/0.9378, allocations: 1.174 MB / 0.5238 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.9388, allocations: 488.9 kB / 0.5242 GB, free: 112 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.939, allocations: 36 kB / 0.5243 GB, free: 76 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2231/1.162, allocations: 375.8 kB / 0.5246 GB, free: 96.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/1.164, allocations: 0.8702 MB / 0.5255 GB, free: 96.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/1.167, allocations: 1.359 MB / 0.5268 GB, free: 96.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/1.169, allocations: 1.073 MB / 0.5278 GB, free: 96.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.169, allocations: 9.891 kB / 0.5278 GB, free: 96.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.006912/1.176, allocations: 2.846 MB / 0.5306 GB, free: 96.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/1.176, allocations: 11.28 kB / 0.5306 GB, free: 96.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.386e-05/1.176, allocations: 16.28 kB / 0.5307 GB, free: 96.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/1.178, allocations: 0.5964 MB / 0.5312 GB, free: 96.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/1.18, allocations: 406.3 kB / 0.5316 GB, free: 96.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.191, allocations: 5.672 MB / 0.5372 GB, free: 94.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/1.193, allocations: 136.5 kB / 0.5373 GB, free: 94.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/1.193, allocations: 79.23 kB / 0.5374 GB, free: 94.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (186): * Single equations (assignments): 182 * 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: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001854/1.195, allocations: 0.7881 MB / 0.5381 GB, free: 94.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005801/1.196, allocations: 194.9 kB / 0.5383 GB, free: 94.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/1.202, allocations: 2.637 MB / 0.5409 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/1.202, allocations: 16.44 kB / 0.5409 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/1.202, allocations: 5.344 kB / 0.5409 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/1.202, allocations: 6.797 kB / 0.5409 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/1.215, allocations: 5.494 MB / 0.5463 GB, free: 93.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/1.215, allocations: 11.06 kB / 0.5463 GB, free: 93.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.217, allocations: 246.6 kB / 0.5465 GB, free: 93.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00243/1.219, allocations: 0.6482 MB / 0.5472 GB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/1.22, allocations: 40.67 kB / 0.5472 GB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.231, allocations: 7.389 MB / 0.5544 GB, free: 91.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.163e-06/1.231, allocations: 6.219 kB / 0.5544 GB, free: 91.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008237/1.239, allocations: 4.058 MB / 0.5584 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.241, allocations: 462.3 kB / 0.5588 GB, free: 89.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005189/1.241, allocations: 36.97 kB / 0.5589 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.243, allocations: 120 kB / 0.559 GB, free: 89.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/1.243, allocations: 114.5 kB / 0.5591 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.243, allocations: 41.86 kB / 0.5591 GB, free: 89.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002298/1.246, allocations: 1.263 MB / 0.5604 GB, free: 88.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.687e-06/1.246, allocations: 0 / 0.5604 GB, free: 88.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002609/1.248, allocations: 0.6398 MB / 0.561 GB, free: 88.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (109): * Single equations (assignments): 105 * 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 {(6,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006185/1.249, allocations: 331 kB / 0.5613 GB, free: 88.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005194/1.254, allocations: 2.619 MB / 0.5639 GB, free: 87.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.097e-06/1.254, allocations: 0 / 0.5639 GB, free: 87.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003542/1.258, allocations: 1.628 MB / 0.5655 GB, free: 87.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/1.26, allocations: 411.1 kB / 0.5658 GB, free: 86.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009782/1.27, allocations: 6.153 MB / 0.5719 GB, free: 83.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/1.272, allocations: 2.043 MB / 0.5739 GB, free: 82.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00079/1.273, allocations: 137.8 kB / 0.574 GB, free: 82.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.802e-06/1.273, allocations: 4 kB / 0.574 GB, free: 82.8 MB / 410.7 MB Notification: Performance of Templates: time 0.06997/1.343, allocations: 56.24 MB / 0.6289 GB, free: 50.57 MB / 410.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:278:38: error: use of undeclared identifier \'_omcQ_24tmpVar10_\'; did you mean \'_omcQ_24tmpVar11_\'?\n _omcQ_24tmpVar11_ = std::cos(_omcQ_24tmpVar10_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar11_\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:255:12: note: \'_omcQ_24tmpVar11_\' declared here\n double _omcQ_24tmpVar11_;\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:315:38: error: use of undeclared identifier \'_omcQ_24tmpVar13_\'; did you mean \'_omcQ_24tmpVar14_\'?\n _omcQ_24tmpVar14_ = std::sin(_omcQ_24tmpVar13_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar14_\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:292:12: note: \'_omcQ_24tmpVar14_\' declared here\n double _omcQ_24tmpVar14_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o] Error 1\n'