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.001586/0.001585, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.906/1.906, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001157/0.001157, allocations: 96.36 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 12 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.5106, allocations: 114.6 MB / 489.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/0.5111, allocations: 91.95 kB / 489.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6149/1.126, allocations: 85.88 MB / 0.5616 GB, free: 54.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.126, allocations: 0 / 0.5616 GB, free: 54.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003411/1.126, allocations: 83.86 kB / 0.5617 GB, free: 54.57 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01225/1.139, allocations: 3.177 MB / 0.5648 GB, free: 51.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.139, allocations: 8.031 kB / 0.5648 GB, free: 51.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/1.142, allocations: 447.8 kB / 0.5652 GB, free: 50.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006636/1.148, allocations: 1.958 MB / 0.5671 GB, free: 48.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/1.149, allocations: 205.4 kB / 0.5673 GB, free: 48.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/1.15, allocations: 267.9 kB / 0.5676 GB, free: 48.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/1.16, allocations: 3.51 MB / 0.571 GB, free: 44.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/1.161, allocations: 12 kB / 0.571 GB, free: 44.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006376/1.161, allocations: 108 kB / 0.5711 GB, free: 44.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/1.162, allocations: 113.3 kB / 0.5712 GB, free: 44.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009239/1.171, allocations: 2.859 MB / 0.574 GB, free: 41.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02914/1.2, allocations: 11.26 MB / 0.585 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/1.205, allocations: 2.327 MB / 0.5873 GB, free: 27.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005507/1.205, allocations: 227.5 kB / 0.5875 GB, free: 27.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.205, allocations: 51.8 kB / 0.5875 GB, free: 27.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 4.188e-06/1.205, allocations: 0 / 0.5875 GB, free: 27.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.03302/1.238, allocations: 8.724 MB / 0.5961 GB, free: 18.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/1.238, allocations: 68.72 kB / 0.5961 GB, free: 18.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003982/1.242, allocations: 1.743 MB / 0.5978 GB, free: 16.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004005/1.243, allocations: 49.7 kB / 0.5979 GB, free: 16.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009414/1.244, allocations: 1.229 MB / 0.5991 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000743/1.245, allocations: 0.5314 MB / 0.5996 GB, free: 14.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/1.245, allocations: 36 kB / 0.5996 GB, free: 14.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/1.245, allocations: 390.7 kB / 0.6 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/1.248, allocations: 0.9408 MB / 0.6009 GB, free: 13.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/1.251, allocations: 1.399 MB / 0.6023 GB, free: 11.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/1.254, allocations: 1.161 MB / 0.6034 GB, free: 10.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/1.254, allocations: 4 kB / 0.6034 GB, free: 10.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.00918/1.263, allocations: 3.033 MB / 0.6064 GB, free: 7.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/1.263, allocations: 12 kB / 0.6064 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.662e-05/1.263, allocations: 16 kB / 0.6064 GB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002739/1.266, allocations: 0.6228 MB / 0.607 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/1.269, allocations: 447.3 kB / 0.6075 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/1.282, allocations: 5.944 MB / 0.6133 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/1.285, allocations: 139.8 kB / 0.6134 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005118/1.285, allocations: 72 kB / 0.6135 GB, free: 144 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked 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.002794/1.288, allocations: 0.8525 MB / 0.6143 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008912/1.289, allocations: 213.5 kB / 0.6145 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009939/1.299, allocations: 2.862 MB / 0.6173 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/1.299, allocations: 16 kB / 0.6173 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.299, allocations: 4 kB / 0.6173 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.33e-05/1.299, allocations: 7.969 kB / 0.6173 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/1.318, allocations: 5.858 MB / 0.623 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.335e-05/1.319, allocations: 8.031 kB / 0.623 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002565/1.321, allocations: 283.6 kB / 0.6233 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003586/1.325, allocations: 0.6809 MB / 0.624 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003961/1.325, allocations: 36.11 kB / 0.624 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/1.342, allocations: 7.718 MB / 0.6316 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.342, allocations: 0 / 0.6316 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.355, allocations: 4.259 MB / 0.6357 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/1.357, allocations: 494.9 kB / 0.6362 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007708/1.358, allocations: 35.98 kB / 0.6362 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/1.36, allocations: 115.9 kB / 0.6363 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006536/1.361, allocations: 129 kB / 0.6365 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/1.361, allocations: 47.98 kB / 0.6365 GB, free: 8.004 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003759/1.365, allocations: 1.34 MB / 0.6378 GB, free: 6.641 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.365, allocations: 0 / 0.6378 GB, free: 6.641 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003863/1.369, allocations: 0.6757 MB / 0.6385 GB, free: 5.965 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * 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.001134/1.37, allocations: 331.9 kB / 0.6388 GB, free: 5.633 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008832/1.379, allocations: 2.806 MB / 0.6415 GB, free: 2.785 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.379, allocations: 0 / 0.6415 GB, free: 2.785 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005537/1.385, allocations: 1.746 MB / 0.6432 GB, free: 1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/1.389, allocations: 463 kB / 0.6437 GB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.302/1.691, allocations: 6.762 MB / 0.6503 GB, free: 90.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/1.694, allocations: 2.178 MB / 0.6524 GB, free: 90.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/1.695, allocations: 148 kB / 0.6525 GB, free: 90.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.624e-06/1.695, allocations: 0 / 0.6525 GB, free: 90.18 MB / 410.7 MB Notification: Performance of Templates: time 0.1062/1.801, allocations: 60.67 MB / 0.7118 GB, free: 67.94 MB / 410.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: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.SynchronousInductionMachines.SMEE_DOLFunctions.cpp:255:12: note: \'_omcQ_24tmpVar13_\' declared here\n double _omcQ_24tmpVar13_;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLFunctions.cpp:315: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.SynchronousInductionMachines.SMEE_DOLFunctions.cpp:292: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.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.o] Error 1\n'