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.000844/0.0008441, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.374/1.374, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001175/0.001175, allocations: 180.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.463/0.463, allocations: 78.55 MB / 420.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.000453, allocations: 15.98 kB / 0.4887 GB, free: 6.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 69.36 MB / 0.5564 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.2794/0.4312, allocations: 8.846 MB / 0.565 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006061/0.4373, allocations: 2.844 MB / 0.5678 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.4398, allocations: 22.69 kB / 0.5678 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.4415, allocations: 267.8 kB / 0.5681 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004804/0.4463, allocations: 1.121 MB / 0.5692 GB, free: 33.3 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.002583/0.4489, allocations: 0.8203 MB / 0.57 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003825/0.4528, allocations: 2.506 MB / 0.5724 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.4539, allocations: 0.5016 MB / 0.5729 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.4556, allocations: 0.846 MB / 0.5738 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.4574, allocations: 1.1 MB / 0.5748 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007168/0.4582, allocations: 96 kB / 0.5749 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.4595, allocations: 310.1 kB / 0.5752 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008236/0.4604, allocations: 410.3 kB / 0.5756 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.4619, allocations: 0.9338 MB / 0.5765 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.4646, allocations: 2.483 MB / 0.5789 GB, free: 30.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4646, allocations: 0 / 0.5789 GB, free: 30.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4646, allocations: 0 / 0.5789 GB, free: 30.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.912e-05/0.4647, allocations: 0 / 0.5789 GB, free: 30.98 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.01436/0.479, allocations: 4.014 MB / 0.5829 GB, free: 29.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4791, allocations: 8.812 kB / 0.5829 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005069/0.4842, allocations: 0.7832 MB / 0.5836 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/0.4869, allocations: 1.215 MB / 0.5848 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/0.4874, allocations: 0.5083 MB / 0.5853 GB, free: 28.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.4877, allocations: 132.3 kB / 0.5854 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/0.4914, allocations: 1.788 MB / 0.5872 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.4914, allocations: 0.75 kB / 0.5872 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.4916, allocations: 51.34 kB / 0.5872 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.4916, allocations: 30.31 kB / 0.5873 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/0.4953, allocations: 1.622 MB / 0.5889 GB, free: 26.77 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.01121/0.5066, allocations: 6.044 MB / 0.5948 GB, free: 23.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.5169, allocations: 3.694 MB / 0.5984 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.5198, allocations: 1.085 MB / 0.5994 GB, free: 21.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.52, allocations: 30.12 kB / 0.5995 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002915/0.5229, allocations: 1.256 MB / 0.6007 GB, free: 21.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.407e-06/0.523, allocations: 1.375 kB / 0.6007 GB, free: 21.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.05833/0.5813, allocations: 15.82 MB / 0.6161 GB, free: 16.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/0.5814, allocations: 202.9 kB / 0.6163 GB, free: 16.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.584, allocations: 1.543 MB / 0.6178 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005563/0.5846, allocations: 57.7 kB / 0.6179 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.585, allocations: 0.7105 MB / 0.6186 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005333/0.5855, allocations: 0.5238 MB / 0.6191 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.5858, allocations: 197.9 kB / 0.6193 GB, free: 13.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.5859, allocations: 301.1 kB / 0.6196 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.5882, allocations: 1.164 MB / 0.6207 GB, free: 11.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.5907, allocations: 1.419 MB / 0.6221 GB, free: 10.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004694/0.5954, allocations: 2.527 MB / 0.6246 GB, free: 7.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5954, allocations: 0 / 0.6246 GB, free: 7.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01423/0.6096, allocations: 5.669 MB / 0.6301 GB, free: 1.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.6099, allocations: 256.5 kB / 0.6303 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.6099, allocations: 4 kB / 0.6303 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.6199, allocations: 3.088 MB / 0.6334 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.6216, allocations: 307.6 kB / 0.6336 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.6326, allocations: 5.447 MB / 0.639 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.6356, allocations: 241.9 kB / 0.6392 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.6359, allocations: 71.98 kB / 0.6393 GB, free: 8.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6359, allocations: 5.25 kB / 0.6393 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01464/0.6506, allocations: 5.388 MB / 0.6445 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/0.6507, allocations: 8.703 kB / 0.6445 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/0.6609, allocations: 3.05 MB / 0.6475 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.6625, allocations: 316.3 kB / 0.6478 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.6737, allocations: 5.324 MB / 0.653 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.6765, allocations: 223.9 kB / 0.6532 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/0.6768, allocations: 75.97 kB / 0.6533 GB, free: 9.629 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 ($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.001037/0.6779, allocations: 413.9 kB / 0.6537 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/0.6784, allocations: 189.6 kB / 0.6539 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/0.6976, allocations: 6.273 MB / 0.66 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/0.6977, allocations: 16 kB / 0.66 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6977, allocations: 0 / 0.66 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.575e-05/0.6977, allocations: 7.969 kB / 0.66 GB, free: 2.703 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.02403/0.7218, allocations: 8.577 MB / 0.6684 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/0.7218, allocations: 0 / 0.6684 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.723, allocations: 171.9 kB / 0.6686 GB, free: 9.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009007/0.732, allocations: 2.653 MB / 0.6712 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004237/0.7325, allocations: 39.92 kB / 0.6712 GB, free: 7.125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03039/0.7629, allocations: 12.41 MB / 0.6833 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.763, allocations: 5.625 kB / 0.6833 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0231/0.7861, allocations: 7.614 MB / 0.6908 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007724/0.7869, allocations: 278.6 kB / 0.691 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000686/0.7876, allocations: 29.06 kB / 0.6911 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/0.7898, allocations: 211.8 kB / 0.6913 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/0.7909, allocations: 293.2 kB / 0.6915 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/0.7911, allocations: 45.2 kB / 0.6916 GB, free: 1.938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001973/0.7931, allocations: 1.034 MB / 0.6926 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7931, allocations: 3.938 kB / 0.6926 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003336/0.7964, allocations: 0.8673 MB / 0.6934 GB, free: 40 kB / 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 (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.0004966/0.7969, allocations: 159 kB / 0.6936 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01895/0.8159, allocations: 6.433 MB / 0.6999 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.816, allocations: 0 / 0.6999 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007838/0.8238, allocations: 2.449 MB / 0.7023 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.8262, allocations: 174 kB / 0.7024 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007796/0.834, allocations: 4.339 MB / 0.7067 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009765/0.8351, allocations: 1.341 MB / 0.708 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001074/0.8361, allocations: 191.4 kB / 0.7082 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.8366, allocations: 95.42 kB / 0.7083 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.8366, allocations: 0 / 0.7083 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of Templates: time 0.06238/0.899, allocations: 36.76 MB / 0.7442 GB, free: 12.12 MB / 0.545 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: