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.0009999/0.0009998, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.214/1.214, allocations: 222.9 MB / 239 MB, free: 4.742 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.001111/0.001111, allocations: 196.4 kB / 289.3 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4132/0.4132, allocations: 78.52 MB / 417.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 75.88 kB / 497 MB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1147, allocations: 68.18 MB / 0.5519 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.2115/0.3262, allocations: 8.301 MB / 0.56 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.3307, allocations: 2.536 MB / 0.5625 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.3317, allocations: 15.62 kB / 0.5625 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.3326, allocations: 243 kB / 0.5627 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.3353, allocations: 1.064 MB / 0.5638 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3366, allocations: 0.6164 MB / 0.5644 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002343/0.339, allocations: 2.261 MB / 0.5666 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005494/0.3396, allocations: 379.4 kB / 0.5669 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3407, allocations: 0.8686 MB / 0.5678 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.3418, allocations: 1.107 MB / 0.5689 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.3421, allocations: 172.4 kB / 0.569 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005989/0.3427, allocations: 355.2 kB / 0.5694 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.3429, allocations: 448.7 kB / 0.5698 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000586/0.3435, allocations: 0.8871 MB / 0.5707 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.3451, allocations: 2.149 MB / 0.5728 GB, free: 32.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3452, allocations: 0 / 0.5728 GB, free: 32.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3452, allocations: 0 / 0.5728 GB, free: 32.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.3452, allocations: 0 / 0.5728 GB, free: 32.41 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01244/0.3576, allocations: 3.811 MB / 0.5765 GB, free: 31.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3577, allocations: 12.56 kB / 0.5765 GB, free: 31.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/0.3619, allocations: 0.7473 MB / 0.5772 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.3638, allocations: 1.093 MB / 0.5783 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/0.3642, allocations: 417.8 kB / 0.5787 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.3644, allocations: 101.8 kB / 0.5788 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.3669, allocations: 1.363 MB / 0.5801 GB, free: 29.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.3669, allocations: 7.328 kB / 0.5801 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.367, allocations: 38.41 kB / 0.5802 GB, free: 29.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.367, allocations: 21.78 kB / 0.5802 GB, free: 29.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.3695, allocations: 1.298 MB / 0.5814 GB, free: 29.24 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.007853/0.3774, allocations: 4.674 MB / 0.586 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007724/0.3851, allocations: 2.889 MB / 0.5888 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.387, allocations: 0.9037 MB / 0.5897 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.3871, allocations: 22.17 kB / 0.5897 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001964/0.3891, allocations: 1.045 MB / 0.5908 GB, free: 24.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 2.835e-06/0.3891, allocations: 0 / 0.5908 GB, free: 24.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04194/0.431, allocations: 9.906 MB / 0.6004 GB, free: 23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4311, allocations: 121.9 kB / 0.6005 GB, free: 22.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.4333, allocations: 1.347 MB / 0.6019 GB, free: 22.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003639/0.4337, allocations: 51.33 kB / 0.6019 GB, free: 22.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.434, allocations: 0.5695 MB / 0.6025 GB, free: 21.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/0.4345, allocations: 450.3 kB / 0.6029 GB, free: 21.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000635/0.4352, allocations: 328 kB / 0.6032 GB, free: 21.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.4352, allocations: 305.7 kB / 0.6035 GB, free: 21.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.4374, allocations: 0.9583 MB / 0.6044 GB, free: 20.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.4395, allocations: 1.158 MB / 0.6056 GB, free: 20.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/0.4433, allocations: 2.043 MB / 0.6076 GB, free: 18.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4434, allocations: 0.875 kB / 0.6076 GB, free: 18.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009476/0.4529, allocations: 3.822 MB / 0.6113 GB, free: 16.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.4529, allocations: 5.5 kB / 0.6113 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4529, allocations: 8.062 kB / 0.6113 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009046/0.462, allocations: 2.684 MB / 0.6139 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.4635, allocations: 296.2 kB / 0.6142 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00536/0.4688, allocations: 2.688 MB / 0.6168 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/0.4712, allocations: 250.3 kB / 0.6171 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.4713, allocations: 68.47 kB / 0.6171 GB, free: 12.25 MB / 430.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.0005263/0.4719, allocations: 289.5 kB / 0.6174 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.4721, allocations: 150.1 kB / 0.6176 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.486, allocations: 4.76 MB / 0.6222 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.4861, allocations: 16.8 kB / 0.6222 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4861, allocations: 0 / 0.6222 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.712e-05/0.4862, allocations: 7.969 kB / 0.6222 GB, free: 7 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 postOpt removeSimpleEquations (simulation): time 0.01642/0.5026, allocations: 6.868 MB / 0.6289 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.5026, allocations: 1 kB / 0.6289 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008568/0.5035, allocations: 139.8 kB / 0.6291 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007029/0.5105, allocations: 2.143 MB / 0.6312 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.5107, allocations: 31.98 kB / 0.6312 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02382/0.5346, allocations: 10.07 MB / 0.641 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5346, allocations: 4 kB / 0.641 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/0.5529, allocations: 5.912 MB / 0.6468 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/0.5535, allocations: 266.8 kB / 0.6471 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.5539, allocations: 28 kB / 0.6471 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.5555, allocations: 135.1 kB / 0.6472 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008432/0.5564, allocations: 258.4 kB / 0.6475 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.932e-05/0.5565, allocations: 35.98 kB / 0.6475 GB, free: 12.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001323/0.5578, allocations: 0.9212 MB / 0.6484 GB, free: 11.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5578, allocations: 0 / 0.6484 GB, free: 11.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001291/0.5591, allocations: 0.5034 MB / 0.6489 GB, free: 11.35 MB / 462.1 MB 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.0003072/0.5595, allocations: 147.2 kB / 0.649 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008874/0.5683, allocations: 2.859 MB / 0.6518 GB, free: 8.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5684, allocations: 0 / 0.6518 GB, free: 8.336 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006062/0.5744, allocations: 1.922 MB / 0.6537 GB, free: 6.402 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.5757, allocations: 129 kB / 0.6538 GB, free: 6.277 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.5813, allocations: 3.463 MB / 0.6572 GB, free: 2.852 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.582, allocations: 1.211 MB / 0.6584 GB, free: 1.609 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006761/0.5827, allocations: 143.7 kB / 0.6585 GB, free: 1.469 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.583, allocations: 91.42 kB / 0.6586 GB, free: 1.379 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.583, allocations: 0 / 0.6586 GB, free: 1.379 MB / 462.1 MB Notification: Performance of Templates: time 0.03907/0.6221, allocations: 27.83 MB / 0.6858 GB, free: 5.715 MB / 494.1 MB 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)