Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002211/0.002211, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.947/1.947, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001045/0.001045, allocations: 86.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.061e-05, allocations: 8 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.0932, allocations: 47.56 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.5483, allocations: 114.5 MB / 483.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5487, allocations: 85.31 kB / 483.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6737/1.222, allocations: 86.04 MB / 0.5563 GB, free: 93.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/1.222, allocations: 0 / 0.5563 GB, free: 93.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002925/1.223, allocations: 72.53 kB / 0.5564 GB, free: 93.37 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.009553/1.232, allocations: 2.78 MB / 0.5591 GB, free: 92.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.232, allocations: 10.91 kB / 0.5591 GB, free: 92.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/1.235, allocations: 443.5 kB / 0.5595 GB, free: 92.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006023/1.241, allocations: 1.949 MB / 0.5614 GB, free: 91.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/1.241, allocations: 202.9 kB / 0.5616 GB, free: 91.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008308/1.242, allocations: 267.6 kB / 0.5619 GB, free: 91.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008737/1.251, allocations: 3.405 MB / 0.5652 GB, free: 91.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/1.251, allocations: 9.656 kB / 0.5652 GB, free: 91.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004083/1.252, allocations: 114.2 kB / 0.5653 GB, free: 91.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/1.252, allocations: 119.2 kB / 0.5655 GB, free: 91.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007587/1.259, allocations: 2.696 MB / 0.5681 GB, free: 90.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02664/1.286, allocations: 11.25 MB / 0.5791 GB, free: 85.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003785/1.29, allocations: 2.264 MB / 0.5813 GB, free: 83.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/1.292, allocations: 0.9827 MB / 0.5822 GB, free: 83.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004659/1.292, allocations: 222.3 kB / 0.5825 GB, free: 83.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.292, allocations: 51.78 kB / 0.5825 GB, free: 83.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 4.018e-06/1.293, allocations: 0 / 0.5825 GB, free: 83.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.02575/1.318, allocations: 7.188 MB / 0.5895 GB, free: 80.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.318, allocations: 76.02 kB / 0.5896 GB, free: 80.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/1.322, allocations: 1.718 MB / 0.5913 GB, free: 79.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003875/1.323, allocations: 49.67 kB / 0.5913 GB, free: 79.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008164/1.323, allocations: 1.23 MB / 0.5925 GB, free: 78.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000563/1.324, allocations: 0.5329 MB / 0.593 GB, free: 78.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/1.324, allocations: 35.81 kB / 0.5931 GB, free: 78.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/1.324, allocations: 378.6 kB / 0.5934 GB, free: 77.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/1.326, allocations: 0.878 MB / 0.5943 GB, free: 77.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/1.328, allocations: 1.335 MB / 0.5956 GB, free: 76.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/1.331, allocations: 1.094 MB / 0.5967 GB, free: 76.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/1.331, allocations: 3.938 kB / 0.5967 GB, free: 76.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.0071/1.338, allocations: 2.887 MB / 0.5995 GB, free: 75.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/1.338, allocations: 10.38 kB / 0.5995 GB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.644e-05/1.338, allocations: 20 kB / 0.5995 GB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/1.341, allocations: 0.6306 MB / 0.6001 GB, free: 75.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/1.344, allocations: 437 kB / 0.6006 GB, free: 74.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/1.355, allocations: 5.718 MB / 0.6061 GB, free: 69.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/1.358, allocations: 125.3 kB / 0.6063 GB, free: 69.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/1.358, allocations: 75.94 kB / 0.6063 GB, free: 69.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * 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%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004568/1.359, allocations: 214.5 kB / 0.6065 GB, free: 69.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006169/1.359, allocations: 217.3 kB / 0.6067 GB, free: 69.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006919/1.366, allocations: 2.712 MB / 0.6094 GB, free: 67.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/1.366, allocations: 12 kB / 0.6094 GB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.366, allocations: 8 kB / 0.6094 GB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/1.366, allocations: 6.844 kB / 0.6094 GB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.381, allocations: 5.74 MB / 0.615 GB, free: 62.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/1.381, allocations: 7.703 kB / 0.615 GB, free: 62.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/1.383, allocations: 287.1 kB / 0.6153 GB, free: 62.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/1.386, allocations: 0.6875 MB / 0.616 GB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/1.386, allocations: 39.47 kB / 0.616 GB, free: 61.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.399, allocations: 7.427 MB / 0.6233 GB, free: 54.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.4, allocations: 0 / 0.6233 GB, free: 54.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009131/1.409, allocations: 4.106 MB / 0.6273 GB, free: 50.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.41, allocations: 0.4923 MB / 0.6278 GB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/1.411, allocations: 35.19 kB / 0.6278 GB, free: 50.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.413, allocations: 116 kB / 0.6279 GB, free: 50.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/1.414, allocations: 131.2 kB / 0.628 GB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.414, allocations: 51.78 kB / 0.6281 GB, free: 50.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002789/1.416, allocations: 1.316 MB / 0.6294 GB, free: 48.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.416, allocations: 0 / 0.6294 GB, free: 48.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003215/1.42, allocations: 0.6751 MB / 0.63 GB, free: 48.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 117 * 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,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008483/1.421, allocations: 335.6 kB / 0.6303 GB, free: 48.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006142/1.427, allocations: 2.66 MB / 0.6329 GB, free: 45.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.427, allocations: 384 / 0.6329 GB, free: 45.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004184/1.431, allocations: 1.676 MB / 0.6346 GB, free: 43.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/1.435, allocations: 466 kB / 0.635 GB, free: 43.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/1.447, allocations: 4.676 MB / 0.6396 GB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/1.449, allocations: 2.175 MB / 0.6417 GB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.45, allocations: 143.4 kB / 0.6418 GB, free: 36.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.45, allocations: 0 / 0.6418 GB, free: 36.37 MB / 410.7 MB Notification: Performance of Templates: time 0.3878/1.838, allocations: 60.6 MB / 0.701 GB, free: 105.7 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLFunctions.cpp:278:34: error: use of undeclared identifier \'D_24tmpVar12_\'; did you mean \'D_24tmpVar13_\'?\n D_24tmpVar13_ = std::cos(D_24tmpVar12_);\n ^~~~~~~~~~~~~\n D_24tmpVar13_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLFunctions.cpp:255:12: note: \'D_24tmpVar13_\' declared here\n double D_24tmpVar13_;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLFunctions.cpp:315:34: error: use of undeclared identifier \'D_24tmpVar15_\'; did you mean \'D_24tmpVar16_\'?\n D_24tmpVar16_ = std::sin(D_24tmpVar15_);\n ^~~~~~~~~~~~~\n D_24tmpVar16_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLFunctions.cpp:292:12: note: \'D_24tmpVar16_\' declared here\n double D_24tmpVar16_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.o] Error 1\n'