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.001328/0.001328, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.102 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.001689/0.001689, allocations: 228.5 kB / 309.2 MB, free: 2.945 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.5819/0.5819, allocations: 107.3 MB / 473 MB, free: 4.816 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.002648/0.002648, allocations: 85.59 kB / 0.6332 GB, free: 4.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3644, allocations: 80.17 MB / 0.7115 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008112/0.3725, allocations: 8.105 MB / 0.7195 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005744/0.3782, allocations: 2.786 MB / 0.7222 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007569/0.379, allocations: 21.72 kB / 0.7222 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009196/0.3799, allocations: 364.4 kB / 0.7225 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.3827, allocations: 1.212 MB / 0.7237 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.3847, allocations: 0.8532 MB / 0.7246 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003071/0.3878, allocations: 2.659 MB / 0.7272 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006118/0.3884, allocations: 365.7 kB / 0.7275 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.3898, allocations: 1.071 MB / 0.7285 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.3915, allocations: 1.169 MB / 0.7297 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003927/0.3919, allocations: 222.2 kB / 0.7299 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.3929, allocations: 427.4 kB / 0.7303 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006054/0.3935, allocations: 0.5401 MB / 0.7308 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.3945, allocations: 0.8654 MB / 0.7317 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.398, allocations: 2.757 MB / 0.7344 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.398, allocations: 0 / 0.7344 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.542e-06/0.398, allocations: 0 / 0.7344 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.245e-05/0.3981, allocations: 1.062 kB / 0.7344 GB, free: 6.121 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.01485/0.4129, allocations: 4.377 MB / 0.7387 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.413, allocations: 8.438 kB / 0.7387 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.4132, allocations: 177.7 kB / 0.7388 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004862/0.4181, allocations: 0.8013 MB / 0.7396 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.4209, allocations: 1.227 MB / 0.7408 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006754/0.4215, allocations: 0.6525 MB / 0.7414 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.4218, allocations: 134.2 kB / 0.7416 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.4252, allocations: 1.631 MB / 0.7432 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.4252, allocations: 0 / 0.7432 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.4254, allocations: 45.75 kB / 0.7432 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.4254, allocations: 32.12 kB / 0.7432 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003571/0.429, allocations: 1.505 MB / 0.7447 GB, free: 15.58 MB / 0.5137 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.01079/0.4397, allocations: 4.641 MB / 0.7492 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008986/0.4487, allocations: 2.613 MB / 0.7518 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.4508, allocations: 0.9068 MB / 0.7527 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.4511, allocations: 61.17 kB / 0.7527 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002617/0.4538, allocations: 1.206 MB / 0.7539 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.188e-06/0.4538, allocations: 1.125 kB / 0.7539 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.04471/0.4985, allocations: 9.995 MB / 0.7637 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4986, allocations: 153.8 kB / 0.7638 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.5016, allocations: 1.65 MB / 0.7654 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.5019, allocations: 65.56 kB / 0.7655 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006893/0.5026, allocations: 0.7155 MB / 0.7662 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006872/0.5033, allocations: 0.5539 MB / 0.7667 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007814/0.5041, allocations: 396 kB / 0.7671 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5042, allocations: 301.1 kB / 0.7674 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/0.5068, allocations: 1.107 MB / 0.7685 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002859/0.5097, allocations: 1.34 MB / 0.7698 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005329/0.515, allocations: 2.347 MB / 0.7721 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.515, allocations: 4 kB / 0.7721 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01046/0.5255, allocations: 3.888 MB / 0.7759 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.5256, allocations: 37.64 kB / 0.7759 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.5256, allocations: 4 kB / 0.7759 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.536, allocations: 2.704 MB / 0.7786 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.5379, allocations: 371.5 kB / 0.7789 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007156/0.5451, allocations: 2.729 MB / 0.7816 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/0.5478, allocations: 298.6 kB / 0.7819 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.548, allocations: 75.97 kB / 0.7819 GB, free: 14.24 MB / 0.545 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.000795/0.5488, allocations: 349.4 kB / 0.7823 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/0.5492, allocations: 194.7 kB / 0.7825 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/0.5682, allocations: 5.178 MB / 0.7875 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.5682, allocations: 19.98 kB / 0.7875 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.5682, allocations: 7.938 kB / 0.7875 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.681e-05/0.5682, allocations: 7.969 kB / 0.7876 GB, free: 8.461 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.02239/0.5906, allocations: 6.91 MB / 0.7943 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.5906, allocations: 4.062 kB / 0.7943 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5917, allocations: 175.7 kB / 0.7945 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008921/0.6007, allocations: 2.287 MB / 0.7967 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/0.6009, allocations: 35.98 kB / 0.7967 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03235/0.6332, allocations: 11.76 MB / 0.8082 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6332, allocations: 4 kB / 0.8082 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02206/0.6553, allocations: 6.422 MB / 0.8145 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008095/0.6561, allocations: 238.4 kB / 0.8147 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/0.6566, allocations: 31.94 kB / 0.8148 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/0.6586, allocations: 167.8 kB / 0.8149 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009201/0.6595, allocations: 289.2 kB / 0.8152 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.6597, allocations: 39.98 kB / 0.8152 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002098/0.6617, allocations: 1.113 MB / 0.8163 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6618, allocations: 0 / 0.8163 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001789/0.6635, allocations: 0.601 MB / 0.8169 GB, free: 10.04 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.02186/0.6854, allocations: 7.051 MB / 0.8238 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.6956, allocations: 3.054 MB / 0.8268 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6956, allocations: 0.9375 kB / 0.8268 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007279/0.7029, allocations: 2.128 MB / 0.8289 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.7048, allocations: 180.2 kB / 0.829 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0523/0.7571, allocations: 21.23 MB / 0.8498 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.758, allocations: 0.7644 MB / 0.8505 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007346/0.7587, allocations: 179.6 kB / 0.8507 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/0.7599, allocations: 0.718 MB / 0.8514 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/0.7599, allocations: 0 / 0.8514 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.8606, allocations: 51.36 MB / 0.9015 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.74, allocations: 4 kB / 0.9015 GB, free: 3.02 MB / 0.6544 GB " [Timeout remaining time 644] (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: 22.961834684945643] Failed to read output from testmodel.py, exit status != 0: 15.90102332411334 15.930006421 15.526731123 Calling exit ...