Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0008995/0.0008997, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.295/1.295, allocations: 223.3 MB / 239 MB, free: 5.613 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.000913/0.0009132, allocations: 180 kB / 290.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4954/0.4954, allocations: 91.92 MB / 433.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 12 kB / 0.5042 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3271, allocations: 72.46 MB / 0.5749 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.005763/0.3329, allocations: 7.338 MB / 0.5821 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.3371, allocations: 2.412 MB / 0.5845 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.3384, allocations: 19.41 kB / 0.5845 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009774/0.3395, allocations: 216.2 kB / 0.5847 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.342, allocations: 0.8114 MB / 0.5855 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.3434, allocations: 0.6325 MB / 0.5861 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.3456, allocations: 1.88 MB / 0.5879 GB, free: 28.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.3461, allocations: 311.6 kB / 0.5882 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009679/0.3471, allocations: 0.7201 MB / 0.5889 GB, free: 27.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.3481, allocations: 0.9671 MB / 0.5899 GB, free: 27.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.3484, allocations: 88.53 kB / 0.59 GB, free: 27.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006057/0.349, allocations: 245 kB / 0.5902 GB, free: 27.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.3493, allocations: 339.6 kB / 0.5905 GB, free: 27.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.3496, allocations: 280.9 kB / 0.5908 GB, free: 27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.351, allocations: 1.61 MB / 0.5924 GB, free: 26.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.351, allocations: 0 / 0.5924 GB, free: 26.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.351, allocations: 1.25 kB / 0.5924 GB, free: 26.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.09e-05/0.3511, allocations: 0 / 0.5924 GB, free: 26.54 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.01062/0.3617, allocations: 3.32 MB / 0.5956 GB, free: 25.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3617, allocations: 8.625 kB / 0.5956 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.3664, allocations: 0.753 MB / 0.5964 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.3685, allocations: 1.036 MB / 0.5974 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/0.3689, allocations: 436.9 kB / 0.5978 GB, free: 24.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.3692, allocations: 111.2 kB / 0.5979 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.372, allocations: 1.437 MB / 0.5993 GB, free: 23.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.372, allocations: 0.7031 kB / 0.5993 GB, free: 23.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.3721, allocations: 39.42 kB / 0.5993 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.3721, allocations: 21.59 kB / 0.5993 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.3751, allocations: 1.384 MB / 0.6007 GB, free: 23.01 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.008844/0.384, allocations: 4.742 MB / 0.6053 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008232/0.3923, allocations: 3.44 MB / 0.6087 GB, free: 19.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.3944, allocations: 0.981 MB / 0.6096 GB, free: 18.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.3945, allocations: 27.58 kB / 0.6097 GB, free: 18.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/0.3967, allocations: 1.126 MB / 0.6108 GB, free: 18.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.436e-06/0.3968, allocations: 0 / 0.6108 GB, free: 18.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.03902/0.4358, allocations: 12.03 MB / 0.6225 GB, free: 12.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4359, allocations: 119.8 kB / 0.6226 GB, free: 12.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.4379, allocations: 1.333 MB / 0.6239 GB, free: 11.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003427/0.4383, allocations: 49.7 kB / 0.624 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.4387, allocations: 0.5725 MB / 0.6245 GB, free: 10.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005563/0.4392, allocations: 457.6 kB / 0.625 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.4395, allocations: 36 kB / 0.625 GB, free: 10.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.4396, allocations: 369.9 kB / 0.6254 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.4416, allocations: 1.031 MB / 0.6264 GB, free: 8.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.4436, allocations: 1.221 MB / 0.6276 GB, free: 7.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.4457, allocations: 1.107 MB / 0.6286 GB, free: 6.254 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.4457, allocations: 4 kB / 0.6286 GB, free: 6.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.008278/0.454, allocations: 3.984 MB / 0.6325 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.454, allocations: 4 kB / 0.6325 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.454, allocations: 4 kB / 0.6325 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008486/0.4625, allocations: 3.066 MB / 0.6355 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.464, allocations: 303.5 kB / 0.6358 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006338/0.4704, allocations: 3.004 MB / 0.6388 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.4727, allocations: 290.3 kB / 0.639 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/0.473, allocations: 63.98 kB / 0.6391 GB, free: 11.5 MB / 446.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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007069/0.4737, allocations: 293.5 kB / 0.6394 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.4741, allocations: 154.1 kB / 0.6395 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/0.4896, allocations: 5.802 MB / 0.6452 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.4896, allocations: 16 kB / 0.6452 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4896, allocations: 0 / 0.6452 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/0.4897, allocations: 7.969 kB / 0.6452 GB, free: 5.199 MB / 446.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.01942/0.5091, allocations: 7.892 MB / 0.6529 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/0.5092, allocations: 4 kB / 0.6529 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/0.51, allocations: 139.8 kB / 0.6531 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007328/0.5174, allocations: 2.517 MB / 0.6555 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/0.5176, allocations: 31.92 kB / 0.6555 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02379/0.5414, allocations: 10.32 MB / 0.6656 GB, free: 0 / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-05/0.5415, allocations: 4.078 kB / 0.6656 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/0.5598, allocations: 7.013 MB / 0.6725 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/0.5605, allocations: 278.7 kB / 0.6727 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004707/0.561, allocations: 28 kB / 0.6728 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.5626, allocations: 175.8 kB / 0.6729 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008365/0.5635, allocations: 265.2 kB / 0.6732 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.5636, allocations: 31.98 kB / 0.6732 GB, free: 8.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.5651, allocations: 0.9056 MB / 0.6741 GB, free: 7.258 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5651, allocations: 0 / 0.6741 GB, free: 7.258 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001671/0.5668, allocations: 0.5112 MB / 0.6746 GB, free: 6.746 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003305/0.5672, allocations: 149.5 kB / 0.6747 GB, free: 6.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008157/0.5753, allocations: 3.127 MB / 0.6778 GB, free: 3.469 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5754, allocations: 0 / 0.6778 GB, free: 3.469 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005833/0.5812, allocations: 2.155 MB / 0.6799 GB, free: 1.293 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.5827, allocations: 138.4 kB / 0.68 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/0.5892, allocations: 3.454 MB / 0.6834 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008282/0.59, allocations: 1.208 MB / 0.6846 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006735/0.5907, allocations: 141.7 kB / 0.6847 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.5911, allocations: 95.41 kB / 0.6848 GB, free: 12.21 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5911, allocations: 3.938 kB / 0.6848 GB, free: 12.21 MB / 494.1 MB Notification: Performance of Templates: time 0.0386/0.6297, allocations: 24.81 MB / 0.709 GB, free: 3.422 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)