Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007527/0.007527, allocations: 100.7 kB / 15.73 MB, free: 5.988 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.373/1.373, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001387/0.001387, allocations: 187.7 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4566/0.4566, allocations: 78.52 MB / 418.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001664, allocations: 79.81 kB / 0.5536 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3472, allocations: 68.17 MB / 0.6202 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005551/0.3528, allocations: 6.696 MB / 0.6267 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003693/0.3565, allocations: 2.017 MB / 0.6287 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009799/0.3575, allocations: 12 kB / 0.6287 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.3583, allocations: 241.9 kB / 0.629 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.3602, allocations: 0.8261 MB / 0.6298 GB, free: 416 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.3615, allocations: 0.6488 MB / 0.6304 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00188/0.3634, allocations: 1.671 MB / 0.632 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/0.3639, allocations: 326.5 kB / 0.6323 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008787/0.3648, allocations: 0.6924 MB / 0.633 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009142/0.3657, allocations: 0.8713 MB / 0.6339 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.3659, allocations: 132 kB / 0.634 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.3664, allocations: 267.9 kB / 0.6342 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.3667, allocations: 350.5 kB / 0.6346 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.3673, allocations: 0.6991 MB / 0.6353 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.3691, allocations: 1.73 MB / 0.6369 GB, free: 9.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3691, allocations: 4 kB / 0.637 GB, free: 9.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3691, allocations: 0 / 0.637 GB, free: 9.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.3692, allocations: 0 / 0.637 GB, free: 9.012 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008697/0.3779, allocations: 2.778 MB / 0.6397 GB, free: 6.164 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3779, allocations: 11.97 kB / 0.6397 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.3828, allocations: 0.7787 MB / 0.6404 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.3846, allocations: 0.9218 MB / 0.6413 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.3849, allocations: 264.1 kB / 0.6416 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.3852, allocations: 87.91 kB / 0.6417 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.3876, allocations: 1.114 MB / 0.6428 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.3876, allocations: 4 kB / 0.6428 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.3878, allocations: 31.94 kB / 0.6428 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.3878, allocations: 20 kB / 0.6428 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.39, allocations: 1.003 MB / 0.6438 GB, free: 1.828 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 preOpt removeSimpleEquations (simulation): time 0.007975/0.398, allocations: 3.891 MB / 0.6476 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007394/0.4054, allocations: 2.41 MB / 0.6499 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.4071, allocations: 0.6908 MB / 0.6506 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.4073, allocations: 24.92 kB / 0.6506 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001969/0.4093, allocations: 0.84 MB / 0.6515 GB, free: 9.676 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 4.358e-06/0.4093, allocations: 0 / 0.6515 GB, free: 9.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02801/0.4373, allocations: 7.085 MB / 0.6584 GB, free: 2.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.4374, allocations: 111.8 kB / 0.6585 GB, free: 2.398 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.4397, allocations: 1.147 MB / 0.6596 GB, free: 1.238 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00027/0.44, allocations: 45.7 kB / 0.6597 GB, free: 1.188 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.4405, allocations: 0.4969 MB / 0.6601 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005406/0.441, allocations: 362.9 kB / 0.6605 GB, free: 332 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009286/0.442, allocations: 303.4 kB / 0.6608 GB, free: 24 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4421, allocations: 301.1 kB / 0.6611 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.4439, allocations: 0.7926 MB / 0.6618 GB, free: 14.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.4458, allocations: 0.9772 MB / 0.6628 GB, free: 13.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02466/0.4704, allocations: 5.923 MB / 0.6686 GB, free: 7.906 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.4705, allocations: 4 kB / 0.6686 GB, free: 7.902 MB / 478.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01395/0.4845, allocations: 4.504 MB / 0.673 GB, free: 3.367 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-05/0.4846, allocations: 59.39 kB / 0.673 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.4846, allocations: 8 kB / 0.673 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005904/0.4905, allocations: 1.666 MB / 0.6747 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.4921, allocations: 299.6 kB / 0.675 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/0.5121, allocations: 8.615 MB / 0.6834 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.5141, allocations: 214.5 kB / 0.6836 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/0.5144, allocations: 59.97 kB / 0.6836 GB, free: 8.285 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008721/0.5153, allocations: 302.8 kB / 0.6839 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/0.5157, allocations: 126.4 kB / 0.684 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.528, allocations: 3.92 MB / 0.6879 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.5281, allocations: 12 kB / 0.6879 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.952e-05/0.5282, allocations: 4 kB / 0.6879 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/0.5282, allocations: 11.97 kB / 0.6879 GB, free: 3.867 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.01621/0.5444, allocations: 5.549 MB / 0.6933 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.5445, allocations: 0 / 0.6933 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/0.5452, allocations: 103.9 kB / 0.6934 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005336/0.5506, allocations: 1.603 MB / 0.695 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002869/0.5509, allocations: 23.98 kB / 0.695 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/0.5713, allocations: 9.618 MB / 0.7044 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5713, allocations: 0 / 0.7044 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.5858, allocations: 4.805 MB / 0.7091 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.5864, allocations: 227.2 kB / 0.7093 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004583/0.5869, allocations: 23.94 kB / 0.7093 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.5883, allocations: 111.9 kB / 0.7094 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007299/0.5891, allocations: 192.7 kB / 0.7096 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.5893, allocations: 27.98 kB / 0.7096 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001336/0.5906, allocations: 0.779 MB / 0.7104 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5906, allocations: 0 / 0.7104 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001869/0.5925, allocations: 487.6 kB / 0.7109 GB, free: 11.87 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.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 (66): * Single equations (assignments): 63 * 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): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/0.5928, allocations: 136.3 kB / 0.711 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006616/0.5995, allocations: 2.624 MB / 0.7136 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5995, allocations: 0 / 0.7136 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00414/0.6036, allocations: 1.631 MB / 0.7152 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.6049, allocations: 112.6 kB / 0.7153 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004735/0.6097, allocations: 2.429 MB / 0.7176 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.6105, allocations: 1.132 MB / 0.7187 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004811/0.611, allocations: 116.3 kB / 0.7188 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.6113, allocations: 83.42 kB / 0.7189 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of SimCode: time 5.62e-07/0.6113, allocations: 0 / 0.7189 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of Templates: time 0.04031/0.6517, allocations: 24.72 MB / 0.7431 GB, free: 10.77 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)