Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 175.9 kB / 16.07 MB, free: 5.727 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.356/1.356, allocations: 222.9 MB / 239.7 MB, free: 10.2 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.0008428/0.0008434, allocations: 105 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5384/0.5384, allocations: 78.42 MB / 419.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003775, allocations: 12 kB / 499.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2983, allocations: 68.75 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.007267/0.3056, allocations: 9.116 MB / 0.5634 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.3102, allocations: 2.804 MB / 0.5662 GB, free: 8.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009214/0.3111, allocations: 27.94 kB / 0.5662 GB, free: 8.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.3119, allocations: 274.3 kB / 0.5664 GB, free: 7.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.3143, allocations: 1.142 MB / 0.5676 GB, free: 6.84 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.001518/0.3158, allocations: 0.7781 MB / 0.5683 GB, free: 6.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.3181, allocations: 2.525 MB / 0.5708 GB, free: 3.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006469/0.3188, allocations: 467.8 kB / 0.5712 GB, free: 3.055 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.3199, allocations: 0.8554 MB / 0.5721 GB, free: 2.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.3209, allocations: 1.104 MB / 0.5731 GB, free: 1.086 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.3211, allocations: 96 kB / 0.5732 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007018/0.3218, allocations: 323.6 kB / 0.5735 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.3222, allocations: 402.1 kB / 0.5739 GB, free: 288 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008492/0.323, allocations: 0.8928 MB / 0.5748 GB, free: 15.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.3248, allocations: 1.94 MB / 0.5767 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3249, allocations: 0 / 0.5767 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3249, allocations: 0 / 0.5767 GB, free: 13.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.3249, allocations: 0 / 0.5767 GB, free: 13.44 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.01407/0.339, allocations: 3.886 MB / 0.5805 GB, free: 9.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.339, allocations: 8.031 kB / 0.5805 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005033/0.3441, allocations: 0.7741 MB / 0.5812 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.347, allocations: 1.243 MB / 0.5825 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006599/0.3477, allocations: 0.5681 MB / 0.583 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/0.348, allocations: 131.9 kB / 0.5831 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/0.3513, allocations: 1.591 MB / 0.5847 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3514, allocations: 0 / 0.5847 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.3515, allocations: 48 kB / 0.5847 GB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.3515, allocations: 28 kB / 0.5848 GB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.3548, allocations: 1.492 MB / 0.5862 GB, free: 3.398 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.01103/0.3658, allocations: 5.602 MB / 0.5917 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009261/0.3751, allocations: 3.134 MB / 0.5948 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002621/0.3778, allocations: 0.9829 MB / 0.5957 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.378, allocations: 29.28 kB / 0.5957 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002699/0.3807, allocations: 1.15 MB / 0.5969 GB, free: 8.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=140): time 3.727e-06/0.3807, allocations: 4 kB / 0.5969 GB, free: 8.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.03919/0.4199, allocations: 9.611 MB / 0.6063 GB, free: 14.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.4202, allocations: 179.5 kB / 0.6064 GB, free: 14.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/0.4243, allocations: 1.58 MB / 0.608 GB, free: 12.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006864/0.425, allocations: 53.7 kB / 0.608 GB, free: 12.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/0.4257, allocations: 0.6754 MB / 0.6087 GB, free: 11.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007623/0.4265, allocations: 0.4968 MB / 0.6092 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.4268, allocations: 189.6 kB / 0.6093 GB, free: 11.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.427, allocations: 309 kB / 0.6096 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.4295, allocations: 1.046 MB / 0.6107 GB, free: 9.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.4321, allocations: 1.257 MB / 0.6119 GB, free: 8.539 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004745/0.4368, allocations: 2.269 MB / 0.6141 GB, free: 6.215 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4368, allocations: 0 / 0.6141 GB, free: 6.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01767/0.4545, allocations: 5.611 MB / 0.6196 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.4548, allocations: 232.9 kB / 0.6198 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.4548, allocations: 4 kB / 0.6198 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008908/0.4637, allocations: 2.576 MB / 0.6223 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.4654, allocations: 323.5 kB / 0.6226 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.472, allocations: 2.912 MB / 0.6255 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.4748, allocations: 294 kB / 0.6258 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/0.475, allocations: 71.98 kB / 0.6258 GB, free: 10.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.475, allocations: 4 kB / 0.6258 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0169/0.4919, allocations: 5.413 MB / 0.6311 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.492, allocations: 4 kB / 0.6311 GB, free: 4.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008891/0.5009, allocations: 2.564 MB / 0.6336 GB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.5027, allocations: 323.5 kB / 0.6339 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006657/0.5093, allocations: 2.893 MB / 0.6368 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.5121, allocations: 266.3 kB / 0.637 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.5123, allocations: 67.98 kB / 0.6371 GB, free: 14.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(29,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0009625/0.5133, allocations: 408.7 kB / 0.6375 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.5136, allocations: 177.8 kB / 0.6376 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/0.5303, allocations: 4.977 MB / 0.6425 GB, free: 8.941 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/0.5304, allocations: 19.98 kB / 0.6425 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.5304, allocations: 0 / 0.6425 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-05/0.5305, allocations: 11.97 kB / 0.6425 GB, free: 8.91 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.02073/0.5512, allocations: 7.445 MB / 0.6498 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/0.5513, allocations: 4 kB / 0.6498 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.5526, allocations: 183.8 kB / 0.65 GB, free: 1.145 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007333/0.5599, allocations: 2.134 MB / 0.6521 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003085/0.5603, allocations: 35.98 kB / 0.6521 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02355/0.5838, allocations: 9.163 MB / 0.661 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5839, allocations: 3.938 kB / 0.6611 GB, free: 5.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/0.603, allocations: 6.196 MB / 0.6671 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/0.6039, allocations: 298.5 kB / 0.6674 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.6042, allocations: 31.98 kB / 0.6674 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.6059, allocations: 159.8 kB / 0.6676 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008377/0.6067, allocations: 261.2 kB / 0.6678 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.6068, allocations: 43.98 kB / 0.6679 GB, free: 14.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001804/0.6086, allocations: 1.072 MB / 0.6689 GB, free: 13.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6086, allocations: 0 / 0.6689 GB, free: 13.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002349/0.611, allocations: 0.9127 MB / 0.6698 GB, free: 12.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.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 (97): * 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: 1 * 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): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000363/0.6114, allocations: 159 kB / 0.67 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01498/0.6264, allocations: 5.143 MB / 0.675 GB, free: 7.312 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.6264, allocations: 0 / 0.675 GB, free: 7.312 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006478/0.6329, allocations: 1.972 MB / 0.6769 GB, free: 5.324 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.6347, allocations: 170.2 kB / 0.6771 GB, free: 5.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007283/0.642, allocations: 4.106 MB / 0.6811 GB, free: 1.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2544/0.8964, allocations: 1.302 MB / 0.6823 GB, free: 117.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007806/0.8973, allocations: 115 kB / 0.6825 GB, free: 117.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8973, allocations: 0.5312 kB / 0.6825 GB, free: 117.3 MB / 490.7 MB Notification: Performance of Templates: time 0.04047/0.9377, allocations: 28.79 MB / 0.7106 GB, free: 101 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)