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_Generator.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_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.883/1.883, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001174/0.001174, allocations: 95.28 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.000504, allocations: 15.98 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.327, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.504, allocations: 113.6 MB / 488.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.5044, allocations: 87.95 kB / 488.2 MB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5835/1.088, allocations: 82.9 MB / 0.5577 GB, free: 58.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.088, allocations: 0 / 0.5577 GB, free: 58.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002751/1.088, allocations: 71.92 kB / 0.5578 GB, free: 58.45 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01083/1.099, allocations: 2.985 MB / 0.5607 GB, free: 55.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.099, allocations: 8.031 kB / 0.5607 GB, free: 55.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/1.102, allocations: 420 kB / 0.5611 GB, free: 54.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005887/1.108, allocations: 1.842 MB / 0.5629 GB, free: 53.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/1.108, allocations: 193.7 kB / 0.5631 GB, free: 52.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008917/1.109, allocations: 255.9 kB / 0.5633 GB, free: 52.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008968/1.118, allocations: 3.234 MB / 0.5665 GB, free: 49.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/1.118, allocations: 11.92 kB / 0.5665 GB, free: 49.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/1.118, allocations: 108 kB / 0.5666 GB, free: 49.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/1.119, allocations: 108.9 kB / 0.5667 GB, free: 49.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008224/1.127, allocations: 2.588 MB / 0.5692 GB, free: 46.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02916/1.156, allocations: 10.47 MB / 0.5795 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/1.161, allocations: 1.829 MB / 0.5813 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005069/1.162, allocations: 223.1 kB / 0.5815 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.162, allocations: 47.56 kB / 0.5815 GB, free: 33.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 4.008e-06/1.162, allocations: 0 / 0.5815 GB, free: 33.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=143): time 0.03583/1.198, allocations: 8.905 MB / 0.5902 GB, free: 24.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/1.198, allocations: 68.72 kB / 0.5903 GB, free: 24.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003943/1.202, allocations: 1.656 MB / 0.5919 GB, free: 22.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003711/1.202, allocations: 53.7 kB / 0.5919 GB, free: 22.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008946/1.203, allocations: 1.17 MB / 0.5931 GB, free: 21.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006677/1.204, allocations: 488.9 kB / 0.5936 GB, free: 20.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/1.204, allocations: 32 kB / 0.5936 GB, free: 20.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/1.204, allocations: 374.8 kB / 0.5939 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/1.207, allocations: 0.8862 MB / 0.5948 GB, free: 19.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/1.21, allocations: 1.365 MB / 0.5961 GB, free: 18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/1.213, allocations: 1.084 MB / 0.5972 GB, free: 16.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/1.213, allocations: 4 kB / 0.5972 GB, free: 16.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.009879/1.223, allocations: 2.871 MB / 0.6 GB, free: 14.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/1.223, allocations: 12 kB / 0.6 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.375e-05/1.223, allocations: 16 kB / 0.6 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/1.226, allocations: 0.5957 MB / 0.6006 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004014/1.23, allocations: 411.4 kB / 0.601 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/1.247, allocations: 5.669 MB / 0.6065 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/1.251, allocations: 135.8 kB / 0.6067 GB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005524/1.252, allocations: 83.98 kB / 0.6068 GB, free: 6.98 MB / 378.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 (187): * Single equations (assignments): 183 * 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.003039/1.255, allocations: 0.7939 MB / 0.6075 GB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009844/1.256, allocations: 193.7 kB / 0.6077 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.267, allocations: 2.662 MB / 0.6103 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.267, allocations: 19.98 kB / 0.6103 GB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/1.267, allocations: 11.89 kB / 0.6103 GB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-05/1.267, allocations: 3.984 kB / 0.6103 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.291, allocations: 5.525 MB / 0.6157 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.667e-05/1.291, allocations: 12.05 kB / 0.6158 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003054/1.294, allocations: 247.6 kB / 0.616 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004666/1.299, allocations: 0.6455 MB / 0.6166 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004098/1.299, allocations: 31.98 kB / 0.6167 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02245/1.322, allocations: 7.408 MB / 0.6239 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.322, allocations: 0 / 0.6239 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/1.339, allocations: 4.109 MB / 0.6279 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/1.341, allocations: 466.5 kB / 0.6283 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009713/1.342, allocations: 35.94 kB / 0.6284 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/1.346, allocations: 119.9 kB / 0.6285 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000808/1.347, allocations: 113.1 kB / 0.6286 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/1.347, allocations: 47.94 kB / 0.6286 GB, free: 15.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005019/1.352, allocations: 1.267 MB / 0.6299 GB, free: 14.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.363e-06/1.352, allocations: 0 / 0.6299 GB, free: 14.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005302/1.358, allocations: 0.6405 MB / 0.6305 GB, free: 14.05 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 (110): * Single equations (assignments): 106 * 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.00145/1.359, allocations: 328.4 kB / 0.6308 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01173/1.371, allocations: 2.629 MB / 0.6334 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.371, allocations: 0 / 0.6334 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007558/1.378, allocations: 1.653 MB / 0.635 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005035/1.384, allocations: 401 kB / 0.6354 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/1.406, allocations: 6.195 MB / 0.6414 GB, free: 2.699 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004865/1.411, allocations: 2.046 MB / 0.6434 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.413, allocations: 143.4 kB / 0.6436 GB, free: 496 kB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/1.413, allocations: 0 / 0.6436 GB, free: 496 kB / 410.7 MB Notification: Performance of Templates: time 0.3882/1.801, allocations: 56.53 MB / 0.6988 GB, free: 78.81 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile make -j1 -f Modelica_3.2.3_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/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_GeneratorCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.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_GeneratorFunctions.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_GeneratorFunctions.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_GeneratorFunctions.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_GeneratorCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o] Error 1\n'