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.001138/0.001138, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.161/1.161, allocations: 222.9 MB / 239.9 MB, free: 4.629 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.001135/0.001135, allocations: 196.5 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3825/0.3825, allocations: 78.53 MB / 418.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 79.88 kB / 498.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09792, allocations: 68.17 MB / 0.553 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.1691/0.267, allocations: 6.707 MB / 0.5596 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.2702, allocations: 2.011 MB / 0.5615 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005791/0.2708, allocations: 13.53 kB / 0.5615 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.2714, allocations: 241.2 kB / 0.5618 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.2729, allocations: 0.8096 MB / 0.5626 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009674/0.2739, allocations: 0.6467 MB / 0.5632 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.275, allocations: 1.663 MB / 0.5648 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.2753, allocations: 326.9 kB / 0.5651 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.2759, allocations: 0.6827 MB / 0.5658 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000637/0.2765, allocations: 0.8844 MB / 0.5667 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.2767, allocations: 129.9 kB / 0.5668 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.2771, allocations: 274.1 kB / 0.5671 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.2773, allocations: 350.3 kB / 0.5674 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.2777, allocations: 0.6969 MB / 0.5681 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.2788, allocations: 1.707 MB / 0.5697 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.2788, allocations: 0 / 0.5697 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2788, allocations: 0 / 0.5697 GB, free: 33.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.2788, allocations: 1.719 kB / 0.5697 GB, free: 33.68 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007548/0.2863, allocations: 2.781 MB / 0.5725 GB, free: 32.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.2864, allocations: 8.344 kB / 0.5725 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/0.2908, allocations: 0.781 MB / 0.5732 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.2919, allocations: 0.9298 MB / 0.5741 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.2921, allocations: 261.9 kB / 0.5744 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.2923, allocations: 86.53 kB / 0.5745 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.2939, allocations: 1.114 MB / 0.5755 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.294, allocations: 0 / 0.5755 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.2941, allocations: 36 kB / 0.5756 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.2941, allocations: 18.38 kB / 0.5756 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.2957, allocations: 1 MB / 0.5766 GB, free: 31.88 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.005024/0.3008, allocations: 3.922 MB / 0.5804 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006521/0.3073, allocations: 2.4 MB / 0.5828 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.3085, allocations: 0.6921 MB / 0.5834 GB, free: 28.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/0.3086, allocations: 25.45 kB / 0.5835 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.31, allocations: 0.8364 MB / 0.5843 GB, free: 28.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.785e-06/0.31, allocations: 0 / 0.5843 GB, free: 28.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02579/0.3358, allocations: 7.08 MB / 0.5912 GB, free: 27.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3359, allocations: 115.8 kB / 0.5913 GB, free: 26.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.3374, allocations: 1.145 MB / 0.5924 GB, free: 26.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.3375, allocations: 46.94 kB / 0.5925 GB, free: 26.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.3378, allocations: 0.4968 MB / 0.5929 GB, free: 26.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.3381, allocations: 362.6 kB / 0.5933 GB, free: 25.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.3386, allocations: 300.3 kB / 0.5936 GB, free: 25.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.216e-05/0.3386, allocations: 303.2 kB / 0.5939 GB, free: 25.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.3401, allocations: 0.793 MB / 0.5946 GB, free: 25.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.3417, allocations: 0.9746 MB / 0.5956 GB, free: 24.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02316/0.3648, allocations: 5.941 MB / 0.6014 GB, free: 22.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.3649, allocations: 1.375 kB / 0.6014 GB, free: 22.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.013/0.3779, allocations: 4.512 MB / 0.6058 GB, free: 21.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.3779, allocations: 60.05 kB / 0.6059 GB, free: 21.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.378, allocations: 2.156 kB / 0.6059 GB, free: 21.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005662/0.3836, allocations: 1.671 MB / 0.6075 GB, free: 20.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.385, allocations: 297.1 kB / 0.6078 GB, free: 20.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/0.4021, allocations: 8.626 MB / 0.6162 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.4038, allocations: 214.5 kB / 0.6164 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4039, allocations: 51.98 kB / 0.6165 GB, free: 13.79 MB / 430.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.0004556/0.4044, allocations: 307.7 kB / 0.6167 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.4045, allocations: 131.5 kB / 0.6169 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.4153, allocations: 3.912 MB / 0.6207 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4154, allocations: 12 kB / 0.6207 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4154, allocations: 11.94 kB / 0.6207 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.4154, allocations: 4.688 kB / 0.6207 GB, free: 9.383 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.01207/0.4275, allocations: 5.556 MB / 0.6261 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.4275, allocations: 0 / 0.6261 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/0.4281, allocations: 106 kB / 0.6262 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004606/0.4327, allocations: 1.597 MB / 0.6278 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/0.4328, allocations: 27.98 kB / 0.6278 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.4506, allocations: 9.634 MB / 0.6372 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4506, allocations: 3.938 kB / 0.6372 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.464, allocations: 4.799 MB / 0.6419 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.4643, allocations: 231.2 kB / 0.6422 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.4645, allocations: 20 kB / 0.6422 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.4656, allocations: 115.8 kB / 0.6423 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004451/0.4661, allocations: 196.7 kB / 0.6425 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.4661, allocations: 24 kB / 0.6425 GB, free: 2.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009708/0.4671, allocations: 0.7713 MB / 0.6432 GB, free: 1.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4671, allocations: 0 / 0.6432 GB, free: 1.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001143/0.4683, allocations: 487.6 kB / 0.6437 GB, free: 1.371 MB / 446.1 MB 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.0002245/0.4685, allocations: 141.4 kB / 0.6438 GB, free: 1.227 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006216/0.4747, allocations: 2.664 MB / 0.6464 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4747, allocations: 4.25 kB / 0.6464 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003841/0.4786, allocations: 1.617 MB / 0.648 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.4793, allocations: 117 kB / 0.6481 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.4828, allocations: 2.478 MB / 0.6506 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.4834, allocations: 1.143 MB / 0.6517 GB, free: 9.125 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.4837, allocations: 87.41 kB / 0.6518 GB, free: 9.039 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4837, allocations: 0 / 0.6518 GB, free: 9.039 MB / 462.1 MB Notification: Performance of Templates: time 0.0227/0.5064, allocations: 24.22 MB / 0.6754 GB, free: 1.023 MB / 478.1 MB 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)