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.001841/0.001841, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.483/1.483, allocations: 230.6 MB / 252.7 MB, free: 8.328 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.00156/0.00156, allocations: 210 kB / 309.2 MB, free: 3.184 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.458/0.458, allocations: 79.74 MB / 445.4 MB, free: 14.86 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.003288/0.003288, allocations: 87.8 kB / 0.5929 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1585, allocations: 73.3 MB / 0.6645 GB, free: 4.594 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01122/0.1697, allocations: 9.318 MB / 0.6736 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007654/0.1773, allocations: 2.91 MB / 0.6765 GB, free: 8.312 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.1795, allocations: 23.94 kB / 0.6765 GB, free: 8.289 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.1809, allocations: 360.8 kB / 0.6768 GB, free: 7.934 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.1853, allocations: 1.327 MB / 0.6781 GB, free: 6.605 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.1878, allocations: 0.8623 MB / 0.679 GB, free: 5.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004796/0.1926, allocations: 2.802 MB / 0.6817 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.1934, allocations: 392.1 kB / 0.6821 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.1953, allocations: 1.07 MB / 0.6831 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.1973, allocations: 1.311 MB / 0.6844 GB, free: 136 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004726/0.1978, allocations: 220 kB / 0.6846 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009857/0.1988, allocations: 479.7 kB / 0.6851 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000529/0.1993, allocations: 0.5409 MB / 0.6856 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.2005, allocations: 1.061 MB / 0.6866 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.2041, allocations: 2.758 MB / 0.6893 GB, free: 11.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2041, allocations: 3.938 kB / 0.6893 GB, free: 11.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2041, allocations: 0 / 0.6893 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.271e-05/0.2042, allocations: 4 kB / 0.6893 GB, free: 11.06 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01581/0.22, allocations: 4.57 MB / 0.6938 GB, free: 6.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.22, allocations: 15.98 kB / 0.6938 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002471/0.2203, allocations: 185.3 kB / 0.694 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.2252, allocations: 0.787 MB / 0.6948 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.2279, allocations: 1.243 MB / 0.696 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006395/0.2285, allocations: 0.6353 MB / 0.6966 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.2288, allocations: 136 kB / 0.6967 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/0.2321, allocations: 1.617 MB / 0.6983 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.2321, allocations: 4 kB / 0.6983 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.2322, allocations: 44 kB / 0.6984 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.2323, allocations: 32 kB / 0.6984 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.2356, allocations: 1.496 MB / 0.6998 GB, free: 24 kB / 494.1 MB 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.319/0.5546, allocations: 5.74 MB / 0.7054 GB, free: 32.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008634/0.5632, allocations: 2.626 MB / 0.708 GB, free: 31.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002294/0.5655, allocations: 0.9058 MB / 0.7089 GB, free: 31.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.5659, allocations: 63.45 kB / 0.709 GB, free: 31.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002621/0.5685, allocations: 1.206 MB / 0.7101 GB, free: 31.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.128e-06/0.5685, allocations: 0 / 0.7101 GB, free: 31.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.04098/0.6095, allocations: 9.792 MB / 0.7197 GB, free: 28.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.6095, allocations: 149 kB / 0.7198 GB, free: 28.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.6121, allocations: 1.644 MB / 0.7214 GB, free: 27.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000471/0.6126, allocations: 56.42 kB / 0.7215 GB, free: 27.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.613, allocations: 0.7178 MB / 0.7222 GB, free: 26.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005256/0.6135, allocations: 0.5467 MB / 0.7227 GB, free: 26.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000673/0.6142, allocations: 395.6 kB / 0.7231 GB, free: 26.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.6142, allocations: 306.3 kB / 0.7234 GB, free: 25.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.6165, allocations: 1.077 MB / 0.7245 GB, free: 25.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/0.6188, allocations: 1.311 MB / 0.7257 GB, free: 24.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/0.6232, allocations: 2.319 MB / 0.728 GB, free: 23.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.6232, allocations: 4 kB / 0.728 GB, free: 23.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.009548/0.6328, allocations: 3.975 MB / 0.7319 GB, free: 21.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.6328, allocations: 36.06 kB / 0.7319 GB, free: 21.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.6329, allocations: 5.875 kB / 0.7319 GB, free: 21.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008702/0.6416, allocations: 2.641 MB / 0.7345 GB, free: 20.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.6435, allocations: 378.3 kB / 0.7349 GB, free: 19.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/0.6492, allocations: 2.707 MB / 0.7375 GB, free: 18.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/0.6523, allocations: 303.8 kB / 0.7378 GB, free: 18.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/0.6526, allocations: 78.06 kB / 0.7379 GB, free: 18.19 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0009133/0.6536, allocations: 343.4 kB / 0.7382 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/0.6541, allocations: 199.8 kB / 0.7384 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/0.6695, allocations: 5.131 MB / 0.7434 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.6696, allocations: 16 kB / 0.7434 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6696, allocations: 7.938 kB / 0.7434 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.143e-05/0.6696, allocations: 7.984 kB / 0.7434 GB, free: 12.73 MB / 494.1 MB 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.01819/0.6878, allocations: 7.575 MB / 0.7508 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.6878, allocations: 0 / 0.7508 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.6889, allocations: 171.7 kB / 0.751 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00707/0.6959, allocations: 2.236 MB / 0.7532 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003354/0.6963, allocations: 31.98 kB / 0.7532 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02895/0.7252, allocations: 11.88 MB / 0.7648 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7252, allocations: 4 kB / 0.7648 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/0.7459, allocations: 6.328 MB / 0.771 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.7469, allocations: 236.5 kB / 0.7712 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005145/0.7474, allocations: 35.73 kB / 0.7713 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/0.7494, allocations: 159.8 kB / 0.7714 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/0.7504, allocations: 297.2 kB / 0.7717 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.7506, allocations: 43.98 kB / 0.7717 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002066/0.7526, allocations: 1.105 MB / 0.7728 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7526, allocations: 0 / 0.7728 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002151/0.7548, allocations: 0.6053 MB / 0.7734 GB, free: 13.77 MB / 0.5137 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.02075/0.7755, allocations: 6.956 MB / 0.7802 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009994/0.7855, allocations: 2.996 MB / 0.7831 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.7855, allocations: 0 / 0.7831 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007127/0.7927, allocations: 2.107 MB / 0.7852 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.7944, allocations: 176.5 kB / 0.7853 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05515/0.8496, allocations: 21.36 MB / 0.8062 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.8507, allocations: 1.347 MB / 0.8075 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008813/0.8515, allocations: 179.6 kB / 0.8077 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.8526, allocations: 0.718 MB / 0.8084 GB, free: 9.48 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.8527, allocations: 0 / 0.8084 GB, free: 9.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/0.9642, allocations: 51.41 MB / 0.8586 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/17.69, allocations: 4.062 kB / 0.8586 GB, free: 6.227 MB / 0.5919 GB " [Timeout remaining time 642] (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: 21.761013152001397] Failed to read output from testmodel.py, exit status != 0: 17.840854337002384 17.871858228 17.661643555 Calling exit ...