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.001327/0.001327, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.443/1.443, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.001477/0.001477, allocations: 212.4 kB / 310 MB, free: 3.094 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.4767/0.4767, allocations: 79.74 MB / 446.2 MB, free: 40.46 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="cs",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.002406/0.002406, allocations: 84.22 kB / 0.5936 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1063, allocations: 73.29 MB / 0.6652 GB, free: 428 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008549/0.1149, allocations: 6.991 MB / 0.672 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005711/0.1206, allocations: 2.424 MB / 0.6744 GB, free: 8.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1217, allocations: 12 kB / 0.6744 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008816/0.1226, allocations: 313.4 kB / 0.6747 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.126, allocations: 1.231 MB / 0.6759 GB, free: 6.859 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.1276, allocations: 0.6703 MB / 0.6766 GB, free: 6.195 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003092/0.1307, allocations: 2.309 MB / 0.6788 GB, free: 3.879 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.1312, allocations: 266.1 kB / 0.6791 GB, free: 3.594 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.1324, allocations: 0.8873 MB / 0.6799 GB, free: 2.703 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.1338, allocations: 1.124 MB / 0.681 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002777/0.1341, allocations: 172 kB / 0.6812 GB, free: 1.406 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006656/0.1347, allocations: 343.9 kB / 0.6815 GB, free: 1.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000418/0.1352, allocations: 458.2 kB / 0.682 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007326/0.1359, allocations: 0.7228 MB / 0.6827 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.1383, allocations: 2.214 MB / 0.6848 GB, free: 13.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1383, allocations: 0 / 0.6848 GB, free: 13.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1383, allocations: 4 kB / 0.6848 GB, free: 13.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.1383, allocations: 0 / 0.6848 GB, free: 13.67 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.01413/0.1525, allocations: 3.949 MB / 0.6887 GB, free: 9.668 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1525, allocations: 8.031 kB / 0.6887 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.981e-05/0.1525, allocations: 25.94 kB / 0.6887 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.1527, allocations: 147.6 kB / 0.6889 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.1574, allocations: 0.7521 MB / 0.6896 GB, free: 8.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.1594, allocations: 1.025 MB / 0.6906 GB, free: 7.664 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005653/0.1599, allocations: 0.5656 MB / 0.6912 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.1601, allocations: 107.9 kB / 0.6913 GB, free: 6.887 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.163, allocations: 1.36 MB / 0.6926 GB, free: 5.512 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.163, allocations: 0 / 0.6926 GB, free: 5.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.1631, allocations: 36 kB / 0.6926 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.1631, allocations: 24 kB / 0.6926 GB, free: 5.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.166, allocations: 1.308 MB / 0.6939 GB, free: 4.141 MB / 478.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.008053/0.1741, allocations: 3.583 MB / 0.6974 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008024/0.1821, allocations: 2.325 MB / 0.6997 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.1839, allocations: 0.8097 MB / 0.7005 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.1841, allocations: 24.98 kB / 0.7005 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002195/0.1863, allocations: 1.046 MB / 0.7015 GB, free: 12.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 3.476e-06/0.1863, allocations: 3.938 kB / 0.7015 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04214/0.2284, allocations: 9.79 MB / 0.7111 GB, free: 2.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/0.2285, allocations: 127.7 kB / 0.7112 GB, free: 2.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.2309, allocations: 1.345 MB / 0.7125 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.2312, allocations: 49.7 kB / 0.7126 GB, free: 0.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/0.2317, allocations: 0.5772 MB / 0.7131 GB, free: 256 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006064/0.2323, allocations: 476.2 kB / 0.7136 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006487/0.233, allocations: 327.5 kB / 0.7139 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2331, allocations: 304.9 kB / 0.7142 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/0.2352, allocations: 0.9526 MB / 0.7151 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.2376, allocations: 1.151 MB / 0.7163 GB, free: 13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004276/0.2418, allocations: 2.046 MB / 0.7182 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2418, allocations: 4 kB / 0.7183 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.0103/0.2521, allocations: 3.793 MB / 0.722 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.2522, allocations: 7.984 kB / 0.722 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.2522, allocations: 7.984 kB / 0.722 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009751/0.2619, allocations: 2.665 MB / 0.7246 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.2637, allocations: 299.5 kB / 0.7249 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006492/0.2702, allocations: 2.69 MB / 0.7275 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.2725, allocations: 250.7 kB / 0.7277 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.2726, allocations: 67.98 kB / 0.7278 GB, free: 1.094 MB / 0.4981 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 (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.0006234/0.2733, allocations: 287.5 kB / 0.7281 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.2736, allocations: 170.9 kB / 0.7282 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/0.2896, allocations: 4.724 MB / 0.7328 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.2896, allocations: 12 kB / 0.7329 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2896, allocations: 0 / 0.7329 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.2896, allocations: 7.984 kB / 0.7329 GB, free: 11.87 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 postOpt removeSimpleEquations (simulation): time 0.01866/0.3083, allocations: 6.106 MB / 0.7388 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.3083, allocations: 0 / 0.7388 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.3092, allocations: 135.8 kB / 0.739 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007627/0.3168, allocations: 2.134 MB / 0.741 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.317, allocations: 27.98 kB / 0.7411 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02672/0.3437, allocations: 9.719 MB / 0.7506 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.3438, allocations: 7.938 kB / 0.7506 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/0.3629, allocations: 5.882 MB / 0.7563 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.3635, allocations: 194.6 kB / 0.7565 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.3638, allocations: 27.98 kB / 0.7565 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.3653, allocations: 139.8 kB / 0.7567 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009048/0.3662, allocations: 265.3 kB / 0.7569 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.3663, allocations: 35.98 kB / 0.7569 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001497/0.3678, allocations: 0.9095 MB / 0.7578 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3678, allocations: 0 / 0.7578 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00143/0.3693, allocations: 0.5229 MB / 0.7583 GB, free: 1.551 MB / 0.5294 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.01926/0.3885, allocations: 6.483 MB / 0.7647 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008958/0.3975, allocations: 2.661 MB / 0.7673 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3975, allocations: 0 / 0.7673 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006474/0.404, allocations: 1.837 MB / 0.7691 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.4052, allocations: 134.7 kB / 0.7692 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04761/0.4529, allocations: 19.03 MB / 0.7878 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.4535, allocations: 0.6247 MB / 0.7884 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006807/0.4542, allocations: 145.6 kB / 0.7885 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009178/0.4551, allocations: 0.5774 MB / 0.7891 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.4551, allocations: 0 / 0.7891 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3758/0.831, allocations: 43.24 MB / 0.8313 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.27, allocations: 13.89 kB / 0.8313 GB, free: 124.6 MB / 0.5762 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 21.073342846008018] Failed to read output from testmodel.py, exit status != 0: 17.467159400926903 17.47786635 17.337244569 Calling exit ...