Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 107.1 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 249.8 MB, free: 9.219 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 216 kB / 306 MB, free: 4.297 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5568/0.5568, allocations: 101.3 MB / 463.4 MB, free: 11.9 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 87.88 kB / 0.6193 GB, free: 15.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1564, allocations: 78.56 MB / 0.6961 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2972/0.4536, allocations: 8.371 MB / 0.7042 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006043/0.4597, allocations: 2.597 MB / 0.7068 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.4618, allocations: 16.91 kB / 0.7068 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.4629, allocations: 317.9 kB / 0.7071 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004233/0.4671, allocations: 1.188 MB / 0.7083 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.4688, allocations: 0.6886 MB / 0.7089 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003385/0.4722, allocations: 2.212 MB / 0.7111 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.4728, allocations: 297.8 kB / 0.7114 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.4746, allocations: 0.9094 MB / 0.7123 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.4763, allocations: 1.139 MB / 0.7134 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003329/0.4766, allocations: 181.8 kB / 0.7135 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008571/0.4775, allocations: 415.7 kB / 0.7139 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.4779, allocations: 469.8 kB / 0.7144 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000935/0.4789, allocations: 0.901 MB / 0.7153 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.4821, allocations: 2.3 MB / 0.7175 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4821, allocations: 1.375 kB / 0.7175 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4821, allocations: 0.6562 kB / 0.7175 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.819e-05/0.4821, allocations: 4 kB / 0.7175 GB, free: 12.45 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01396/0.4961, allocations: 3.611 MB / 0.7211 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.4961, allocations: 13.38 kB / 0.7211 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002615/0.4964, allocations: 162.1 kB / 0.7212 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/0.5016, allocations: 0.7598 MB / 0.722 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.5041, allocations: 1.122 MB / 0.7231 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005445/0.5046, allocations: 432.1 kB / 0.7235 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.5048, allocations: 117.1 kB / 0.7236 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/0.5085, allocations: 1.437 MB / 0.725 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.5085, allocations: 4.5 kB / 0.725 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.5087, allocations: 40.38 kB / 0.725 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.5087, allocations: 24.03 kB / 0.725 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/0.5122, allocations: 1.372 MB / 0.7264 GB, free: 8.422 MB / 0.4981 GB 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.009795/0.5219, allocations: 4.937 MB / 0.7312 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008987/0.5309, allocations: 2.811 MB / 0.734 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/0.5331, allocations: 0.8328 MB / 0.7348 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.5332, allocations: 25.95 kB / 0.7348 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002423/0.5356, allocations: 1.075 MB / 0.7358 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=127): time 3.086e-06/0.5356, allocations: 0 / 0.7358 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127): time 0.04601/0.5817, allocations: 9.998 MB / 0.7456 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.5817, allocations: 116.7 kB / 0.7457 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.5846, allocations: 1.414 MB / 0.7471 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004798/0.585, allocations: 54.8 kB / 0.7472 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.5856, allocations: 0.5955 MB / 0.7477 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007175/0.5863, allocations: 494.2 kB / 0.7482 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007123/0.587, allocations: 337.3 kB / 0.7485 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5872, allocations: 318.4 kB / 0.7488 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.5896, allocations: 0.9819 MB / 0.7498 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/0.5923, allocations: 1.185 MB / 0.7509 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005069/0.5974, allocations: 2.1 MB / 0.753 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.5974, allocations: 4 kB / 0.753 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01193/0.6093, allocations: 3.84 MB / 0.7568 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.6093, allocations: 10.5 kB / 0.7568 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.6094, allocations: 5.875 kB / 0.7568 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.6209, allocations: 3.036 MB / 0.7597 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.6225, allocations: 275.6 kB / 0.76 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/0.6309, allocations: 3.02 MB / 0.7629 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/0.6336, allocations: 258.8 kB / 0.7632 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.6338, allocations: 71.97 kB / 0.7633 GB, free: 12.64 MB / 0.5294 GB 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 (162): * Single equations (assignments): 161 * 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.0007002/0.6345, allocations: 298.3 kB / 0.7635 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/0.6349, allocations: 170.9 kB / 0.7637 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/0.6533, allocations: 4.858 MB / 0.7685 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.6534, allocations: 12 kB / 0.7685 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.6534, allocations: 0 / 0.7685 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.754e-05/0.6534, allocations: 7.969 kB / 0.7685 GB, free: 7.27 MB / 0.5294 GB 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.02197/0.6754, allocations: 6.898 MB / 0.7752 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.6754, allocations: 0 / 0.7752 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6765, allocations: 147.8 kB / 0.7753 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008814/0.6853, allocations: 2.2 MB / 0.7775 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/0.6856, allocations: 27.98 kB / 0.7775 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02962/0.7152, allocations: 10.22 MB / 0.7875 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7152, allocations: 3.938 kB / 0.7875 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/0.7366, allocations: 5.976 MB / 0.7933 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008911/0.7375, allocations: 275.7 kB / 0.7936 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005112/0.738, allocations: 24 kB / 0.7936 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.7399, allocations: 144.8 kB / 0.7938 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009476/0.7409, allocations: 269.3 kB / 0.794 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.741, allocations: 35.98 kB / 0.7941 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001772/0.7428, allocations: 0.9464 MB / 0.795 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7428, allocations: 0 / 0.795 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002056/0.7448, allocations: 0.5386 MB / 0.7955 GB, free: 11.25 MB / 0.5606 GB 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 (84): * Single equations (assignments): 83 * 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.02171/0.7665, allocations: 6.575 MB / 0.8019 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01026/0.7768, allocations: 2.78 MB / 0.8046 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.7768, allocations: 4 kB / 0.8046 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007352/0.7842, allocations: 1.897 MB / 0.8065 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.7862, allocations: 144.1 kB / 0.8066 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05216/0.8383, allocations: 19.05 MB / 0.8252 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009297/0.8393, allocations: 1.223 MB / 0.8264 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006556/0.8399, allocations: 146 kB / 0.8266 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009361/0.8409, allocations: 0.6086 MB / 0.8272 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/0.8409, allocations: 0 / 0.8272 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09389/0.9347, allocations: 44.71 MB / 0.8708 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/16.11, allocations: 10.25 kB / 0.8708 GB, free: 13.79 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.91404232312925] Failed to read output from testmodel.py, exit status != 0: 16.239017217885703 16.264256409 15.776811744 Calling exit ...