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.001311/0.001311, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.438/1.438, allocations: 230.6 MB / 252.7 MB, free: 8.289 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.001658/0.001658, allocations: 209 kB / 309.2 MB, free: 3.152 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.5585/0.5585, allocations: 101.3 MB / 467 MB, free: 10.32 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.002509/0.002509, allocations: 79.88 kB / 0.6244 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4024, allocations: 78.61 MB / 0.7012 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.007357/0.4097, allocations: 8.424 MB / 0.7094 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.4146, allocations: 2.61 MB / 0.712 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.416, allocations: 13.06 kB / 0.712 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009678/0.417, allocations: 317 kB / 0.7123 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.42, allocations: 1.19 MB / 0.7135 GB, free: 348 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.4219, allocations: 0.6917 MB / 0.7141 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003928/0.4258, allocations: 2.236 MB / 0.7163 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006025/0.4264, allocations: 301.5 kB / 0.7166 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.428, allocations: 0.9082 MB / 0.7175 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.43, allocations: 1.14 MB / 0.7186 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004456/0.4304, allocations: 182.6 kB / 0.7188 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009805/0.4314, allocations: 422.5 kB / 0.7192 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004578/0.4318, allocations: 462.2 kB / 0.7196 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.4329, allocations: 0.8996 MB / 0.7205 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.4363, allocations: 2.305 MB / 0.7228 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4363, allocations: 0 / 0.7228 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4363, allocations: 4 kB / 0.7228 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.634e-05/0.4363, allocations: 0 / 0.7228 GB, free: 11.73 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.01468/0.451, allocations: 3.716 MB / 0.7264 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4511, allocations: 10.86 kB / 0.7264 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002766/0.4514, allocations: 157.4 kB / 0.7266 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/0.4568, allocations: 0.7623 MB / 0.7273 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.46, allocations: 1.058 MB / 0.7283 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007631/0.4608, allocations: 0.576 MB / 0.7289 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/0.4613, allocations: 116.2 kB / 0.729 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004019/0.4653, allocations: 1.438 MB / 0.7304 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.4653, allocations: 0 / 0.7304 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.4654, allocations: 40.53 kB / 0.7304 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.4655, allocations: 28.41 kB / 0.7305 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.4688, allocations: 1.373 MB / 0.7318 GB, free: 7.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.01072/0.4796, allocations: 4.874 MB / 0.7366 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008474/0.488, allocations: 2.367 MB / 0.7389 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00238/0.4904, allocations: 0.8344 MB / 0.7397 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.4906, allocations: 26.59 kB / 0.7397 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00243/0.493, allocations: 1.07 MB / 0.7408 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=127): time 2.805e-06/0.493, allocations: 0 / 0.7408 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127): time 0.04218/0.5352, allocations: 9.913 MB / 0.7505 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.5353, allocations: 121.6 kB / 0.7506 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.5379, allocations: 1.414 MB / 0.752 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004055/0.5383, allocations: 51.58 kB / 0.752 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000571/0.5389, allocations: 0.6026 MB / 0.7526 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007021/0.5396, allocations: 486.9 kB / 0.7531 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007235/0.5403, allocations: 336 kB / 0.7534 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5405, allocations: 310.3 kB / 0.7537 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.5429, allocations: 0.9787 MB / 0.7546 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/0.5456, allocations: 1.197 MB / 0.7558 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004991/0.5506, allocations: 2.101 MB / 0.7578 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.5506, allocations: 0 / 0.7578 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01122/0.5618, allocations: 3.84 MB / 0.7616 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5619, allocations: 10.19 kB / 0.7616 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5619, allocations: 7.938 kB / 0.7616 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.5725, allocations: 3.036 MB / 0.7646 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.574, allocations: 271.6 kB / 0.7648 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007932/0.5819, allocations: 3.032 MB / 0.7678 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.5846, allocations: 254.8 kB / 0.768 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.5849, allocations: 63.98 kB / 0.7681 GB, free: 11.46 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.0007292/0.5856, allocations: 301.5 kB / 0.7684 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/0.586, allocations: 166.9 kB / 0.7685 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/0.6032, allocations: 4.862 MB / 0.7733 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.6032, allocations: 12 kB / 0.7733 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.6032, allocations: 4 kB / 0.7733 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.741e-05/0.6032, allocations: 3.984 kB / 0.7733 GB, free: 6.086 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.02007/0.6233, allocations: 6.861 MB / 0.78 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.6233, allocations: 0 / 0.78 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009592/0.6243, allocations: 151.7 kB / 0.7802 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007979/0.6322, allocations: 2.2 MB / 0.7823 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002397/0.6325, allocations: 27.98 kB / 0.7823 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02751/0.66, allocations: 10.12 MB / 0.7922 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.66, allocations: 0 / 0.7922 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/0.6799, allocations: 5.968 MB / 0.7981 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/0.6805, allocations: 206.5 kB / 0.7982 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00035/0.6809, allocations: 24 kB / 0.7983 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.6826, allocations: 143.8 kB / 0.7984 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008116/0.6834, allocations: 273.2 kB / 0.7987 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.6835, allocations: 35.98 kB / 0.7987 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001632/0.6852, allocations: 0.9503 MB / 0.7996 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6852, allocations: 0 / 0.7996 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001623/0.6868, allocations: 0.5309 MB / 0.8001 GB, free: 10.32 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.0198/0.7066, allocations: 6.576 MB / 0.8066 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00945/0.716, allocations: 2.79 MB / 0.8093 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.716, allocations: 4 kB / 0.8093 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006485/0.7225, allocations: 1.884 MB / 0.8111 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.7239, allocations: 144.6 kB / 0.8113 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04662/0.7705, allocations: 19.06 MB / 0.8299 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008823/0.7714, allocations: 1.227 MB / 0.8311 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006138/0.772, allocations: 142 kB / 0.8312 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009313/0.773, allocations: 0.6086 MB / 0.8318 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.773, allocations: 0 / 0.8318 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.093/0.866, allocations: 46.01 MB / 0.8768 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.42, allocations: 4.062 kB / 0.8768 GB, free: 11.59 MB / 0.6387 GB " [Timeout remaining time 643] (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: 20.033794308001234] Failed to read output from testmodel.py, exit status != 0: 16.56252780199793 16.577444943 16.138026308 Calling exit ...