Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 100.5 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.474/1.474, allocations: 223.3 MB / 239.7 MB, free: 5.641 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.001283/0.001283, allocations: 184.5 kB / 290.9 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5488/0.5488, allocations: 79.48 MB / 421.5 MB, free: 4.027 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005925/0.0005926, allocations: 19.92 kB / 0.4897 GB, free: 5.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1981, allocations: 69.51 MB / 0.5576 GB, free: 28 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.3521/0.5503, allocations: 7.616 MB / 0.5651 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00632/0.5567, allocations: 2.493 MB / 0.5675 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.5586, allocations: 15.06 kB / 0.5675 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000786/0.5594, allocations: 208.9 kB / 0.5677 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.5621, allocations: 0.8117 MB / 0.5685 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.564, allocations: 0.6672 MB / 0.5692 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002873/0.5669, allocations: 1.919 MB / 0.571 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.5676, allocations: 363.3 kB / 0.5714 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.569, allocations: 0.7232 MB / 0.5721 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.57, allocations: 0.9732 MB / 0.573 GB, free: 33.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.5702, allocations: 88.75 kB / 0.5731 GB, free: 33.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006907/0.5709, allocations: 250.2 kB / 0.5734 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.5712, allocations: 339.8 kB / 0.5737 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.5715, allocations: 292.1 kB / 0.574 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.573, allocations: 1.68 MB / 0.5756 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.573, allocations: 3.938 kB / 0.5756 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.573, allocations: 0 / 0.5756 GB, free: 32.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.573, allocations: 4.094 kB / 0.5756 GB, free: 32.84 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01064/0.5837, allocations: 3.326 MB / 0.5789 GB, free: 31.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5837, allocations: 15.06 kB / 0.5789 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00473/0.5885, allocations: 0.7516 MB / 0.5796 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.5913, allocations: 1.031 MB / 0.5806 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005331/0.5919, allocations: 467 kB / 0.5811 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005639/0.5925, allocations: 119.1 kB / 0.5812 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.5955, allocations: 1.533 MB / 0.5827 GB, free: 29.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.5955, allocations: 3.953 kB / 0.5827 GB, free: 29.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.5956, allocations: 41.61 kB / 0.5827 GB, free: 29.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.5957, allocations: 25.97 kB / 0.5827 GB, free: 29.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.5985, allocations: 1.448 MB / 0.5842 GB, free: 29.25 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.01042/0.609, allocations: 5.021 MB / 0.5891 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009518/0.6185, allocations: 3.591 MB / 0.5926 GB, free: 25.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.6212, allocations: 1.006 MB / 0.5935 GB, free: 24.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.6215, allocations: 24.5 kB / 0.5936 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.6216, allocations: 49.72 kB / 0.5936 GB, free: 24.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 5.19e-06/0.6216, allocations: 0 / 0.5936 GB, free: 24.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04695/0.6686, allocations: 11.96 MB / 0.6053 GB, free: 22.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.6687, allocations: 146.8 kB / 0.6054 GB, free: 22.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00339/0.6721, allocations: 1.347 MB / 0.6067 GB, free: 22.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005133/0.6726, allocations: 54.67 kB / 0.6068 GB, free: 21.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006732/0.6733, allocations: 0.6026 MB / 0.6074 GB, free: 21.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009391/0.6743, allocations: 480.1 kB / 0.6078 GB, free: 21.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.6747, allocations: 35.5 kB / 0.6079 GB, free: 21.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.6749, allocations: 376.1 kB / 0.6082 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/0.678, allocations: 1.057 MB / 0.6093 GB, free: 20.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/0.6814, allocations: 1.274 MB / 0.6105 GB, free: 19.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/0.6847, allocations: 1.142 MB / 0.6116 GB, free: 19.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.6847, allocations: 1.812 kB / 0.6116 GB, free: 19.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01174/0.6964, allocations: 4.287 MB / 0.6158 GB, free: 16.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.6966, allocations: 194.4 kB / 0.616 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.6966, allocations: 4 kB / 0.616 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009356/0.706, allocations: 3.429 MB / 0.6194 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.7077, allocations: 279.6 kB / 0.6196 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007791/0.7155, allocations: 3.399 MB / 0.6229 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.7182, allocations: 282.4 kB / 0.6232 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/0.7186, allocations: 59.98 kB / 0.6233 GB, free: 9.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7187, allocations: 4.625 kB / 0.6233 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009702/0.7284, allocations: 4.083 MB / 0.6273 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.7285, allocations: 4 kB / 0.6273 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00895/0.7374, allocations: 3.379 MB / 0.6306 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.7389, allocations: 275.6 kB / 0.6308 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007174/0.7461, allocations: 3.327 MB / 0.6341 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.7488, allocations: 263 kB / 0.6343 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.7491, allocations: 67.98 kB / 0.6344 GB, free: 13.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (163): * Single equations (assignments): 162 * 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 {34 46} Notification: Performance of prepare postOptimizeDAE: time 0.001173/0.7503, allocations: 372.8 kB / 0.6348 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000822/0.7512, allocations: 158 kB / 0.6349 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01733/0.7685, allocations: 5.966 MB / 0.6407 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/0.7686, allocations: 15.94 kB / 0.6407 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/0.7686, allocations: 4 kB / 0.6407 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.118e-05/0.7687, allocations: 5.297 kB / 0.6408 GB, free: 7.289 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.0223/0.791, allocations: 8.15 MB / 0.6487 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/0.7911, allocations: 0.625 kB / 0.6487 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009964/0.7921, allocations: 143.8 kB / 0.6488 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008012/0.8001, allocations: 2.605 MB / 0.6514 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003695/0.8005, allocations: 29.23 kB / 0.6514 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02816/0.8287, allocations: 12.02 MB / 0.6632 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8288, allocations: 4.031 kB / 0.6632 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/0.849, allocations: 7.271 MB / 0.6703 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009566/0.85, allocations: 278.7 kB / 0.6705 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007874/0.8508, allocations: 26.48 kB / 0.6706 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/0.8529, allocations: 167.9 kB / 0.6707 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/0.854, allocations: 269.2 kB / 0.671 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/0.8543, allocations: 39.92 kB / 0.671 GB, free: 7.844 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002091/0.8564, allocations: 0.8916 MB / 0.6719 GB, free: 6.953 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.8564, allocations: 0 / 0.6719 GB, free: 6.953 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004772/0.8612, allocations: 0.8623 MB / 0.6727 GB, free: 6.09 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * 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 (81): * Single equations (assignments): 79 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006252/0.8618, allocations: 145.9 kB / 0.6729 GB, free: 5.941 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01726/0.8791, allocations: 5.547 MB / 0.6783 GB, free: 416 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.8792, allocations: 1.5 kB / 0.6783 GB, free: 416 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006791/0.886, allocations: 2.302 MB / 0.6805 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.8887, allocations: 137.2 kB / 0.6807 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.8989, allocations: 3.752 MB / 0.6843 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.9002, allocations: 1.234 MB / 0.6855 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007405/0.901, allocations: 91.42 kB / 0.6856 GB, free: 8.895 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.901, allocations: 0 / 0.6856 GB, free: 8.895 MB / 494.1 MB Notification: Performance of Templates: time 0.05321/0.9542, allocations: 28.4 MB / 0.7133 GB, free: 12.59 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.Controls.PSSE.ES.EXNICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNICalcHelperMain.o] Error 1