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.001384/0.001384, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.509/1.509, allocations: 230.6 MB / 250.5 MB, free: 9.215 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.001636/0.001636, allocations: 212.3 kB / 306.7 MB, free: 4.273 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.611/0.611, allocations: 107.3 MB / 470 MB, free: 6.234 MB / 334.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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") [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.002622/0.002622, allocations: 101.4 kB / 0.6294 GB, free: 7.238 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.505/0.5076, allocations: 80.14 MB / 0.7076 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008961/0.5166, allocations: 8.077 MB / 0.7155 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006543/0.5231, allocations: 2.554 MB / 0.718 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001864/0.525, allocations: 14.41 kB / 0.718 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.5262, allocations: 311.5 kB / 0.7183 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.53, allocations: 1.063 MB / 0.7193 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.5324, allocations: 0.7683 MB / 0.7201 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004144/0.5365, allocations: 2.129 MB / 0.7222 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006142/0.5371, allocations: 258.5 kB / 0.7224 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.539, allocations: 0.8701 MB / 0.7233 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.5409, allocations: 1.109 MB / 0.7243 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000404/0.5413, allocations: 175.7 kB / 0.7245 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009909/0.5423, allocations: 361.5 kB / 0.7249 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.5429, allocations: 449 kB / 0.7253 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.544, allocations: 0.8678 MB / 0.7261 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.5483, allocations: 2.193 MB / 0.7283 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5483, allocations: 0 / 0.7283 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5483, allocations: 0.9375 kB / 0.7283 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.366e-05/0.5484, allocations: 0 / 0.7283 GB, free: 8.027 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.01623/0.5646, allocations: 3.564 MB / 0.7318 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5646, allocations: 12.69 kB / 0.7318 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005467/0.5701, allocations: 0.7546 MB / 0.7325 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.5731, allocations: 1.103 MB / 0.7336 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006026/0.5737, allocations: 420.7 kB / 0.734 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.574, allocations: 107.3 kB / 0.7341 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/0.5775, allocations: 1.382 MB / 0.7354 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.5775, allocations: 0 / 0.7354 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.5776, allocations: 40.41 kB / 0.7355 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.5777, allocations: 25.2 kB / 0.7355 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/0.5812, allocations: 1.315 MB / 0.7368 GB, free: 3.227 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.01129/0.5925, allocations: 4.665 MB / 0.7413 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009322/0.6018, allocations: 2.803 MB / 0.7441 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.6045, allocations: 0.8321 MB / 0.7449 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.6048, allocations: 21.45 kB / 0.7449 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003099/0.6079, allocations: 1.061 MB / 0.7459 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=125): time 5.289e-06/0.6079, allocations: 0 / 0.7459 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125): time 0.04904/0.6569, allocations: 10.21 MB / 0.7559 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.657, allocations: 119.9 kB / 0.756 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.6603, allocations: 1.357 MB / 0.7574 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004383/0.6608, allocations: 53.7 kB / 0.7574 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000653/0.6614, allocations: 0.5694 MB / 0.758 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009429/0.6624, allocations: 479.9 kB / 0.7584 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.6637, allocations: 331.5 kB / 0.7587 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6638, allocations: 309.1 kB / 0.759 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/0.6665, allocations: 0.9604 MB / 0.76 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.6692, allocations: 1.158 MB / 0.7611 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005095/0.6743, allocations: 2.073 MB / 0.7631 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.6743, allocations: 0 / 0.7631 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.0125/0.6868, allocations: 3.809 MB / 0.7668 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.6869, allocations: 12.06 kB / 0.7669 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.6869, allocations: 4 kB / 0.7669 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.6979, allocations: 2.733 MB / 0.7695 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.6996, allocations: 303.5 kB / 0.7698 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007532/0.7071, allocations: 2.711 MB / 0.7725 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/0.7101, allocations: 250.8 kB / 0.7727 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/0.7104, allocations: 59.98 kB / 0.7728 GB, free: 5.152 MB / 0.5294 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.0009044/0.7113, allocations: 301.5 kB / 0.7731 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006445/0.712, allocations: 159 kB / 0.7732 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/0.7301, allocations: 4.775 MB / 0.7779 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.7302, allocations: 16 kB / 0.7779 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.7302, allocations: 0 / 0.7779 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-05/0.7302, allocations: 3.984 kB / 0.7779 GB, free: 15.88 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.02414/0.7544, allocations: 6.899 MB / 0.7846 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/0.7544, allocations: 0 / 0.7846 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7554, allocations: 139.8 kB / 0.7848 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009042/0.7645, allocations: 2.192 MB / 0.7869 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004373/0.7649, allocations: 35.97 kB / 0.7869 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03196/0.7969, allocations: 10.2 MB / 0.7969 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.7969, allocations: 7.938 kB / 0.7969 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/0.82, allocations: 5.964 MB / 0.8027 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009705/0.821, allocations: 279.6 kB / 0.803 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007463/0.8217, allocations: 27.98 kB / 0.803 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002273/0.824, allocations: 139.8 kB / 0.8032 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00123/0.8252, allocations: 257.4 kB / 0.8034 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00034/0.8255, allocations: 35.98 kB / 0.8034 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002143/0.8277, allocations: 0.9134 MB / 0.8043 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8277, allocations: 0 / 0.8043 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002479/0.8302, allocations: 0.5152 MB / 0.8048 GB, free: 3.922 MB / 0.5606 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.0004985/0.8307, allocations: 147 kB / 0.805 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01061/0.8413, allocations: 2.711 MB / 0.8076 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8413, allocations: 0 / 0.8076 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00759/0.8489, allocations: 1.875 MB / 0.8094 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.8509, allocations: 141.7 kB / 0.8096 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/0.86, allocations: 3.041 MB / 0.8126 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/0.8621, allocations: 1.2 MB / 0.8137 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/0.8633, allocations: 107.4 kB / 0.8138 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of SimCode: time 1.572e-06/0.8633, allocations: 4 kB / 0.8138 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.07234/0.9356, allocations: 25.39 MB / 0.8386 GB, free: 1.195 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile [Timeout 660] (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.165016585960984] Failed to read output from testmodel.py, exit status != 0: 0.9463271780405194 0.975202848 0.421331267 Calling exit ...