Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001337/0.001337, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.469/1.469, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001555/0.001555, allocations: 210.3 kB / 309.2 MB, free: 3.102 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.6266/0.6266, allocations: 107.3 MB / 473 MB, free: 29.86 MB / 350.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.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_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.002568/0.002568, allocations: 88.53 kB / 0.6333 GB, free: 29.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1315, allocations: 80.16 MB / 0.7115 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.01071/0.1423, allocations: 7.048 MB / 0.7184 GB, free: 444 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005768/0.148, allocations: 2.435 MB / 0.7208 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.1491, allocations: 12 kB / 0.7208 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.1502, allocations: 309.5 kB / 0.7211 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.1532, allocations: 1.039 MB / 0.7221 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.1551, allocations: 0.7681 MB / 0.7229 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002983/0.158, allocations: 2.143 MB / 0.725 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.1586, allocations: 254 kB / 0.7252 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.1599, allocations: 0.8755 MB / 0.7261 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.1615, allocations: 1.007 MB / 0.727 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004572/0.162, allocations: 176 kB / 0.7272 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008825/0.1629, allocations: 343.8 kB / 0.7275 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005168/0.1634, allocations: 446.3 kB / 0.728 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009421/0.1643, allocations: 0.715 MB / 0.7287 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.1671, allocations: 2.206 MB / 0.7308 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1671, allocations: 0 / 0.7308 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1671, allocations: 0 / 0.7308 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6e-05/0.1671, allocations: 0 / 0.7308 GB, free: 3.68 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.01335/0.1805, allocations: 3.671 MB / 0.7344 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1805, allocations: 8.031 kB / 0.7344 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.1808, allocations: 147.7 kB / 0.7346 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/0.1856, allocations: 0.7481 MB / 0.7353 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.1878, allocations: 1.037 MB / 0.7363 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006245/0.1884, allocations: 0.5617 MB / 0.7368 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.1886, allocations: 107.9 kB / 0.7369 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.1918, allocations: 1.38 MB / 0.7383 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.1919, allocations: 4 kB / 0.7383 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.192, allocations: 36 kB / 0.7383 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.192, allocations: 20 kB / 0.7384 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.1953, allocations: 1.316 MB / 0.7396 GB, free: 10.43 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.009023/0.2043, allocations: 3.568 MB / 0.7431 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008814/0.2131, allocations: 2.342 MB / 0.7454 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002262/0.2154, allocations: 0.8292 MB / 0.7462 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.2155, allocations: 17 kB / 0.7462 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002621/0.2181, allocations: 1.062 MB / 0.7473 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=125): time 4.208e-06/0.2182, allocations: 3.938 kB / 0.7473 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125): time 0.04706/0.2652, allocations: 10.14 MB / 0.7572 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2653, allocations: 119.8 kB / 0.7573 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.2679, allocations: 1.353 MB / 0.7586 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003042/0.2682, allocations: 53.7 kB / 0.7587 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/0.2687, allocations: 0.5656 MB / 0.7592 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006735/0.2694, allocations: 487.8 kB / 0.7597 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007651/0.2702, allocations: 327.5 kB / 0.76 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2703, allocations: 305.1 kB / 0.7603 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/0.2727, allocations: 0.9604 MB / 0.7612 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.2754, allocations: 1.162 MB / 0.7624 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004932/0.2803, allocations: 2.077 MB / 0.7644 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.2803, allocations: 0 / 0.7644 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01141/0.2917, allocations: 3.793 MB / 0.7681 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.2917, allocations: 12.31 kB / 0.7681 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.2917, allocations: 7.938 kB / 0.7681 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.3024, allocations: 2.727 MB / 0.7708 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.304, allocations: 303.6 kB / 0.7711 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/0.3112, allocations: 2.717 MB / 0.7737 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.3137, allocations: 242.9 kB / 0.7739 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/0.314, allocations: 59.97 kB / 0.774 GB, free: 6.867 MB / 0.545 GB 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 (175): * Single equations (assignments): 174 * 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.0008103/0.3148, allocations: 301.7 kB / 0.7743 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.3152, allocations: 162.9 kB / 0.7744 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/0.3326, allocations: 4.763 MB / 0.7791 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.3326, allocations: 12 kB / 0.7791 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.3326, allocations: 0 / 0.7791 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.3326, allocations: 15.91 kB / 0.7791 GB, free: 1.59 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.02051/0.3531, allocations: 6.164 MB / 0.7851 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.3531, allocations: 0 / 0.7851 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009182/0.3541, allocations: 135.8 kB / 0.7853 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008526/0.3626, allocations: 2.196 MB / 0.7874 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.3628, allocations: 28 kB / 0.7874 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02899/0.3918, allocations: 9.863 MB / 0.7971 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3918, allocations: 4 kB / 0.7971 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02048/0.4123, allocations: 5.968 MB / 0.8029 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/0.4128, allocations: 194.6 kB / 0.8031 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/0.4132, allocations: 27.94 kB / 0.8031 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.415, allocations: 135.8 kB / 0.8033 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008617/0.4158, allocations: 269.4 kB / 0.8035 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.416, allocations: 35.94 kB / 0.8035 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001618/0.4176, allocations: 0.9173 MB / 0.8044 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4176, allocations: 0 / 0.8044 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001533/0.4191, allocations: 0.5229 MB / 0.805 GB, free: 6.91 MB / 0.5762 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 (82): * Single equations (assignments): 81 * 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.4396, allocations: 6.573 MB / 0.8114 GB, free: 304 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2722/0.7118, allocations: 2.702 MB / 0.814 GB, free: 96.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.7119, allocations: 0 / 0.814 GB, free: 96.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006576/0.7184, allocations: 1.878 MB / 0.8158 GB, free: 95.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.7196, allocations: 133 kB / 0.816 GB, free: 95.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04645/0.7661, allocations: 19.13 MB / 0.8347 GB, free: 88.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.7666, allocations: 0.6195 MB / 0.8353 GB, free: 88.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000596/0.7672, allocations: 137.5 kB / 0.8354 GB, free: 88.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/0.7679, allocations: 0.5728 MB / 0.8359 GB, free: 88.23 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.7679, allocations: 0 / 0.8359 GB, free: 88.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07135/0.8393, allocations: 44.07 MB / 0.879 GB, free: 45.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.54, allocations: 16.11 kB / 0.879 GB, free: 45.83 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.206013132818043] Failed to read output from testmodel.py, exit status != 0: 15.687083045952022 15.698469103 15.528998205 Calling exit ...