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.001323/0.001323, allocations: 104.3 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.456/1.456, allocations: 230.6 MB / 249.8 MB, free: 9.23 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.001609/0.001609, allocations: 215.5 kB / 306 MB, free: 4.312 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.5665/0.5665, allocations: 101.3 MB / 463.4 MB, free: 11.92 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.002922/0.002922, allocations: 87.88 kB / 0.6193 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1474, allocations: 78.57 MB / 0.6961 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.278/0.4254, allocations: 9.342 MB / 0.7052 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005375/0.4307, allocations: 2.909 MB / 0.708 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.4323, allocations: 20.03 kB / 0.708 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009195/0.4332, allocations: 369.2 kB / 0.7084 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.4361, allocations: 1.25 MB / 0.7096 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.4381, allocations: 0.8409 MB / 0.7104 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003508/0.4416, allocations: 2.615 MB / 0.713 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006804/0.4422, allocations: 380.4 kB / 0.7134 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.4439, allocations: 1.061 MB / 0.7144 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.4456, allocations: 1.306 MB / 0.7157 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.446, allocations: 218.8 kB / 0.7159 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009277/0.4469, allocations: 479.5 kB / 0.7163 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005535/0.4475, allocations: 0.5373 MB / 0.7169 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.4486, allocations: 1.053 MB / 0.7179 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00388/0.4525, allocations: 2.747 MB / 0.7206 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4525, allocations: 7.938 kB / 0.7206 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4525, allocations: 0 / 0.7206 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.563e-05/0.4525, allocations: 0 / 0.7206 GB, free: 10.55 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.01625/0.4688, allocations: 4.029 MB / 0.7245 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4688, allocations: 9.406 kB / 0.7245 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003211/0.4692, allocations: 181.5 kB / 0.7247 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005443/0.4746, allocations: 0.7921 MB / 0.7255 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.4777, allocations: 1.316 MB / 0.7267 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005689/0.4783, allocations: 474.2 kB / 0.7272 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/0.4786, allocations: 135.3 kB / 0.7273 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.4824, allocations: 1.629 MB / 0.7289 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.098e-05/0.4824, allocations: 1.219 kB / 0.7289 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.4826, allocations: 53.84 kB / 0.729 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.4826, allocations: 27.5 kB / 0.729 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/0.4863, allocations: 1.516 MB / 0.7305 GB, free: 5.621 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.01223/0.4985, allocations: 5.887 MB / 0.7362 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009824/0.5084, allocations: 3.061 MB / 0.7392 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/0.5109, allocations: 0.9264 MB / 0.7401 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/0.5116, allocations: 0.7319 MB / 0.7408 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00276/0.5144, allocations: 1.205 MB / 0.742 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.175e-06/0.5144, allocations: 5.406 kB / 0.742 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.04652/0.5609, allocations: 10.15 MB / 0.7519 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.637e-05/0.561, allocations: 145.8 kB / 0.7521 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.5642, allocations: 1.65 MB / 0.7537 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004608/0.5646, allocations: 53.7 kB / 0.7537 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006872/0.5653, allocations: 0.7195 MB / 0.7544 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008044/0.5661, allocations: 0.5539 MB / 0.755 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008614/0.567, allocations: 395.9 kB / 0.7554 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5671, allocations: 305.1 kB / 0.7556 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/0.5699, allocations: 1.082 MB / 0.7567 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/0.5728, allocations: 1.319 MB / 0.758 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0055/0.5783, allocations: 2.343 MB / 0.7603 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.5783, allocations: 4 kB / 0.7603 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01084/0.5892, allocations: 3.863 MB / 0.7641 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.5892, allocations: 37.77 kB / 0.7641 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.5892, allocations: 4 kB / 0.7641 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.5999, allocations: 2.711 MB / 0.7667 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.602, allocations: 375.5 kB / 0.7671 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/0.6097, allocations: 2.73 MB / 0.7698 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/0.6129, allocations: 298.6 kB / 0.7701 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/0.6132, allocations: 75.97 kB / 0.7701 GB, free: 5.195 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.0008669/0.614, allocations: 345.4 kB / 0.7705 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004692/0.6145, allocations: 198.7 kB / 0.7706 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01994/0.6344, allocations: 5.182 MB / 0.7757 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.6345, allocations: 16 kB / 0.7757 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6345, allocations: 0 / 0.7757 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.437e-05/0.6345, allocations: 11.91 kB / 0.7757 GB, free: 15.42 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.02389/0.6584, allocations: 7.638 MB / 0.7832 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.6584, allocations: 0 / 0.7832 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.6596, allocations: 171.7 kB / 0.7834 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009286/0.6689, allocations: 2.308 MB / 0.7856 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/0.6692, allocations: 32 kB / 0.7856 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.034/0.7032, allocations: 12.24 MB / 0.7976 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7032, allocations: 0 / 0.7976 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0231/0.7263, allocations: 6.425 MB / 0.8039 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008127/0.7271, allocations: 311.5 kB / 0.8042 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/0.7275, allocations: 32 kB / 0.8042 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/0.7296, allocations: 175.7 kB / 0.8044 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009703/0.7305, allocations: 277.4 kB / 0.8046 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.7307, allocations: 39.98 kB / 0.8047 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00205/0.7327, allocations: 1.101 MB / 0.8057 GB, free: 208 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7327, allocations: 4 kB / 0.8057 GB, free: 204 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002012/0.7347, allocations: 0.6011 MB / 0.8063 GB, free: 15.59 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.02356/0.7583, allocations: 7.049 MB / 0.8132 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01131/0.7696, allocations: 3.037 MB / 0.8162 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.7696, allocations: 4.062 kB / 0.8162 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007712/0.7773, allocations: 2.133 MB / 0.8183 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.779, allocations: 180.3 kB / 0.8184 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05615/0.8351, allocations: 21.27 MB / 0.8392 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.8362, allocations: 1.343 MB / 0.8405 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008797/0.8371, allocations: 175.6 kB / 0.8407 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/0.8383, allocations: 0.7219 MB / 0.8414 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of SimCode: time 9.51e-07/0.8383, allocations: 4 kB / 0.8414 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.9448, allocations: 49.91 MB / 0.8901 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.58, allocations: 10.73 kB / 0.8901 GB, free: 9.387 MB / 0.6544 GB " [Timeout remaining time 643] (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: 20.54974684608169] Failed to read output from testmodel.py, exit status != 0: 16.71321381512098 16.742012266 16.284144465 Calling exit ...