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.001002/0.001002, allocations: 169.7 kB / 16.1 MB, free: 5.691 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.645/1.645, allocations: 223.3 MB / 240.1 MB, free: 9.961 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.0008416/0.0008417, allocations: 108.6 kB / 291.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5653/0.5653, allocations: 78.62 MB / 421 MB, free: 9.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005865/0.0005866, allocations: 15.94 kB / 0.4894 GB, free: 9.199 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4489, allocations: 69.35 MB / 0.5571 GB, free: 18.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.007137/0.4561, allocations: 8.845 MB / 0.5658 GB, free: 9.902 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.4619, allocations: 2.847 MB / 0.5686 GB, free: 7.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.463, allocations: 20 kB / 0.5686 GB, free: 7.031 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008171/0.4638, allocations: 278.2 kB / 0.5688 GB, free: 6.758 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.4665, allocations: 1.118 MB / 0.5699 GB, free: 5.645 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.001682/0.4681, allocations: 0.8103 MB / 0.5707 GB, free: 4.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.4703, allocations: 2.518 MB / 0.5732 GB, free: 2.312 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006154/0.4709, allocations: 0.5009 MB / 0.5737 GB, free: 1.781 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008361/0.4718, allocations: 0.8437 MB / 0.5745 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.4728, allocations: 1.1 MB / 0.5756 GB, free: 15.83 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.4731, allocations: 96 kB / 0.5757 GB, free: 15.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.4738, allocations: 307.7 kB / 0.576 GB, free: 15.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.4742, allocations: 398 kB / 0.5763 GB, free: 15.04 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008561/0.475, allocations: 0.9372 MB / 0.5773 GB, free: 14.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.477, allocations: 1.971 MB / 0.5792 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.477, allocations: 0 / 0.5792 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.477, allocations: 0 / 0.5792 GB, free: 12.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.788e-05/0.4771, allocations: 0 / 0.5792 GB, free: 12.12 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.01374/0.4908, allocations: 4.003 MB / 0.5831 GB, free: 8.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4909, allocations: 8.031 kB / 0.5831 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/0.4955, allocations: 0.7819 MB / 0.5839 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.4979, allocations: 1.22 MB / 0.5851 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005345/0.4985, allocations: 0.5082 MB / 0.5856 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.4988, allocations: 143.9 kB / 0.5857 GB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.5022, allocations: 1.783 MB / 0.5874 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.5023, allocations: 0 / 0.5874 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.5024, allocations: 48 kB / 0.5875 GB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.5025, allocations: 28 kB / 0.5875 GB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00347/0.5059, allocations: 1.625 MB / 0.5891 GB, free: 1.703 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.01042/0.5164, allocations: 6.049 MB / 0.595 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00922/0.5256, allocations: 3.691 MB / 0.5986 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.5278, allocations: 1.093 MB / 0.5997 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.528, allocations: 25.23 kB / 0.5997 GB, free: 6.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002498/0.5305, allocations: 1.264 MB / 0.6009 GB, free: 5.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 3.416e-06/0.5305, allocations: 0 / 0.6009 GB, free: 5.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.04998/0.5805, allocations: 15.82 MB / 0.6164 GB, free: 5.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.5807, allocations: 205.3 kB / 0.6166 GB, free: 4.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.5832, allocations: 1.539 MB / 0.6181 GB, free: 3.441 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002895/0.5835, allocations: 57.7 kB / 0.6181 GB, free: 3.379 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/0.5841, allocations: 0.7105 MB / 0.6188 GB, free: 2.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/0.5847, allocations: 0.5238 MB / 0.6193 GB, free: 2.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.585, allocations: 193.9 kB / 0.6195 GB, free: 1.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5851, allocations: 309.1 kB / 0.6198 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.5877, allocations: 1.156 MB / 0.6209 GB, free: 476 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/0.5904, allocations: 1.415 MB / 0.6223 GB, free: 14.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004977/0.5954, allocations: 2.531 MB / 0.6248 GB, free: 12.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.5955, allocations: 0 / 0.6248 GB, free: 12.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01408/0.6095, allocations: 5.669 MB / 0.6303 GB, free: 6.625 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.6098, allocations: 252.6 kB / 0.6306 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.6098, allocations: 7.984 kB / 0.6306 GB, free: 6.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009505/0.6193, allocations: 3.089 MB / 0.6336 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.6209, allocations: 311.5 kB / 0.6339 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.6313, allocations: 5.44 MB / 0.6392 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.6338, allocations: 231.8 kB / 0.6394 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.634, allocations: 75.98 kB / 0.6395 GB, free: 13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.634, allocations: 4 kB / 0.6395 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01349/0.6475, allocations: 5.392 MB / 0.6448 GB, free: 7.551 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.6476, allocations: 8 kB / 0.6448 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009318/0.6569, allocations: 3.046 MB / 0.6478 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.6586, allocations: 315.5 kB / 0.6481 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009965/0.6686, allocations: 5.337 MB / 0.6533 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.671, allocations: 220 kB / 0.6535 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.6712, allocations: 83.98 kB / 0.6536 GB, free: 14.38 MB / 474.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.0008523/0.672, allocations: 412.7 kB / 0.654 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.6723, allocations: 193.5 kB / 0.6541 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/0.6895, allocations: 6.268 MB / 0.6603 GB, free: 7.477 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.6895, allocations: 16 kB / 0.6603 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6895, allocations: 0 / 0.6603 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.6895, allocations: 7.969 kB / 0.6603 GB, free: 7.453 MB / 474.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.02056/0.7101, allocations: 8.577 MB / 0.6687 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.7102, allocations: 0 / 0.6687 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.7112, allocations: 179.8 kB / 0.6688 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008361/0.7196, allocations: 2.65 MB / 0.6714 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002767/0.7199, allocations: 35.98 kB / 0.6714 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.368/1.088, allocations: 12.4 MB / 0.6836 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/1.088, allocations: 2.219 kB / 0.6836 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02501/1.113, allocations: 7.623 MB / 0.691 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009482/1.114, allocations: 277.5 kB / 0.6913 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006201/1.115, allocations: 31.41 kB / 0.6913 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/1.117, allocations: 208.3 kB / 0.6915 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/1.118, allocations: 297.3 kB / 0.6918 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002663/1.119, allocations: 40.39 kB / 0.6918 GB, free: 113.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002546/1.121, allocations: 1.034 MB / 0.6928 GB, free: 112.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.121, allocations: 3.938 kB / 0.6928 GB, free: 112.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003167/1.124, allocations: 0.8631 MB / 0.6937 GB, free: 112.6 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.000373/1.125, allocations: 157.6 kB / 0.6938 GB, free: 112.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01563/1.14, allocations: 6.433 MB / 0.7001 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.14, allocations: 0 / 0.7001 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005836/1.146, allocations: 2.446 MB / 0.7025 GB, free: 108.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/1.148, allocations: 172.3 kB / 0.7027 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006028/1.154, allocations: 4.379 MB / 0.7069 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/1.154, allocations: 1.341 MB / 0.7082 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/1.155, allocations: 116.5 kB / 0.7084 GB, free: 102.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.155, allocations: 3.938 kB / 0.7084 GB, free: 102.7 MB / 490.7 MB Notification: Performance of Templates: time 0.03375/1.189, allocations: 36.49 MB / 0.744 GB, free: 66.53 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)