Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.928/1.928, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09472, allocations: 44.51 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5442, allocations: 109.1 MB / 418.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.5446, allocations: 102.1 kB / 418.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3986/0.9432, allocations: 82.67 MB / 0.4891 GB, free: 3.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9432, allocations: 0 / 0.4891 GB, free: 3.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002602/0.9435, allocations: 67.94 kB / 0.4892 GB, free: 3.594 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.01232/0.9559, allocations: 2.973 MB / 0.4921 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.9559, allocations: 8.031 kB / 0.4921 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.9589, allocations: 420 kB / 0.4925 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007342/0.9663, allocations: 1.834 MB / 0.4943 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.9667, allocations: 189.4 kB / 0.4944 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/0.9678, allocations: 247.9 kB / 0.4947 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009951/0.9778, allocations: 3.246 MB / 0.4979 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.9779, allocations: 3.938 kB / 0.4979 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004021/0.9784, allocations: 112 kB / 0.498 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/0.9785, allocations: 108.9 kB / 0.4981 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008552/0.9871, allocations: 2.569 MB / 0.5006 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/1.015, allocations: 10.43 MB / 0.5108 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/1.019, allocations: 1.805 MB / 0.5125 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005127/1.02, allocations: 215.2 kB / 0.5127 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.02, allocations: 59.48 kB / 0.5128 GB, free: 10.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 4.078e-06/1.02, allocations: 0 / 0.5128 GB, free: 10.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=142): time 0.03653/1.057, allocations: 8.842 MB / 0.5214 GB, free: 1.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/1.057, allocations: 64.72 kB / 0.5215 GB, free: 1.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.267/1.324, allocations: 1.839 MB / 0.5233 GB, free: 97.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003713/1.324, allocations: 51.27 kB / 0.5233 GB, free: 97.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009582/1.325, allocations: 1.169 MB / 0.5245 GB, free: 96.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/1.326, allocations: 497.5 kB / 0.5249 GB, free: 96.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.326, allocations: 37.53 kB / 0.525 GB, free: 96.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/1.326, allocations: 375.8 kB / 0.5253 GB, free: 96.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/1.328, allocations: 0.875 MB / 0.5262 GB, free: 96.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/1.331, allocations: 1.355 MB / 0.5275 GB, free: 95.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/1.334, allocations: 1.079 MB / 0.5286 GB, free: 95.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/1.334, allocations: 4.844 kB / 0.5286 GB, free: 95.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009052/1.343, allocations: 2.853 MB / 0.5314 GB, free: 95.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/1.343, allocations: 15.28 kB / 0.5314 GB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.006e-05/1.343, allocations: 16.34 kB / 0.5314 GB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/1.346, allocations: 0.5912 MB / 0.532 GB, free: 95.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/1.349, allocations: 408 kB / 0.5324 GB, free: 95.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.361, allocations: 5.671 MB / 0.5379 GB, free: 94.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/1.364, allocations: 136.9 kB / 0.538 GB, free: 94.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/1.364, allocations: 73.75 kB / 0.5381 GB, free: 94.29 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.002108/1.366, allocations: 0.8002 MB / 0.5389 GB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006706/1.367, allocations: 196.4 kB / 0.5391 GB, free: 94.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/1.374, allocations: 2.634 MB / 0.5416 GB, free: 93.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/1.375, allocations: 18.28 kB / 0.5417 GB, free: 93.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.375, allocations: 7.656 kB / 0.5417 GB, free: 93.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/1.375, allocations: 10.56 kB / 0.5417 GB, free: 93.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.39, allocations: 5.488 MB / 0.547 GB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/1.39, allocations: 6.375 kB / 0.547 GB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/1.392, allocations: 244.5 kB / 0.5473 GB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/1.394, allocations: 0.6555 MB / 0.5479 GB, free: 93.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/1.395, allocations: 40.7 kB / 0.5479 GB, free: 93.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/1.407, allocations: 7.385 MB / 0.5552 GB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.408, allocations: 9.703 kB / 0.5552 GB, free: 90.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009457/1.417, allocations: 3.844 MB / 0.5589 GB, free: 89.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.418, allocations: 460.4 kB / 0.5594 GB, free: 88.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004936/1.419, allocations: 37.75 kB / 0.5594 GB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/1.421, allocations: 112.3 kB / 0.5595 GB, free: 88.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/1.421, allocations: 114.4 kB / 0.5596 GB, free: 88.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.422, allocations: 45.95 kB / 0.5597 GB, free: 88.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002528/1.424, allocations: 1.267 MB / 0.5609 GB, free: 88.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.424, allocations: 3.594 kB / 0.5609 GB, free: 88.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002781/1.427, allocations: 0.6316 MB / 0.5615 GB, free: 88.31 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.0007485/1.428, allocations: 338.1 kB / 0.5618 GB, free: 88.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006446/1.434, allocations: 2.615 MB / 0.5644 GB, free: 87.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.434, allocations: 0 / 0.5644 GB, free: 87.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004221/1.438, allocations: 1.632 MB / 0.566 GB, free: 86.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/1.441, allocations: 413 kB / 0.5664 GB, free: 86.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/1.453, allocations: 6.148 MB / 0.5724 GB, free: 83.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/1.455, allocations: 2.047 MB / 0.5744 GB, free: 82.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000981/1.456, allocations: 133 kB / 0.5745 GB, free: 82.2 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/1.456, allocations: 7.906 kB / 0.5745 GB, free: 82.19 MB / 410.7 MB Notification: Performance of Templates: time 0.08542/1.542, allocations: 56.24 MB / 0.6294 GB, free: 49.69 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=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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'