Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001729, allocations: 96.14 kB / 15.87 MB, free: 16 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.532/1.532, allocations: 222.9 MB / 239.5 MB, free: 4.773 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.001958/0.001958, allocations: 192.5 kB / 289.8 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5757/0.5757, allocations: 78.52 MB / 418.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 75.89 kB / 497.4 MB, free: 6.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1814, allocations: 68.18 MB / 0.5523 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.3773/0.5588, allocations: 8.596 MB / 0.5607 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006645/0.5655, allocations: 2.604 MB / 0.5633 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.5676, allocations: 15.78 kB / 0.5633 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.5687, allocations: 244.7 kB / 0.5635 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003835/0.5726, allocations: 1.075 MB / 0.5646 GB, free: 33.86 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.5743, allocations: 0.6359 MB / 0.5652 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003411/0.5777, allocations: 2.213 MB / 0.5673 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006938/0.5784, allocations: 379.5 kB / 0.5677 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.58, allocations: 0.7953 MB / 0.5685 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.5811, allocations: 1.063 MB / 0.5695 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.5813, allocations: 108.6 kB / 0.5696 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008537/0.5822, allocations: 324.9 kB / 0.5699 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.5825, allocations: 383.5 kB / 0.5703 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007671/0.5833, allocations: 0.8358 MB / 0.5711 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.5849, allocations: 1.736 MB / 0.5728 GB, free: 32.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5849, allocations: 2.875 kB / 0.5728 GB, free: 32.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5849, allocations: 1.781 kB / 0.5728 GB, free: 32.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.585, allocations: 0 / 0.5728 GB, free: 32.21 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01387/0.5988, allocations: 3.758 MB / 0.5765 GB, free: 31.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.5989, allocations: 10.28 kB / 0.5765 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/0.6035, allocations: 0.7468 MB / 0.5772 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.6055, allocations: 1.11 MB / 0.5783 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/0.606, allocations: 430 kB / 0.5787 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.6062, allocations: 118.6 kB / 0.5788 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.609, allocations: 1.427 MB / 0.5802 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.6091, allocations: 4 kB / 0.5802 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.6092, allocations: 40.66 kB / 0.5803 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.6092, allocations: 23.38 kB / 0.5803 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.612, allocations: 1.348 MB / 0.5816 GB, free: 29.37 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.009468/0.6215, allocations: 4.935 MB / 0.5864 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00837/0.6299, allocations: 2.888 MB / 0.5892 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.6321, allocations: 0.9136 MB / 0.5901 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.6323, allocations: 33.34 kB / 0.5902 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002387/0.6347, allocations: 1.053 MB / 0.5912 GB, free: 24.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.795e-06/0.6347, allocations: 0 / 0.5912 GB, free: 24.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04308/0.6778, allocations: 9.796 MB / 0.6008 GB, free: 22.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.6779, allocations: 117.5 kB / 0.6009 GB, free: 22.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/0.6809, allocations: 1.416 MB / 0.6023 GB, free: 22.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004774/0.6814, allocations: 50.95 kB / 0.6023 GB, free: 22.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/0.6819, allocations: 0.5972 MB / 0.6029 GB, free: 21.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006021/0.6825, allocations: 463.2 kB / 0.6033 GB, free: 21.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008074/0.6834, allocations: 333.9 kB / 0.6037 GB, free: 21.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.6834, allocations: 305.9 kB / 0.6039 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.6858, allocations: 0.9724 MB / 0.6049 GB, free: 20.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/0.6883, allocations: 1.172 MB / 0.606 GB, free: 20 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/0.6928, allocations: 2.077 MB / 0.6081 GB, free: 18.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.6928, allocations: 5.406 kB / 0.6081 GB, free: 18.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00997/0.7028, allocations: 3.714 MB / 0.6117 GB, free: 17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.7029, allocations: 5.406 kB / 0.6117 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.7029, allocations: 4.406 kB / 0.6117 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/0.7139, allocations: 2.974 MB / 0.6146 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.7155, allocations: 267.6 kB / 0.6149 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007123/0.7227, allocations: 2.984 MB / 0.6178 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.7257, allocations: 250.3 kB / 0.618 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/0.726, allocations: 67.97 kB / 0.6181 GB, free: 11.84 MB / 430.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.000826/0.7269, allocations: 302.8 kB / 0.6184 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004902/0.7274, allocations: 162.5 kB / 0.6185 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/0.7424, allocations: 4.812 MB / 0.6232 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.7425, allocations: 16 kB / 0.6232 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.7426, allocations: 4 kB / 0.6232 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-05/0.7426, allocations: 14.86 kB / 0.6233 GB, free: 6.508 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 postOpt removeSimpleEquations (simulation): time 0.01776/0.7604, allocations: 6.891 MB / 0.63 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.7605, allocations: 4.031 kB / 0.63 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009942/0.7615, allocations: 143.8 kB / 0.6301 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007391/0.7689, allocations: 2.136 MB / 0.6322 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/0.7692, allocations: 31.98 kB / 0.6322 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0235/0.7927, allocations: 9.172 MB / 0.6412 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7927, allocations: 4 kB / 0.6412 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/0.8117, allocations: 5.95 MB / 0.647 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.8129, allocations: 270.8 kB / 0.6473 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008449/0.8138, allocations: 28 kB / 0.6473 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/0.8161, allocations: 135.8 kB / 0.6474 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/0.8173, allocations: 262 kB / 0.6477 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/0.8176, allocations: 32 kB / 0.6477 GB, free: 13.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002141/0.8197, allocations: 0.9542 MB / 0.6486 GB, free: 12.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8197, allocations: 0 / 0.6486 GB, free: 12.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002542/0.8223, allocations: 0.5229 MB / 0.6492 GB, free: 11.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005239/0.8228, allocations: 161.1 kB / 0.6493 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008955/0.8318, allocations: 2.851 MB / 0.6521 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.8318, allocations: 0 / 0.6521 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006357/0.8382, allocations: 1.892 MB / 0.6539 GB, free: 6.738 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.8404, allocations: 131 kB / 0.6541 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00784/0.8483, allocations: 3.615 MB / 0.6576 GB, free: 3.031 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009786/0.8493, allocations: 1.229 MB / 0.6588 GB, free: 1.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007547/0.8501, allocations: 91.42 kB / 0.6589 GB, free: 1.684 MB / 462.1 MB Notification: Performance of SimCode: time 2.234e-06/0.8501, allocations: 0 / 0.6589 GB, free: 1.684 MB / 462.1 MB Notification: Performance of Templates: time 0.04429/0.8944, allocations: 25.68 MB / 0.684 GB, free: 8.141 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.Controls.PSSE.ES.SCRXCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRXCalcHelperMain.o] Error 1