Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001634/0.001634, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.433/1.433, allocations: 230.6 MB / 252.7 MB, free: 8.07 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.002293/0.002293, allocations: 220.4 kB / 309.2 MB, free: 2.941 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.582/0.582, allocations: 107.2 MB / 472.8 MB, free: 4.527 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_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.002593/0.002593, allocations: 87.86 kB / 0.6331 GB, free: 5.016 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3871, allocations: 80.14 MB / 0.7113 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.00859/0.3957, allocations: 8.11 MB / 0.7192 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006107/0.4018, allocations: 2.783 MB / 0.722 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009455/0.4028, allocations: 19.19 kB / 0.722 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4038, allocations: 365.8 kB / 0.7223 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.4068, allocations: 1.221 MB / 0.7235 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.4087, allocations: 0.8431 MB / 0.7243 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.4121, allocations: 2.649 MB / 0.7269 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006712/0.4127, allocations: 372.3 kB / 0.7273 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.4144, allocations: 1.065 MB / 0.7283 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.4162, allocations: 1.177 MB / 0.7295 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003666/0.4165, allocations: 219.9 kB / 0.7297 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.4176, allocations: 426.6 kB / 0.7301 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005541/0.4181, allocations: 0.5328 MB / 0.7306 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009637/0.4191, allocations: 0.8647 MB / 0.7315 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.4226, allocations: 2.766 MB / 0.7342 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4226, allocations: 4 kB / 0.7342 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4226, allocations: 5.156 kB / 0.7342 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-05/0.4226, allocations: 0 / 0.7342 GB, free: 6.32 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.01472/0.4373, allocations: 4.362 MB / 0.7384 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4374, allocations: 9.5 kB / 0.7384 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.4376, allocations: 184.1 kB / 0.7386 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/0.4425, allocations: 0.7951 MB / 0.7394 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.4452, allocations: 1.239 MB / 0.7406 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006582/0.4459, allocations: 0.6406 MB / 0.7412 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.4462, allocations: 137.7 kB / 0.7414 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.4496, allocations: 1.627 MB / 0.7429 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.4497, allocations: 0 / 0.7429 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.4498, allocations: 53.98 kB / 0.743 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.4498, allocations: 27.84 kB / 0.743 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.4534, allocations: 1.509 MB / 0.7445 GB, free: 15.79 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.0107/0.4641, allocations: 4.641 MB / 0.749 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008825/0.4729, allocations: 2.608 MB / 0.7516 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.475, allocations: 0.9152 MB / 0.7525 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.4754, allocations: 52.12 kB / 0.7525 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002584/0.4779, allocations: 1.222 MB / 0.7537 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.446e-06/0.4779, allocations: 0 / 0.7537 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.04382/0.5218, allocations: 9.999 MB / 0.7635 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.5219, allocations: 145.8 kB / 0.7636 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/0.5248, allocations: 1.65 MB / 0.7652 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002792/0.5251, allocations: 53.7 kB / 0.7653 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006642/0.5258, allocations: 0.7234 MB / 0.766 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/0.5265, allocations: 0.55 MB / 0.7665 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007611/0.5272, allocations: 388 kB / 0.7669 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5273, allocations: 309.1 kB / 0.7672 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.53, allocations: 1.103 MB / 0.7683 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002887/0.5329, allocations: 1.352 MB / 0.7696 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005256/0.5381, allocations: 2.339 MB / 0.7719 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5381, allocations: 4 kB / 0.7719 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01044/0.5486, allocations: 3.896 MB / 0.7757 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.5486, allocations: 37.69 kB / 0.7757 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.5487, allocations: 4 kB / 0.7757 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.5588, allocations: 2.696 MB / 0.7783 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.5607, allocations: 383.5 kB / 0.7787 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007044/0.5678, allocations: 2.717 MB / 0.7814 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.5706, allocations: 302.6 kB / 0.7817 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.5708, allocations: 75.98 kB / 0.7817 GB, free: 14.46 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.0007859/0.5715, allocations: 341.5 kB / 0.7821 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/0.5719, allocations: 194.7 kB / 0.7822 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/0.5906, allocations: 5.19 MB / 0.7873 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.5906, allocations: 16 kB / 0.7873 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.5906, allocations: 0 / 0.7873 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.5906, allocations: 11.91 kB / 0.7873 GB, free: 8.684 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.0221/0.6127, allocations: 6.91 MB / 0.7941 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.6127, allocations: 0 / 0.7941 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.6138, allocations: 171.7 kB / 0.7942 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00861/0.6224, allocations: 2.302 MB / 0.7965 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/0.6227, allocations: 43.92 kB / 0.7965 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03161/0.6543, allocations: 11.75 MB / 0.808 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.6543, allocations: 3.938 kB / 0.808 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/0.6761, allocations: 6.428 MB / 0.8143 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000794/0.6769, allocations: 234.4 kB / 0.8145 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.6772, allocations: 28 kB / 0.8145 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.6791, allocations: 171.7 kB / 0.8147 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008882/0.68, allocations: 289.2 kB / 0.815 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.6801, allocations: 43.98 kB / 0.815 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001946/0.682, allocations: 1.101 MB / 0.8161 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.682, allocations: 0 / 0.8161 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001629/0.6837, allocations: 0.6088 MB / 0.8167 GB, free: 10.26 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.02197/0.7056, allocations: 7.042 MB / 0.8236 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.7157, allocations: 3.05 MB / 0.8265 GB, free: 92 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7157, allocations: 0 / 0.8265 GB, free: 92 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007138/0.7228, allocations: 2.141 MB / 0.8286 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.7242, allocations: 181.7 kB / 0.8288 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05134/0.7756, allocations: 21.22 MB / 0.8495 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008653/0.7764, allocations: 0.7645 MB / 0.8503 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007616/0.7772, allocations: 175.6 kB / 0.8505 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/0.7783, allocations: 0.7219 MB / 0.8512 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/0.7783, allocations: 0 / 0.8512 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0989/0.8772, allocations: 51.36 MB / 0.9013 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.61, allocations: 8.047 kB / 0.9013 GB, free: 3.246 MB / 0.6544 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.440071321092546] Failed to read output from testmodel.py, exit status != 0: 15.769093583337963 15.79671116 15.369548479 Calling exit ...