Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 175.5 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 239.7 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007585/0.0007583, allocations: 93.25 kB / 290.4 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4787/0.4787, allocations: 78.42 MB / 419.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 12.22 kB / 499.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3488, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.007809/0.3567, allocations: 9.388 MB / 0.5637 GB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005928/0.3627, allocations: 2.875 MB / 0.5665 GB, free: 7.914 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.3646, allocations: 23.94 kB / 0.5665 GB, free: 7.891 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.3657, allocations: 274.2 kB / 0.5668 GB, free: 7.621 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.3691, allocations: 1.13 MB / 0.5679 GB, free: 6.492 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.371, allocations: 0.8205 MB / 0.5687 GB, free: 5.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002662/0.3737, allocations: 2.51 MB / 0.5711 GB, free: 3.164 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/0.3744, allocations: 0.497 MB / 0.5716 GB, free: 2.637 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.3754, allocations: 0.8476 MB / 0.5724 GB, free: 1.785 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008591/0.3763, allocations: 1.112 MB / 0.5735 GB, free: 0.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.3765, allocations: 96 kB / 0.5736 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006307/0.3771, allocations: 299.8 kB / 0.5739 GB, free: 288 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.3775, allocations: 398 kB / 0.5743 GB, free: 15.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008057/0.3783, allocations: 0.9121 MB / 0.5752 GB, free: 14.97 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.3803, allocations: 1.971 MB / 0.5771 GB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3803, allocations: 0 / 0.5771 GB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3803, allocations: 0 / 0.5771 GB, free: 13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.791e-05/0.3803, allocations: 0 / 0.5771 GB, free: 13 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.01497/0.3953, allocations: 3.894 MB / 0.5809 GB, free: 9.035 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.3954, allocations: 8.031 kB / 0.5809 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/0.4005, allocations: 0.7819 MB / 0.5817 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.4032, allocations: 1.208 MB / 0.5829 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005194/0.4038, allocations: 0.4926 MB / 0.5833 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.404, allocations: 143.9 kB / 0.5835 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.4073, allocations: 1.693 MB / 0.5851 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4074, allocations: 0 / 0.5851 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.4075, allocations: 52 kB / 0.5852 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.4076, allocations: 28 kB / 0.5852 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.4108, allocations: 1.52 MB / 0.5867 GB, free: 2.91 MB / 394.7 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.00957/0.4204, allocations: 5.952 MB / 0.5925 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008154/0.4285, allocations: 3.113 MB / 0.5955 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.4305, allocations: 0.9949 MB / 0.5965 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.4307, allocations: 29.23 kB / 0.5965 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002284/0.433, allocations: 1.174 MB / 0.5977 GB, free: 7.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 3.025e-06/0.433, allocations: 0 / 0.5977 GB, free: 7.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.04965/0.4826, allocations: 13.45 MB / 0.6108 GB, free: 9.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.4828, allocations: 197.2 kB / 0.611 GB, free: 9.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.4865, allocations: 1.543 MB / 0.6125 GB, free: 7.879 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004519/0.487, allocations: 57.7 kB / 0.6126 GB, free: 7.816 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.4878, allocations: 0.7145 MB / 0.6133 GB, free: 7.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008404/0.4887, allocations: 0.5199 MB / 0.6138 GB, free: 6.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.4891, allocations: 201.9 kB / 0.614 GB, free: 6.359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4892, allocations: 305.1 kB / 0.6143 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/0.493, allocations: 1.066 MB / 0.6153 GB, free: 4.988 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003996/0.497, allocations: 1.325 MB / 0.6166 GB, free: 3.586 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007551/0.5046, allocations: 2.347 MB / 0.6189 GB, free: 1.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5046, allocations: 11.94 kB / 0.6189 GB, free: 1.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.02107/0.5257, allocations: 4.903 MB / 0.6237 GB, free: 12.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003124/0.5261, allocations: 264.6 kB / 0.6239 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.5261, allocations: 4 kB / 0.6239 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01346/0.5396, allocations: 2.698 MB / 0.6266 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/0.5422, allocations: 311.5 kB / 0.6269 GB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.5572, allocations: 4.999 MB / 0.6318 GB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.5603, allocations: 187.8 kB / 0.6319 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.5605, allocations: 67.98 kB / 0.632 GB, free: 3.422 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.5606, allocations: 6.344 kB / 0.632 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01473/0.5753, allocations: 4.666 MB / 0.6366 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.5754, allocations: 4 kB / 0.6366 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009224/0.5846, allocations: 2.671 MB / 0.6392 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.5864, allocations: 311.6 kB / 0.6395 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00991/0.5963, allocations: 4.931 MB / 0.6443 GB, free: 6.617 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.5989, allocations: 175.9 kB / 0.6445 GB, free: 6.445 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.5992, allocations: 75.97 kB / 0.6445 GB, free: 6.371 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (29,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0009881/0.6002, allocations: 414.3 kB / 0.6449 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/0.6006, allocations: 189.6 kB / 0.6451 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/0.6173, allocations: 5.17 MB / 0.6502 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.6174, allocations: 23.92 kB / 0.6502 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6174, allocations: 0 / 0.6502 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.938e-05/0.6175, allocations: 3.984 kB / 0.6502 GB, free: 0.5469 MB / 458.7 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.02057/0.6381, allocations: 7.487 MB / 0.6575 GB, free: 8.922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.6381, allocations: 0 / 0.6575 GB, free: 8.922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6392, allocations: 171.9 kB / 0.6577 GB, free: 8.754 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007622/0.6468, allocations: 2.275 MB / 0.6599 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/0.6471, allocations: 32 kB / 0.6599 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02626/0.6734, allocations: 11.16 MB / 0.6708 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6734, allocations: 4.031 kB / 0.6708 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/0.6934, allocations: 6.438 MB / 0.6771 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/0.6942, allocations: 270.6 kB / 0.6774 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/0.6944, allocations: 32 kB / 0.6774 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.6961, allocations: 151.8 kB / 0.6775 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008825/0.697, allocations: 313.1 kB / 0.6778 GB, free: 3.762 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6971, allocations: 43.98 kB / 0.6779 GB, free: 3.719 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001458/0.6986, allocations: 1.03 MB / 0.6789 GB, free: 2.695 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6986, allocations: 0 / 0.6789 GB, free: 2.695 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002196/0.7008, allocations: 0.8673 MB / 0.6797 GB, free: 1.828 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003024/0.7011, allocations: 151.1 kB / 0.6799 GB, free: 1.672 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.303/1.004, allocations: 5.714 MB / 0.6854 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/1.004, allocations: 5.125 kB / 0.6855 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006764/1.011, allocations: 2.141 MB / 0.6875 GB, free: 117.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/1.013, allocations: 172.6 kB / 0.6877 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/1.021, allocations: 4.225 MB / 0.6918 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.022, allocations: 1.342 MB / 0.6931 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/1.022, allocations: 108.8 kB / 0.6932 GB, free: 114 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/1.022, allocations: 0 / 0.6932 GB, free: 114 MB / 490.7 MB Notification: Performance of Templates: time 0.04591/1.068, allocations: 36.48 MB / 0.7289 GB, free: 82.74 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)