Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.001326/0.001326, allocations: 110.5 kB / 16.46 MB, free: 6.508 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.464/1.464, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.00154/0.00154, allocations: 205 kB / 306 MB, free: 4.305 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.4442/0.4442, allocations: 79.71 MB / 441.8 MB, free: 156 kB / 302.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.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.002468/0.002468, allocations: 90.36 kB / 0.5878 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1319, allocations: 73.24 MB / 0.6594 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.00923/0.1412, allocations: 8.023 MB / 0.6672 GB, free: 136 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.1461, allocations: 2.532 MB / 0.6697 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006347/0.1468, allocations: 15.94 kB / 0.6697 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008005/0.1476, allocations: 305.4 kB / 0.67 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.1506, allocations: 1.267 MB / 0.6712 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1521, allocations: 0.6719 MB / 0.6719 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.155, allocations: 2.279 MB / 0.6741 GB, free: 9.059 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.1555, allocations: 257.6 kB / 0.6743 GB, free: 8.781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.1568, allocations: 0.8911 MB / 0.6752 GB, free: 7.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.1582, allocations: 1.12 MB / 0.6763 GB, free: 6.762 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.1585, allocations: 172 kB / 0.6765 GB, free: 6.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007101/0.1592, allocations: 363.8 kB / 0.6768 GB, free: 6.238 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.1597, allocations: 450.2 kB / 0.6772 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009088/0.1606, allocations: 0.8663 MB / 0.6781 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.1633, allocations: 2.21 MB / 0.6803 GB, free: 2.707 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1633, allocations: 0 / 0.6803 GB, free: 2.707 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1633, allocations: 0 / 0.6803 GB, free: 2.707 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.1633, allocations: 0 / 0.6803 GB, free: 2.707 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.0157/0.179, allocations: 3.858 MB / 0.684 GB, free: 14.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1791, allocations: 8.031 kB / 0.684 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002311/0.1793, allocations: 147.6 kB / 0.6842 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/0.1843, allocations: 0.756 MB / 0.6849 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.1868, allocations: 1.101 MB / 0.686 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005259/0.1873, allocations: 425 kB / 0.6864 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.1875, allocations: 100 kB / 0.6865 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/0.1906, allocations: 1.36 MB / 0.6878 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.1907, allocations: 0 / 0.6878 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.1908, allocations: 43.98 kB / 0.6879 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.1908, allocations: 24 kB / 0.6879 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.1941, allocations: 1.296 MB / 0.6891 GB, free: 9.395 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 preOpt removeSimpleEquations (simulation): time 0.009229/0.2033, allocations: 4.673 MB / 0.6937 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009112/0.2124, allocations: 2.789 MB / 0.6964 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.2145, allocations: 0.8214 MB / 0.6972 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.2146, allocations: 20.98 kB / 0.6972 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2358/0.4504, allocations: 1.044 MB / 0.6983 GB, free: 35.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 3.186e-06/0.4504, allocations: 0 / 0.6983 GB, free: 35.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04507/0.4955, allocations: 9.869 MB / 0.7079 GB, free: 35.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.4955, allocations: 116.5 kB / 0.708 GB, free: 35.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.4977, allocations: 1.35 MB / 0.7093 GB, free: 35.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.4979, allocations: 52.98 kB / 0.7094 GB, free: 35.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.4983, allocations: 0.5798 MB / 0.71 GB, free: 34.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.4987, allocations: 473.9 kB / 0.7104 GB, free: 34.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006986/0.4994, allocations: 331.4 kB / 0.7107 GB, free: 34.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.24e-05/0.4994, allocations: 305.5 kB / 0.711 GB, free: 34.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.5015, allocations: 0.9493 MB / 0.7119 GB, free: 33.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.5037, allocations: 1.152 MB / 0.7131 GB, free: 33.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004022/0.5077, allocations: 2.051 MB / 0.7151 GB, free: 32.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.5077, allocations: 1.156 kB / 0.7151 GB, free: 32.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01014/0.5179, allocations: 3.785 MB / 0.7188 GB, free: 30.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.5179, allocations: 11.62 kB / 0.7188 GB, free: 30.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5179, allocations: 3.875 kB / 0.7188 GB, free: 30.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009577/0.5275, allocations: 2.67 MB / 0.7214 GB, free: 29.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.529, allocations: 296.8 kB / 0.7217 GB, free: 29.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.5351, allocations: 2.705 MB / 0.7243 GB, free: 27.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.5372, allocations: 243.1 kB / 0.7245 GB, free: 27.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.5374, allocations: 59.39 kB / 0.7246 GB, free: 27.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005565/0.538, allocations: 302.4 kB / 0.7249 GB, free: 27.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.5383, allocations: 165.7 kB / 0.725 GB, free: 27.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/0.5536, allocations: 4.72 MB / 0.7297 GB, free: 25.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.5537, allocations: 15.84 kB / 0.7297 GB, free: 25.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.5537, allocations: 3.875 kB / 0.7297 GB, free: 25.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.5537, allocations: 8.625 kB / 0.7297 GB, free: 25.12 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.01766/0.5714, allocations: 6.812 MB / 0.7363 GB, free: 19.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5714, allocations: 4 kB / 0.7363 GB, free: 19.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008646/0.5722, allocations: 131.8 kB / 0.7365 GB, free: 19.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007181/0.5794, allocations: 2.151 MB / 0.7386 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.5796, allocations: 34.88 kB / 0.7386 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02362/0.6032, allocations: 10.08 MB / 0.7484 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6032, allocations: 4 kB / 0.7484 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/0.6206, allocations: 5.88 MB / 0.7542 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.621, allocations: 274.5 kB / 0.7544 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.6213, allocations: 31.75 kB / 0.7545 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.6228, allocations: 133.7 kB / 0.7546 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007431/0.6236, allocations: 266.4 kB / 0.7549 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.636e-05/0.6237, allocations: 35.94 kB / 0.7549 GB, free: 100 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001616/0.6253, allocations: 0.9095 MB / 0.7558 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6253, allocations: 0 / 0.7558 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001637/0.6269, allocations: 0.5187 MB / 0.7563 GB, free: 14.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02049/0.6474, allocations: 6.474 MB / 0.7626 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009387/0.6568, allocations: 2.658 MB / 0.7652 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6568, allocations: 0 / 0.7652 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006738/0.6635, allocations: 1.832 MB / 0.767 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.6648, allocations: 136 kB / 0.7671 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04995/0.7147, allocations: 19.04 MB / 0.7857 GB, free: 252 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009216/0.7156, allocations: 1.207 MB / 0.7869 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006405/0.7163, allocations: 137.7 kB / 0.787 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008981/0.7172, allocations: 0.5813 MB / 0.7876 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/0.7172, allocations: 0 / 0.7876 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08817/0.8054, allocations: 42.6 MB / 0.8292 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.53, allocations: 7.938 kB / 0.8292 GB, free: 3.801 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1_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_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.015491316997213] Failed to read output from testmodel.py, exit status != 0: 15.657760992005933 15.673767197 15.507418737 Calling exit ...