Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009736, allocations: 99.12 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 239.7 MB, free: 5.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 179.5 kB / 290.9 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5144/0.5144, allocations: 79.48 MB / 421.5 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004112, allocations: 16 kB / 0.4897 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1542, allocations: 69.51 MB / 0.5576 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.3593/0.5135, allocations: 5.829 MB / 0.5633 GB, free: 37.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.5177, allocations: 1.882 MB / 0.5652 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005315/0.5183, allocations: 16.66 kB / 0.5652 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.5189, allocations: 169.4 kB / 0.5653 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.5203, allocations: 0.6006 MB / 0.5659 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.5216, allocations: 0.5392 MB / 0.5664 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.5228, allocations: 1.312 MB / 0.5677 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.5232, allocations: 250.5 kB / 0.568 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.5238, allocations: 0.5133 MB / 0.5685 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007393/0.5246, allocations: 0.6355 MB / 0.5691 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.5247, allocations: 51 kB / 0.5691 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.5251, allocations: 176.5 kB / 0.5693 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.5254, allocations: 219.8 kB / 0.5695 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.5256, allocations: 216.5 kB / 0.5697 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.5267, allocations: 1.137 MB / 0.5708 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5267, allocations: 0.9062 kB / 0.5708 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5267, allocations: 0 / 0.5708 GB, free: 35.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5267, allocations: 4.344 kB / 0.5708 GB, free: 35.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006613/0.5333, allocations: 2.374 MB / 0.5732 GB, free: 34.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.5334, allocations: 8.625 kB / 0.5732 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004499/0.5379, allocations: 0.7827 MB / 0.5739 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.5392, allocations: 0.771 MB / 0.5747 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.5395, allocations: 275 kB / 0.5749 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.5396, allocations: 75.34 kB / 0.575 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.5418, allocations: 1.193 MB / 0.5762 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.5418, allocations: 0.6562 kB / 0.5762 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/0.5419, allocations: 33.2 kB / 0.5762 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5419, allocations: 22.31 kB / 0.5762 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.5441, allocations: 1.164 MB / 0.5774 GB, free: 33.22 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005039/0.5491, allocations: 3.515 MB / 0.5808 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.5513, allocations: 1.514 MB / 0.5823 GB, free: 30.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.5527, allocations: 0.8238 MB / 0.5831 GB, free: 30.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.5528, allocations: 15.36 kB / 0.5831 GB, free: 30 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5528, allocations: 38.34 kB / 0.5831 GB, free: 29.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.226e-06/0.5528, allocations: 0 / 0.5831 GB, free: 29.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02668/0.5795, allocations: 8.46 MB / 0.5914 GB, free: 28.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.5796, allocations: 87.08 kB / 0.5915 GB, free: 28.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.5813, allocations: 0.938 MB / 0.5924 GB, free: 28.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003679/0.5817, allocations: 41.89 kB / 0.5924 GB, free: 28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.5821, allocations: 485.5 kB / 0.5929 GB, free: 27.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000428/0.5826, allocations: 321.1 kB / 0.5932 GB, free: 27.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.5826, allocations: 20.56 kB / 0.5932 GB, free: 27.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5828, allocations: 350.3 kB / 0.5936 GB, free: 27.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.5845, allocations: 0.769 MB / 0.5943 GB, free: 26.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.5863, allocations: 0.8996 MB / 0.5952 GB, free: 26.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.588, allocations: 0.8174 MB / 0.596 GB, free: 26.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.588, allocations: 0 / 0.596 GB, free: 26.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01588/0.6039, allocations: 5.121 MB / 0.601 GB, free: 24.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.6041, allocations: 153.5 kB / 0.6011 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.6041, allocations: 3.109 kB / 0.6011 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006974/0.6111, allocations: 2.115 MB / 0.6032 GB, free: 24.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.6123, allocations: 206.1 kB / 0.6034 GB, free: 24.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02244/0.6348, allocations: 9.526 MB / 0.6127 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.6366, allocations: 213.5 kB / 0.6129 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.6368, allocations: 39.98 kB / 0.6129 GB, free: 19.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6368, allocations: 4 kB / 0.6129 GB, free: 19.67 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01268/0.6495, allocations: 4.955 MB / 0.6178 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.6496, allocations: 0.8438 kB / 0.6178 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005663/0.6553, allocations: 2.118 MB / 0.6199 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.6563, allocations: 199.7 kB / 0.62 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/0.6744, allocations: 9.523 MB / 0.6293 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.6759, allocations: 199.9 kB / 0.6295 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/0.676, allocations: 42.73 kB / 0.6296 GB, free: 2.973 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006242/0.6767, allocations: 323 kB / 0.6299 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.6769, allocations: 115.2 kB / 0.63 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.689, allocations: 4.865 MB / 0.6347 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.689, allocations: 8 kB / 0.6348 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.689, allocations: 3.984 kB / 0.6348 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-05/0.6891, allocations: 7.938 kB / 0.6348 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.7041, allocations: 6.45 MB / 0.6411 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.7042, allocations: 4 kB / 0.6411 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/0.7049, allocations: 116.7 kB / 0.6412 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005923/0.7108, allocations: 2.046 MB / 0.6432 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/0.7111, allocations: 23.98 kB / 0.6432 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/0.7284, allocations: 8.197 MB / 0.6512 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7284, allocations: 4 kB / 0.6512 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.7431, allocations: 5.834 MB / 0.6569 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/0.7437, allocations: 207.4 kB / 0.6571 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.7439, allocations: 16 kB / 0.6571 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.7449, allocations: 151.9 kB / 0.6573 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006468/0.7456, allocations: 210.9 kB / 0.6575 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.7457, allocations: 19.98 kB / 0.6575 GB, free: 6.059 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009747/0.7466, allocations: 0.6393 MB / 0.6581 GB, free: 5.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7467, allocations: 0 / 0.6581 GB, free: 5.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002235/0.7489, allocations: 0.6905 MB / 0.6588 GB, free: 4.719 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002814/0.7492, allocations: 131.2 kB / 0.6589 GB, free: 4.578 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/0.7606, allocations: 4.599 MB / 0.6634 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.7606, allocations: 0 / 0.6634 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004631/0.7653, allocations: 1.74 MB / 0.6651 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.7666, allocations: 102 kB / 0.6652 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.7712, allocations: 2.486 MB / 0.6676 GB, free: 11.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008048/0.772, allocations: 1.102 MB / 0.6687 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.7724, allocations: 71.42 kB / 0.6688 GB, free: 10.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/0.7724, allocations: 0 / 0.6688 GB, free: 10.43 MB / 478.1 MB Notification: Performance of Templates: time 0.03403/0.8064, allocations: 21.05 MB / 0.6893 GB, free: 5.504 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile clang++ NOTFOUND -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/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 OMCppOpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TGCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TGCalcHelperMain.o] Error 1