Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004725/0.004725, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.409/1.409, allocations: 222.9 MB / 239.4 MB, free: 4.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.001363/0.001363, allocations: 192.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4448/0.4448, allocations: 78.53 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 75.88 kB / 0.5536 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3278, allocations: 68.18 MB / 0.6202 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006488/0.3343, allocations: 7.964 MB / 0.628 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004551/0.3389, allocations: 2.509 MB / 0.6304 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.3404, allocations: 12 kB / 0.6304 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009366/0.3414, allocations: 305.4 kB / 0.6307 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.3446, allocations: 1.193 MB / 0.6319 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.3462, allocations: 0.6627 MB / 0.6325 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.349, allocations: 2.287 MB / 0.6348 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005203/0.3495, allocations: 381.3 kB / 0.6351 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3505, allocations: 0.8638 MB / 0.636 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.3518, allocations: 1.101 MB / 0.6371 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.352, allocations: 176 kB / 0.6372 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.3527, allocations: 351.9 kB / 0.6376 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000379/0.353, allocations: 446.2 kB / 0.638 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007849/0.3538, allocations: 0.874 MB / 0.6388 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.3563, allocations: 2.186 MB / 0.641 GB, free: 5.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3563, allocations: 0 / 0.641 GB, free: 5.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.3563, allocations: 0 / 0.641 GB, free: 5.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.238e-05/0.3563, allocations: 0 / 0.641 GB, free: 5.02 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01374/0.3701, allocations: 3.801 MB / 0.6447 GB, free: 1.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3701, allocations: 12.03 kB / 0.6447 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.3749, allocations: 0.7394 MB / 0.6454 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.3772, allocations: 1.1 MB / 0.6465 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004472/0.3776, allocations: 424.9 kB / 0.6469 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.3779, allocations: 104 kB / 0.647 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.3808, allocations: 1.368 MB / 0.6483 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.3808, allocations: 0 / 0.6483 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.3809, allocations: 36 kB / 0.6484 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.381, allocations: 23.98 kB / 0.6484 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.3838, allocations: 1.304 MB / 0.6497 GB, free: 11.92 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 preOpt removeSimpleEquations (simulation): time 0.008422/0.3922, allocations: 4.645 MB / 0.6542 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/0.4001, allocations: 2.889 MB / 0.657 GB, free: 4.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.402, allocations: 0.8996 MB / 0.6579 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.4022, allocations: 24.98 kB / 0.6579 GB, free: 3.105 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002167/0.4044, allocations: 1.046 MB / 0.6589 GB, free: 2.035 MB / 462.1 MB Notification: Performance of pre-optimization done (n=124): time 3.476e-06/0.4044, allocations: 4 kB / 0.659 GB, free: 2.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=124): time 0.03939/0.4438, allocations: 9.906 MB / 0.6686 GB, free: 8.086 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.4439, allocations: 115.8 kB / 0.6687 GB, free: 7.945 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.4461, allocations: 1.349 MB / 0.6701 GB, free: 6.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.4463, allocations: 53.69 kB / 0.6701 GB, free: 6.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.4468, allocations: 0.5686 MB / 0.6707 GB, free: 5.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/0.4473, allocations: 449.6 kB / 0.6711 GB, free: 5.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006775/0.448, allocations: 323.4 kB / 0.6714 GB, free: 5.184 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.4481, allocations: 313 kB / 0.6717 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.4502, allocations: 0.9565 MB / 0.6726 GB, free: 3.918 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.4524, allocations: 1.147 MB / 0.6737 GB, free: 2.727 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004156/0.4566, allocations: 2.05 MB / 0.6757 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.4566, allocations: 0 / 0.6757 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009868/0.4665, allocations: 3.823 MB / 0.6795 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4665, allocations: 8 kB / 0.6795 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4665, allocations: 11.88 kB / 0.6795 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009342/0.4759, allocations: 2.663 MB / 0.6821 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.4774, allocations: 303.5 kB / 0.6824 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/0.4839, allocations: 2.688 MB / 0.685 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/0.4862, allocations: 250.3 kB / 0.6853 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.4866, allocations: 59.98 kB / 0.6853 GB, free: 6.785 MB / 494.1 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 (174): * Single equations (assignments): 173 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0007363/0.4873, allocations: 297.5 kB / 0.6856 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/0.4877, allocations: 150.1 kB / 0.6857 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/0.5029, allocations: 4.763 MB / 0.6904 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.503, allocations: 15.94 kB / 0.6904 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.503, allocations: 4 kB / 0.6904 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.503, allocations: 3.984 kB / 0.6904 GB, free: 1.531 MB / 494.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.01787/0.5209, allocations: 6.86 MB / 0.6971 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.5209, allocations: 7.984 kB / 0.6971 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/0.5218, allocations: 143.8 kB / 0.6973 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008189/0.53, allocations: 2.146 MB / 0.6994 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/0.5302, allocations: 24 kB / 0.6994 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03956/0.5698, allocations: 10.05 MB / 0.7092 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5699, allocations: 0 / 0.7092 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02676/0.5966, allocations: 5.904 MB / 0.715 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007588/0.5974, allocations: 270.8 kB / 0.7152 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004753/0.5979, allocations: 23.98 kB / 0.7152 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/0.6004, allocations: 135.8 kB / 0.7154 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/0.6017, allocations: 261.3 kB / 0.7156 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/0.6019, allocations: 35.98 kB / 0.7157 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002233/0.6042, allocations: 0.9134 MB / 0.7165 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6042, allocations: 0 / 0.7165 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00231/0.6065, allocations: 0.5113 MB / 0.717 GB, free: 5.891 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.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 (81): * Single equations (assignments): 80 * 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.0004287/0.6069, allocations: 155.3 kB / 0.7172 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01214/0.6191, allocations: 2.81 MB / 0.7199 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6191, allocations: 0 / 0.7199 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008691/0.6278, allocations: 1.919 MB / 0.7218 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.6296, allocations: 133 kB / 0.7219 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008528/0.6382, allocations: 2.944 MB / 0.7248 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.6393, allocations: 1.204 MB / 0.726 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008501/0.6402, allocations: 141.7 kB / 0.7261 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.6408, allocations: 95.41 kB / 0.7262 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.6408, allocations: 0 / 0.7262 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.06587/0.7067, allocations: 29.39 MB / 0.7549 GB, free: 15.01 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)