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.001311/0.001311, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.407/1.407, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.002547/0.002547, allocations: 219.2 kB / 310 MB, free: 3.113 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.6079/0.6079, allocations: 101.3 MB / 467.8 MB, free: 30.52 MB / 350.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.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_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.0025/0.0025, allocations: 90.36 kB / 0.6252 GB, free: 33.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1474, allocations: 78.61 MB / 0.7019 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.01023/0.1577, allocations: 8.112 MB / 0.7099 GB, free: 8.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006204/0.1639, allocations: 2.548 MB / 0.7124 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.1653, allocations: 20 kB / 0.7124 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.1668, allocations: 309.4 kB / 0.7127 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.1708, allocations: 1.063 MB / 0.7137 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.1731, allocations: 0.7763 MB / 0.7145 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003878/0.177, allocations: 2.158 MB / 0.7166 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000831/0.1779, allocations: 270 kB / 0.7168 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.1797, allocations: 0.8716 MB / 0.7177 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.1818, allocations: 1.105 MB / 0.7188 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007556/0.1826, allocations: 176 kB / 0.7189 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1839, allocations: 363.8 kB / 0.7193 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008333/0.1847, allocations: 438.3 kB / 0.7197 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.1863, allocations: 0.878 MB / 0.7206 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.1903, allocations: 2.19 MB / 0.7227 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1903, allocations: 3.938 kB / 0.7227 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1903, allocations: 0 / 0.7227 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.46e-05/0.1904, allocations: 0 / 0.7227 GB, free: 11.74 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.0149/0.2053, allocations: 3.661 MB / 0.7263 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.2053, allocations: 8.031 kB / 0.7263 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.233e-05/0.2054, allocations: 30 kB / 0.7263 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004652/0.2059, allocations: 139.7 kB / 0.7264 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/0.2111, allocations: 0.7598 MB / 0.7272 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/0.2143, allocations: 1.033 MB / 0.7282 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009038/0.2152, allocations: 0.5656 MB / 0.7287 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005805/0.2158, allocations: 111.9 kB / 0.7288 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.2203, allocations: 1.38 MB / 0.7302 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.2203, allocations: 0 / 0.7302 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.2206, allocations: 36 kB / 0.7302 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.2206, allocations: 24 kB / 0.7303 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.2248, allocations: 1.312 MB / 0.7315 GB, free: 2.469 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.01328/0.2381, allocations: 4.615 MB / 0.736 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008975/0.2471, allocations: 2.354 MB / 0.7383 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002294/0.2494, allocations: 0.8253 MB / 0.7391 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.2495, allocations: 24.97 kB / 0.7392 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002747/0.2523, allocations: 1.062 MB / 0.7402 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=125): time 4.489e-06/0.2523, allocations: 0 / 0.7402 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125): time 0.04638/0.2987, allocations: 10.14 MB / 0.7501 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.2988, allocations: 115.8 kB / 0.7502 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/0.3017, allocations: 1.353 MB / 0.7515 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004434/0.3022, allocations: 49.7 kB / 0.7516 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/0.3029, allocations: 0.5733 MB / 0.7521 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008912/0.3038, allocations: 472 kB / 0.7526 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.3051, allocations: 335.4 kB / 0.7529 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3052, allocations: 309.1 kB / 0.7532 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/0.3082, allocations: 0.9643 MB / 0.7542 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.3113, allocations: 1.158 MB / 0.7553 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006134/0.3175, allocations: 2.062 MB / 0.7573 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-05/0.3175, allocations: 8 kB / 0.7573 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01399/0.3315, allocations: 3.808 MB / 0.761 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.3315, allocations: 4 kB / 0.761 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.3315, allocations: 4 kB / 0.761 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/0.3426, allocations: 2.731 MB / 0.7637 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.3444, allocations: 303.5 kB / 0.764 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008048/0.3524, allocations: 2.705 MB / 0.7666 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.3553, allocations: 258.7 kB / 0.7669 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004932/0.3558, allocations: 67.92 kB / 0.7669 GB, free: 13.72 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.001232/0.3571, allocations: 294.4 kB / 0.7672 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006922/0.3578, allocations: 163 kB / 0.7674 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01849/0.3763, allocations: 4.767 MB / 0.772 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/0.3763, allocations: 15.94 kB / 0.772 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.3763, allocations: 4 kB / 0.7721 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.833e-05/0.3763, allocations: 11.92 kB / 0.7721 GB, free: 8.441 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.02275/0.3991, allocations: 6.859 MB / 0.7788 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.3991, allocations: 0 / 0.7788 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.4001, allocations: 143.8 kB / 0.7789 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008668/0.4088, allocations: 2.196 MB / 0.781 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003482/0.4091, allocations: 31.98 kB / 0.7811 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03162/0.4407, allocations: 10.11 MB / 0.7909 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.4407, allocations: 0 / 0.7909 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02187/0.4626, allocations: 5.968 MB / 0.7968 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/0.4634, allocations: 202.5 kB / 0.797 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/0.464, allocations: 23.94 kB / 0.797 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/0.4662, allocations: 147.8 kB / 0.7971 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001242/0.4675, allocations: 261.3 kB / 0.7974 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002893/0.4677, allocations: 35.98 kB / 0.7974 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002085/0.4698, allocations: 0.9134 MB / 0.7983 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.51e-07/0.4698, allocations: 4 kB / 0.7983 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002614/0.4724, allocations: 0.5191 MB / 0.7988 GB, free: 12.74 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.02297/0.4954, allocations: 6.568 MB / 0.8052 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01059/0.506, allocations: 2.708 MB / 0.8079 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.506, allocations: 0 / 0.8079 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007343/0.5134, allocations: 1.887 MB / 0.8097 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.5153, allocations: 127.4 kB / 0.8098 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3767/0.892, allocations: 19.11 MB / 0.8285 GB, free: 98.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.893, allocations: 1.206 MB / 0.8297 GB, free: 97.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008115/0.8938, allocations: 141.8 kB / 0.8298 GB, free: 97.85 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.8949, allocations: 0.5773 MB / 0.8304 GB, free: 97.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.392e-06/0.8949, allocations: 1.375 kB / 0.8304 GB, free: 97.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08441/0.9793, allocations: 43.95 MB / 0.8733 GB, free: 58.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.63, allocations: 6.703 kB / 0.8733 GB, free: 58.82 MB / 0.5762 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 20.546909272903576] Failed to read output from testmodel.py, exit status != 0: 16.823963208007626 16.839998685 16.646057116 Calling exit ...