Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009106, allocations: 99.34 kB / 16.02 MB, free: 76 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.52 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.001108/0.001107, allocations: 179.4 kB / 291.3 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4932/0.4932, allocations: 78.55 MB / 420.9 MB, free: 4.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 12 kB / 0.4893 GB, free: 5.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 69.36 MB / 0.557 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.3023/0.4552, allocations: 5.585 MB / 0.5625 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.4583, allocations: 1.75 MB / 0.5642 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.4587, allocations: 15.03 kB / 0.5642 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.4592, allocations: 162.3 kB / 0.5644 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.4609, allocations: 0.5901 MB / 0.5649 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.4623, allocations: 0.5175 MB / 0.5654 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.4637, allocations: 1.17 MB / 0.5666 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.4641, allocations: 240.4 kB / 0.5668 GB, free: 35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.4647, allocations: 468.2 kB / 0.5673 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/0.4654, allocations: 0.5813 MB / 0.5678 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4656, allocations: 47.28 kB / 0.5679 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.466, allocations: 175 kB / 0.568 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.4662, allocations: 196.8 kB / 0.5682 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.4667, allocations: 0.5191 MB / 0.5687 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.4678, allocations: 0.9822 MB / 0.5697 GB, free: 34.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4678, allocations: 0 / 0.5697 GB, free: 34.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4678, allocations: 0 / 0.5697 GB, free: 34.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.4678, allocations: 0 / 0.5697 GB, free: 34.18 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.009852/0.4777, allocations: 2.18 MB / 0.5718 GB, free: 33.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4777, allocations: 8.312 kB / 0.5718 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008427/0.4862, allocations: 0.7619 MB / 0.5726 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.4875, allocations: 0.6943 MB / 0.5732 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/0.4879, allocations: 261.3 kB / 0.5735 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.4881, allocations: 65.22 kB / 0.5736 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.4909, allocations: 1.023 MB / 0.5746 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.491, allocations: 5.25 kB / 0.5746 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.4911, allocations: 26.23 kB / 0.5746 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.4912, allocations: 16.97 kB / 0.5746 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/0.4942, allocations: 1.055 MB / 0.5756 GB, free: 32.68 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.006923/0.5011, allocations: 3.212 MB / 0.5788 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.5039, allocations: 1.388 MB / 0.5801 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/0.506, allocations: 0.7707 MB / 0.5809 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.5061, allocations: 15.48 kB / 0.5809 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.5062, allocations: 46.34 kB / 0.5809 GB, free: 31.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.126e-06/0.5062, allocations: 0 / 0.5809 GB, free: 31.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.03147/0.5377, allocations: 8.316 MB / 0.5891 GB, free: 29.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.5378, allocations: 63.72 kB / 0.5891 GB, free: 29.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.539, allocations: 0.793 MB / 0.5899 GB, free: 29.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.5392, allocations: 44.48 kB / 0.5899 GB, free: 29.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.5395, allocations: 432.5 kB / 0.5904 GB, free: 28.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.5398, allocations: 288 kB / 0.5906 GB, free: 28.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.5399, allocations: 91.16 kB / 0.5907 GB, free: 28.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.54, allocations: 347.6 kB / 0.591 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.5416, allocations: 0.7151 MB / 0.5917 GB, free: 28.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.5433, allocations: 0.8328 MB / 0.5926 GB, free: 27.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/0.5622, allocations: 4.943 MB / 0.5974 GB, free: 26.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.5623, allocations: 1.375 kB / 0.5974 GB, free: 26.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0157/0.578, allocations: 4.948 MB / 0.6022 GB, free: 25.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.578, allocations: 5.531 kB / 0.6022 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.5781, allocations: 3.906 kB / 0.6022 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007217/0.5853, allocations: 2.178 MB / 0.6044 GB, free: 25.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009781/0.5863, allocations: 164 kB / 0.6045 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.6075, allocations: 9.363 MB / 0.6137 GB, free: 19.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.6091, allocations: 193 kB / 0.6138 GB, free: 19.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.6092, allocations: 39.98 kB / 0.6139 GB, free: 19.31 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004634/0.6097, allocations: 221.6 kB / 0.6141 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.6098, allocations: 102.7 kB / 0.6142 GB, free: 18.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.6223, allocations: 4.723 MB / 0.6188 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.6224, allocations: 12.97 kB / 0.6188 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6224, allocations: 1.125 kB / 0.6188 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6224, allocations: 3.984 kB / 0.6188 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.6366, allocations: 6.242 MB / 0.6249 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.6367, allocations: 0 / 0.6249 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.6372, allocations: 95.89 kB / 0.625 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005914/0.6431, allocations: 2.053 MB / 0.627 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.6432, allocations: 8 kB / 0.627 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01771/0.661, allocations: 8.236 MB / 0.6351 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.661, allocations: 1.062 kB / 0.6351 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/0.677, allocations: 5.669 MB / 0.6406 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.6775, allocations: 191.7 kB / 0.6408 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6776, allocations: 20.06 kB / 0.6408 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009566/0.6786, allocations: 123.9 kB / 0.6409 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000617/0.6792, allocations: 192.7 kB / 0.6411 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/0.6793, allocations: 20 kB / 0.6411 GB, free: 7.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006559/0.68, allocations: 0.5347 MB / 0.6416 GB, free: 6.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.68, allocations: 0 / 0.6416 GB, free: 6.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001253/0.6812, allocations: 411.5 kB / 0.642 GB, free: 6.125 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002519/0.6815, allocations: 119.2 kB / 0.6421 GB, free: 5.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006804/0.6883, allocations: 2.566 MB / 0.6447 GB, free: 3.426 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6883, allocations: 4.125 kB / 0.6447 GB, free: 3.422 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004746/0.6931, allocations: 1.685 MB / 0.6463 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/0.6939, allocations: 80.28 kB / 0.6464 GB, free: 1.652 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.6969, allocations: 2.082 MB / 0.6484 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.6975, allocations: 1.025 MB / 0.6494 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.6977, allocations: 63.42 kB / 0.6495 GB, free: 14.45 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6977, allocations: 0 / 0.6495 GB, free: 14.45 MB / 462.1 MB Notification: Performance of Templates: time 0.02167/0.7194, allocations: 17.47 MB / 0.6665 GB, free: 13.11 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2CalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2CalcHelperMain.o] Error 1