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.0008872/0.0008871, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.298/1.298, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001378/0.001378, allocations: 193 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.439/0.439, allocations: 78.53 MB / 419.8 MB, free: 4.387 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003377, allocations: 8 kB / 499.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1218, allocations: 69.36 MB / 0.5557 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.2036/0.3255, allocations: 7.92 MB / 0.5634 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.3303, allocations: 2.766 MB / 0.5661 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.332, allocations: 17.81 kB / 0.5661 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000987/0.333, allocations: 253.1 kB / 0.5664 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.3359, allocations: 1.105 MB / 0.5675 GB, free: 36.12 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.001722/0.3376, allocations: 0.6997 MB / 0.5681 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.3399, allocations: 1.629 MB / 0.5697 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006019/0.3406, allocations: 450.1 kB / 0.5702 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.3417, allocations: 0.8353 MB / 0.571 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.343, allocations: 1.049 MB / 0.572 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.3433, allocations: 95.03 kB / 0.5721 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006835/0.3439, allocations: 284 kB / 0.5724 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.3443, allocations: 391.6 kB / 0.5727 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.3447, allocations: 335.1 kB / 0.5731 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.3465, allocations: 1.92 MB / 0.5749 GB, free: 33.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.3466, allocations: 2.875 kB / 0.5749 GB, free: 33.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.387e-05/0.3466, allocations: 0 / 0.5749 GB, free: 33.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.477e-05/0.3466, allocations: 0 / 0.5749 GB, free: 33.04 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.01307/0.3597, allocations: 4.024 MB / 0.5789 GB, free: 31.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3598, allocations: 10.5 kB / 0.5789 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004739/0.3645, allocations: 0.7834 MB / 0.5796 GB, free: 31.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.3671, allocations: 1.162 MB / 0.5808 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/0.3676, allocations: 0.5004 MB / 0.5813 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/0.3679, allocations: 144.7 kB / 0.5814 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003154/0.3711, allocations: 1.76 MB / 0.5831 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3711, allocations: 3.953 kB / 0.5831 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.3712, allocations: 50.03 kB / 0.5832 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.3713, allocations: 31.23 kB / 0.5832 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003262/0.3745, allocations: 1.618 MB / 0.5848 GB, free: 28.88 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.01013/0.3847, allocations: 6.162 MB / 0.5908 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009021/0.3937, allocations: 3.693 MB / 0.5944 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.394, allocations: 19.77 kB / 0.5944 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002594/0.3966, allocations: 1.242 MB / 0.5956 GB, free: 23.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 4.037e-06/0.3966, allocations: 3.938 kB / 0.5956 GB, free: 23.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.05063/0.4472, allocations: 15.75 MB / 0.611 GB, free: 19.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4473, allocations: 204.6 kB / 0.6112 GB, free: 19.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.4497, allocations: 1.531 MB / 0.6127 GB, free: 18.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003009/0.45, allocations: 57.95 kB / 0.6128 GB, free: 18.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.4505, allocations: 0.7118 MB / 0.6135 GB, free: 17.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005108/0.451, allocations: 0.5155 MB / 0.614 GB, free: 17.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.4512, allocations: 41.62 kB / 0.614 GB, free: 17.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.4513, allocations: 392 kB / 0.6144 GB, free: 16.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.4536, allocations: 1.151 MB / 0.6155 GB, free: 16.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.456, allocations: 1.401 MB / 0.6169 GB, free: 15.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.4583, allocations: 1.269 MB / 0.6181 GB, free: 13.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.4583, allocations: 7.953 kB / 0.6181 GB, free: 13.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01024/0.4686, allocations: 4.737 MB / 0.6227 GB, free: 8.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.4689, allocations: 1.743 MB / 0.6244 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.4689, allocations: 4 kB / 0.6244 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008874/0.4778, allocations: 3.097 MB / 0.6275 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.4793, allocations: 317.3 kB / 0.6278 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009933/0.4893, allocations: 5.487 MB / 0.6331 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.492, allocations: 227.9 kB / 0.6334 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/0.4923, allocations: 75.97 kB / 0.6334 GB, free: 13.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4924, allocations: 13.05 kB / 0.6334 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01116/0.5035, allocations: 4.456 MB / 0.6378 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.5036, allocations: 4 kB / 0.6378 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009474/0.513, allocations: 3.047 MB / 0.6408 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.5145, allocations: 312.9 kB / 0.6411 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.5248, allocations: 5.371 MB / 0.6463 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.5273, allocations: 224.7 kB / 0.6465 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004019/0.5277, allocations: 71.98 kB / 0.6466 GB, free: 15.95 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.0009845/0.5287, allocations: 420.8 kB / 0.647 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004927/0.5292, allocations: 177.8 kB / 0.6472 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01815/0.5474, allocations: 6.252 MB / 0.6533 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5475, allocations: 16 kB / 0.6533 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5475, allocations: 0 / 0.6533 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/0.5475, allocations: 11.97 kB / 0.6533 GB, free: 9.047 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.02229/0.5698, allocations: 8.621 MB / 0.6617 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.5699, allocations: 1.688 kB / 0.6617 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.5709, allocations: 167.7 kB / 0.6619 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008538/0.5795, allocations: 2.662 MB / 0.6645 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002698/0.5798, allocations: 37.17 kB / 0.6645 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02986/0.6096, allocations: 13.03 MB / 0.6772 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6097, allocations: 1.125 kB / 0.6772 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/0.6312, allocations: 7.657 MB / 0.6847 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/0.632, allocations: 278.6 kB / 0.685 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/0.6326, allocations: 28 kB / 0.685 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/0.6346, allocations: 203.8 kB / 0.6852 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009459/0.6355, allocations: 309.2 kB / 0.6855 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.6357, allocations: 39.98 kB / 0.6855 GB, free: 7.543 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001719/0.6375, allocations: 1.022 MB / 0.6865 GB, free: 6.527 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6375, allocations: 0 / 0.6865 GB, free: 6.527 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003035/0.6405, allocations: 0.8634 MB / 0.6874 GB, free: 5.664 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.0003972/0.6409, allocations: 155 kB / 0.6875 GB, free: 5.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01822/0.6591, allocations: 6.417 MB / 0.6938 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.6592, allocations: 0 / 0.6938 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007463/0.6667, allocations: 2.449 MB / 0.6962 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.6683, allocations: 142.5 kB / 0.6963 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007967/0.6763, allocations: 4.186 MB / 0.7004 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009797/0.6773, allocations: 1.376 MB / 0.7018 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009711/0.6783, allocations: 186.2 kB / 0.7019 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/0.6787, allocations: 103.4 kB / 0.702 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of SimCode: time 7.91e-07/0.6787, allocations: 0 / 0.702 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.05641/0.7352, allocations: 35.55 MB / 0.7367 GB, free: 3.129 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: