Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008256/0.0008256, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 239 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 172.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4772/0.4772, allocations: 78.56 MB / 419.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003712, allocations: 15.92 kB / 499.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 69.37 MB / 0.5558 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.2334/0.3679, allocations: 8.266 MB / 0.5639 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006405/0.3744, allocations: 2.721 MB / 0.5665 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.3765, allocations: 17.16 kB / 0.5666 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.3779, allocations: 252.1 kB / 0.5668 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.3818, allocations: 1.034 MB / 0.5678 GB, free: 35.7 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.002148/0.384, allocations: 0.7082 MB / 0.5685 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003978/0.388, allocations: 2.354 MB / 0.5708 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000987/0.389, allocations: 447.7 kB / 0.5712 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.3906, allocations: 0.8289 MB / 0.572 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.3923, allocations: 1.075 MB / 0.5731 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007466/0.393, allocations: 93.88 kB / 0.5732 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.3944, allocations: 296.5 kB / 0.5735 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004483/0.3949, allocations: 389.3 kB / 0.5738 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008176/0.3957, allocations: 338.4 kB / 0.5742 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.3981, allocations: 1.965 MB / 0.5761 GB, free: 32.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3982, allocations: 0 / 0.5761 GB, free: 32.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3982, allocations: 0.8125 kB / 0.5761 GB, free: 32.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.774e-05/0.3983, allocations: 0 / 0.5761 GB, free: 32.67 MB / 430.1 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.01388/0.4121, allocations: 4.032 MB / 0.58 GB, free: 31.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4122, allocations: 12.17 kB / 0.58 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0049/0.4171, allocations: 0.7798 MB / 0.5808 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.4197, allocations: 1.158 MB / 0.5819 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004735/0.4202, allocations: 0.4984 MB / 0.5824 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000415/0.4207, allocations: 147.9 kB / 0.5825 GB, free: 29.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/0.424, allocations: 1.774 MB / 0.5843 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.424, allocations: 3.953 kB / 0.5843 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.4242, allocations: 47.56 kB / 0.5843 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.4242, allocations: 28.8 kB / 0.5844 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.4279, allocations: 1.619 MB / 0.5859 GB, free: 28.5 MB / 430.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.01018/0.4381, allocations: 6.041 MB / 0.5918 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008537/0.4467, allocations: 3.684 MB / 0.5954 GB, free: 23.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/0.4492, allocations: 1.077 MB / 0.5965 GB, free: 23.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.4494, allocations: 31.56 kB / 0.5965 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003127/0.4525, allocations: 1.246 MB / 0.5977 GB, free: 22.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 6.242e-06/0.4526, allocations: 7.938 kB / 0.5977 GB, free: 22.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.05055/0.5031, allocations: 15.75 MB / 0.6131 GB, free: 18.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.5032, allocations: 200.9 kB / 0.6133 GB, free: 18.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.5057, allocations: 1.537 MB / 0.6148 GB, free: 17.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004515/0.5062, allocations: 61.69 kB / 0.6149 GB, free: 17.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.5067, allocations: 0.7027 MB / 0.6156 GB, free: 16.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/0.5073, allocations: 0.52 MB / 0.6161 GB, free: 16.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.5074, allocations: 40 kB / 0.6161 GB, free: 15.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.5075, allocations: 386.2 kB / 0.6165 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002058/0.5096, allocations: 1.152 MB / 0.6176 GB, free: 14.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.5118, allocations: 1.403 MB / 0.619 GB, free: 12.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/0.5141, allocations: 1.273 MB / 0.6202 GB, free: 11.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5141, allocations: 0 / 0.6202 GB, free: 11.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.009811/0.5239, allocations: 4.743 MB / 0.6248 GB, free: 6.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.5241, allocations: 260.6 kB / 0.6251 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5241, allocations: 4 kB / 0.6251 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008453/0.5326, allocations: 3.094 MB / 0.6281 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.5341, allocations: 311.6 kB / 0.6284 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009532/0.5436, allocations: 5.434 MB / 0.6337 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/0.5466, allocations: 235.9 kB / 0.6339 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/0.5469, allocations: 71.98 kB / 0.634 GB, free: 13.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.5469, allocations: 6.031 kB / 0.634 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0108/0.5577, allocations: 4.464 MB / 0.6384 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.5578, allocations: 4 kB / 0.6384 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009239/0.5671, allocations: 3.05 MB / 0.6414 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.5688, allocations: 311.6 kB / 0.6417 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009831/0.5786, allocations: 5.322 MB / 0.6469 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.5812, allocations: 227.8 kB / 0.6471 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/0.5815, allocations: 76.66 kB / 0.6471 GB, free: 15.59 MB / 462.1 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 ($whenCondition1,$whenCondition2,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,29 44} Notification: Performance of prepare postOptimizeDAE: time 0.0009931/0.5825, allocations: 414.6 kB / 0.6475 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.583, allocations: 185.7 kB / 0.6477 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/0.6003, allocations: 6.256 MB / 0.6538 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.6004, allocations: 12 kB / 0.6538 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6004, allocations: 7.219 kB / 0.6538 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.39e-05/0.6005, allocations: 3.984 kB / 0.6538 GB, free: 8.688 MB / 462.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 postOpt removeSimpleEquations (simulation): time 0.02111/0.6216, allocations: 8.573 MB / 0.6622 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.6217, allocations: 0 / 0.6622 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.6227, allocations: 171.7 kB / 0.6624 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008056/0.6308, allocations: 2.661 MB / 0.665 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003375/0.6312, allocations: 32.98 kB / 0.665 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02646/0.6577, allocations: 12.4 MB / 0.6771 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6577, allocations: 0 / 0.6771 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/0.6778, allocations: 7.591 MB / 0.6845 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007086/0.6785, allocations: 282.6 kB / 0.6848 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003816/0.6789, allocations: 28 kB / 0.6848 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.6806, allocations: 207.8 kB / 0.685 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009138/0.6815, allocations: 309.1 kB / 0.6853 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.6816, allocations: 43.98 kB / 0.6854 GB, free: 7.938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001581/0.6832, allocations: 1.018 MB / 0.6864 GB, free: 6.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6832, allocations: 0 / 0.6864 GB, free: 6.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002513/0.6857, allocations: 0.8673 MB / 0.6872 GB, free: 6.059 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003619/0.6861, allocations: 151.7 kB / 0.6874 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01694/0.7031, allocations: 6.414 MB / 0.6936 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7031, allocations: 8 kB / 0.6936 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006619/0.7097, allocations: 2.448 MB / 0.696 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.7113, allocations: 162 kB / 0.6962 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/0.7179, allocations: 4.146 MB / 0.7002 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/0.7188, allocations: 1.333 MB / 0.7015 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009455/0.7197, allocations: 190 kB / 0.7017 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.7201, allocations: 108.8 kB / 0.7018 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.7201, allocations: 0 / 0.7018 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.05338/0.7735, allocations: 35.61 MB / 0.7366 GB, free: 3.516 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1) Environment - environmentSimulation: