Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.001722/0.001722, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.415/1.415, allocations: 230.6 MB / 252.6 MB, free: 8.316 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.001563/0.001563, allocations: 209.6 kB / 309.2 MB, free: 3.16 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.5521/0.5521, allocations: 101.3 MB / 467 MB, free: 10.31 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.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.002506/0.002506, allocations: 86.3 kB / 0.6244 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3945, allocations: 78.61 MB / 0.7012 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008033/0.4026, allocations: 9.385 MB / 0.7104 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005495/0.4081, allocations: 2.918 MB / 0.7132 GB, free: 364 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.4105, allocations: 19.75 kB / 0.7132 GB, free: 360 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.4119, allocations: 369 kB / 0.7136 GB, free: 152 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.4162, allocations: 1.251 MB / 0.7148 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.4186, allocations: 0.8533 MB / 0.7156 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004341/0.4229, allocations: 2.671 MB / 0.7183 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008026/0.4237, allocations: 381.2 kB / 0.7186 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.4255, allocations: 1.074 MB / 0.7197 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.4272, allocations: 1.303 MB / 0.7209 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003496/0.4276, allocations: 219.8 kB / 0.7212 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.4285, allocations: 478 kB / 0.7216 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005314/0.429, allocations: 0.5404 MB / 0.7221 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.4301, allocations: 1.052 MB / 0.7232 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003703/0.4338, allocations: 2.75 MB / 0.7258 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4338, allocations: 0.6562 kB / 0.7258 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4338, allocations: 0 / 0.7258 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.087e-05/0.4339, allocations: 1.094 kB / 0.7258 GB, free: 9.812 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.01594/0.4498, allocations: 4.368 MB / 0.7301 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4498, allocations: 9.562 kB / 0.7301 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003157/0.4501, allocations: 180.8 kB / 0.7303 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/0.455, allocations: 0.8054 MB / 0.7311 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.4578, allocations: 1.231 MB / 0.7323 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006723/0.4585, allocations: 0.6356 MB / 0.7329 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.4587, allocations: 138.6 kB / 0.733 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.4623, allocations: 1.637 MB / 0.7346 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.4623, allocations: 0 / 0.7346 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.4625, allocations: 50.12 kB / 0.7347 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.4625, allocations: 27.44 kB / 0.7347 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/0.466, allocations: 1.52 MB / 0.7362 GB, free: 4.117 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.01185/0.4778, allocations: 5.822 MB / 0.7419 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008612/0.4864, allocations: 2.624 MB / 0.7444 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002325/0.4888, allocations: 0.9122 MB / 0.7453 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003856/0.4891, allocations: 63.73 kB / 0.7454 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002652/0.4918, allocations: 1.205 MB / 0.7466 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.176e-06/0.4918, allocations: 0 / 0.7466 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.04196/0.5337, allocations: 10.01 MB / 0.7563 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5339, allocations: 141.8 kB / 0.7565 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.537, allocations: 1.65 MB / 0.7581 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004204/0.5374, allocations: 53.7 kB / 0.7581 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000739/0.5381, allocations: 0.7234 MB / 0.7588 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007347/0.5389, allocations: 0.55 MB / 0.7594 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007962/0.5396, allocations: 392 kB / 0.7598 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5398, allocations: 309.1 kB / 0.7601 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.5423, allocations: 1.078 MB / 0.7611 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/0.5451, allocations: 1.319 MB / 0.7624 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/0.5503, allocations: 2.343 MB / 0.7647 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.5503, allocations: 0 / 0.7647 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.0102/0.5605, allocations: 3.871 MB / 0.7685 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.5605, allocations: 37.77 kB / 0.7685 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.5605, allocations: 4 kB / 0.7685 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.5706, allocations: 2.7 MB / 0.7711 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.5727, allocations: 375.5 kB / 0.7715 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006878/0.5796, allocations: 2.725 MB / 0.7742 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/0.5824, allocations: 302.5 kB / 0.7744 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.5826, allocations: 79.97 kB / 0.7745 GB, free: 4.609 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008142/0.5834, allocations: 345.4 kB / 0.7749 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.5838, allocations: 198.7 kB / 0.775 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/0.6016, allocations: 5.178 MB / 0.7801 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/0.6017, allocations: 16 kB / 0.7801 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.6017, allocations: 0 / 0.7801 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.447e-05/0.6017, allocations: 11.91 kB / 0.7801 GB, free: 14.84 MB / 0.545 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.02227/0.624, allocations: 7.613 MB / 0.7876 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.624, allocations: 3.938 kB / 0.7876 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.6251, allocations: 171.7 kB / 0.7877 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008359/0.6335, allocations: 2.302 MB / 0.79 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/0.6338, allocations: 31.98 kB / 0.79 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0307/0.6645, allocations: 12.04 MB / 0.8018 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6645, allocations: 4 kB / 0.8018 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/0.6851, allocations: 6.412 MB / 0.808 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008376/0.6859, allocations: 238.5 kB / 0.8083 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.6863, allocations: 28 kB / 0.8083 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/0.6881, allocations: 175.7 kB / 0.8085 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008668/0.6889, allocations: 289.2 kB / 0.8087 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.6891, allocations: 39.98 kB / 0.8088 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001919/0.691, allocations: 1.105 MB / 0.8098 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.691, allocations: 4 kB / 0.8099 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001664/0.6926, allocations: 0.601 MB / 0.8104 GB, free: 15.38 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0214/0.714, allocations: 7.05 MB / 0.8173 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009842/0.7239, allocations: 3.026 MB / 0.8203 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7239, allocations: 4.062 kB / 0.8203 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006891/0.7308, allocations: 2.136 MB / 0.8224 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.7322, allocations: 185.9 kB / 0.8225 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05214/0.7844, allocations: 21.28 MB / 0.8433 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.7854, allocations: 1.343 MB / 0.8446 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007993/0.7862, allocations: 171.6 kB / 0.8448 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.7873, allocations: 0.718 MB / 0.8455 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.7873, allocations: 4 kB / 0.8455 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/0.8945, allocations: 51.34 MB / 0.8956 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/17.48, allocations: 10.16 kB / 0.8957 GB, free: 7.754 MB / 0.6544 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST_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_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.447257220999745] Failed to read output from testmodel.py, exit status != 0: 17.627221390997875 17.641858052 17.204981755 Calling exit ...