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.001186/0.001187, allocations: 177.1 kB / 15.42 MB, free: 6.211 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.292/1.292, allocations: 222.9 MB / 239 MB, free: 96 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007864/0.0007861, allocations: 87.03 kB / 289.8 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3041/0.3041, allocations: 78.44 MB / 419 MB, free: 84 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 12.53 kB / 498.4 MB, free: 35.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 68.75 MB / 0.5539 GB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.01023/0.3425, allocations: 9.389 MB / 0.5631 GB, free: 4.031 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007629/0.3502, allocations: 2.888 MB / 0.5659 GB, free: 1.973 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.3528, allocations: 22.91 kB / 0.5659 GB, free: 1.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.3541, allocations: 277 kB / 0.5662 GB, free: 1.848 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.3584, allocations: 1.12 MB / 0.5673 GB, free: 1.129 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.00224/0.3606, allocations: 0.8156 MB / 0.568 GB, free: 0.668 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004225/0.3648, allocations: 2.511 MB / 0.5705 GB, free: 15.51 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008374/0.3657, allocations: 0.5049 MB / 0.571 GB, free: 15.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.3672, allocations: 0.8427 MB / 0.5718 GB, free: 14.85 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.3689, allocations: 1.107 MB / 0.5729 GB, free: 14.35 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.3692, allocations: 94.94 kB / 0.573 GB, free: 14.35 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009364/0.3701, allocations: 307 kB / 0.5733 GB, free: 14.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004904/0.3706, allocations: 400 kB / 0.5737 GB, free: 14.05 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.3717, allocations: 0.9096 MB / 0.5745 GB, free: 13.46 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.3751, allocations: 2.485 MB / 0.577 GB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3752, allocations: 5.125 kB / 0.577 GB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3752, allocations: 0 / 0.577 GB, free: 12.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.597e-05/0.3752, allocations: 0 / 0.577 GB, free: 12.43 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.01417/0.3894, allocations: 3.903 MB / 0.5808 GB, free: 10.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3894, allocations: 9.25 kB / 0.5808 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004841/0.3943, allocations: 0.7756 MB / 0.5816 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.3967, allocations: 1.222 MB / 0.5828 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005968/0.3973, allocations: 0.4888 MB / 0.5832 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.3976, allocations: 142.3 kB / 0.5834 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/0.4012, allocations: 1.692 MB / 0.585 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.4012, allocations: 1 kB / 0.585 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.4014, allocations: 55.58 kB / 0.5851 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.4014, allocations: 28.22 kB / 0.5851 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.4049, allocations: 1.522 MB / 0.5866 GB, free: 6.578 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.01057/0.4155, allocations: 5.938 MB / 0.5924 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00844/0.4239, allocations: 3.122 MB / 0.5954 GB, free: 28 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.4261, allocations: 1.001 MB / 0.5964 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.4263, allocations: 29.14 kB / 0.5964 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002264/0.4285, allocations: 1.163 MB / 0.5976 GB, free: 14.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 3.076e-06/0.4286, allocations: 0 / 0.5976 GB, free: 14.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.04564/0.4742, allocations: 13.46 MB / 0.6107 GB, free: 472 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.4744, allocations: 201.2 kB / 0.6109 GB, free: 228 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/0.4781, allocations: 1.543 MB / 0.6124 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003926/0.4785, allocations: 57.7 kB / 0.6125 GB, free: 14.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005829/0.4791, allocations: 0.7065 MB / 0.6132 GB, free: 13.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006207/0.4797, allocations: 0.524 MB / 0.6137 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.48, allocations: 197.9 kB / 0.6139 GB, free: 13.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4801, allocations: 301.1 kB / 0.6141 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.4825, allocations: 1.07 MB / 0.6152 GB, free: 11.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002471/0.485, allocations: 1.333 MB / 0.6165 GB, free: 10.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/0.4896, allocations: 2.344 MB / 0.6188 GB, free: 7.949 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4896, allocations: 0 / 0.6188 GB, free: 7.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01341/0.5031, allocations: 4.915 MB / 0.6236 GB, free: 2.977 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.5033, allocations: 256.6 kB / 0.6238 GB, free: 2.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.5033, allocations: 4 kB / 0.6238 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008844/0.5122, allocations: 2.694 MB / 0.6265 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.5137, allocations: 315.5 kB / 0.6268 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009682/0.5234, allocations: 4.989 MB / 0.6316 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/0.5266, allocations: 187.8 kB / 0.6318 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.5268, allocations: 71.98 kB / 0.6319 GB, free: 10.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.5269, allocations: 4 kB / 0.6319 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01263/0.5395, allocations: 4.669 MB / 0.6364 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.5395, allocations: 4 kB / 0.6364 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008587/0.5481, allocations: 2.667 MB / 0.6391 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.5497, allocations: 319.5 kB / 0.6394 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008915/0.5586, allocations: 4.931 MB / 0.6442 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.5612, allocations: 179.8 kB / 0.6443 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.5614, allocations: 67.98 kB / 0.6444 GB, free: 13.18 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.0009329/0.5623, allocations: 420.8 kB / 0.6448 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.5626, allocations: 181.7 kB / 0.645 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/0.5786, allocations: 5.174 MB / 0.65 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.5787, allocations: 16 kB / 0.6501 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5787, allocations: 0 / 0.6501 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.871e-05/0.5787, allocations: 11.97 kB / 0.6501 GB, free: 7.348 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.01959/0.5983, allocations: 7.479 MB / 0.6574 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.5984, allocations: 3.984 kB / 0.6574 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5995, allocations: 171.7 kB / 0.6575 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007654/0.6071, allocations: 2.267 MB / 0.6597 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/0.6074, allocations: 35.98 kB / 0.6598 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02516/0.6326, allocations: 11.17 MB / 0.6707 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6326, allocations: 0 / 0.6707 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/0.6518, allocations: 6.426 MB / 0.677 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007775/0.6526, allocations: 274.7 kB / 0.6772 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.6529, allocations: 39.92 kB / 0.6773 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.6545, allocations: 147.8 kB / 0.6774 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/0.6555, allocations: 309.1 kB / 0.6777 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.6557, allocations: 43.98 kB / 0.6777 GB, free: 10.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001703/0.6574, allocations: 1.03 MB / 0.6788 GB, free: 9.496 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6574, allocations: 0 / 0.6788 GB, free: 9.496 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002422/0.6598, allocations: 0.8673 MB / 0.6796 GB, free: 8.629 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.000325/0.6601, allocations: 152.5 kB / 0.6797 GB, free: 8.477 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01582/0.676, allocations: 5.722 MB / 0.6853 GB, free: 2.703 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.676, allocations: 0 / 0.6853 GB, free: 2.703 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00606/0.6821, allocations: 2.162 MB / 0.6874 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.6838, allocations: 163.8 kB / 0.6876 GB, free: 356 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/0.6904, allocations: 4.189 MB / 0.6917 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/0.6912, allocations: 1.337 MB / 0.693 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008444/0.6921, allocations: 191.4 kB / 0.6932 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.6925, allocations: 99.41 kB / 0.6933 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.6925, allocations: 0 / 0.6933 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.07251/0.765, allocations: 36.75 MB / 0.7292 GB, free: 5.707 MB / 0.5261 GB 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)