Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.385/1.385, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.001045/0.001045, allocations: 179.4 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.523/0.523, allocations: 78.54 MB / 420.3 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004385, allocations: 12 kB / 0.4887 GB, free: 6.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 69.35 MB / 0.5564 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.2735/0.4304, allocations: 6.402 MB / 0.5627 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004061/0.4345, allocations: 2.08 MB / 0.5647 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008563/0.4354, allocations: 12.62 kB / 0.5647 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.4361, allocations: 189.6 kB / 0.5649 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.4381, allocations: 0.72 MB / 0.5656 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.4397, allocations: 0.6052 MB / 0.5662 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00209/0.4418, allocations: 1.547 MB / 0.5677 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.4423, allocations: 282.3 kB / 0.5679 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009567/0.4432, allocations: 0.5768 MB / 0.5685 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008552/0.4441, allocations: 0.7835 MB / 0.5693 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.4443, allocations: 63.31 kB / 0.5693 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.4449, allocations: 199.1 kB / 0.5695 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.4451, allocations: 285.6 kB / 0.5698 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000532/0.4457, allocations: 0.6402 MB / 0.5704 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.4471, allocations: 1.6 MB / 0.572 GB, free: 33.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4471, allocations: 3.812 kB / 0.572 GB, free: 33.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4471, allocations: 0.8438 kB / 0.572 GB, free: 33.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.4471, allocations: 0 / 0.572 GB, free: 33.12 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008877/0.456, allocations: 2.57 MB / 0.5745 GB, free: 32.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4561, allocations: 8.062 kB / 0.5745 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/0.4612, allocations: 0.7826 MB / 0.5753 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.4628, allocations: 0.9222 MB / 0.5762 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.4631, allocations: 243.8 kB / 0.5764 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.4633, allocations: 84.62 kB / 0.5765 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.4654, allocations: 1.177 MB / 0.5776 GB, free: 31.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.4655, allocations: 10.7 kB / 0.5776 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.827e-05/0.4656, allocations: 29.47 kB / 0.5777 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.4656, allocations: 20.78 kB / 0.5777 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.4677, allocations: 1.088 MB / 0.5788 GB, free: 31.37 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.006814/0.4745, allocations: 4.041 MB / 0.5827 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008038/0.4826, allocations: 2.924 MB / 0.5856 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.4845, allocations: 0.7687 MB / 0.5863 GB, free: 28.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.4846, allocations: 16.61 kB / 0.5863 GB, free: 28.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.4846, allocations: 47.47 kB / 0.5864 GB, free: 28.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 4.478e-06/0.4847, allocations: 0 / 0.5864 GB, free: 28.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03104/0.5157, allocations: 8.296 MB / 0.5945 GB, free: 27.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.5159, allocations: 143.2 kB / 0.5946 GB, free: 27.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003109/0.519, allocations: 1.128 MB / 0.5957 GB, free: 26.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003398/0.5193, allocations: 45.3 kB / 0.5958 GB, free: 26.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/0.5199, allocations: 0.4966 MB / 0.5962 GB, free: 26.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/0.5206, allocations: 362.4 kB / 0.5966 GB, free: 25.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004696/0.5211, allocations: 143.2 kB / 0.5967 GB, free: 25.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.5212, allocations: 307 kB / 0.597 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.5235, allocations: 0.8573 MB / 0.5979 GB, free: 25.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.526, allocations: 1.026 MB / 0.5989 GB, free: 24.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02911/0.5552, allocations: 6.37 MB / 0.6051 GB, free: 22.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/0.5552, allocations: 1.094 kB / 0.6051 GB, free: 22.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01883/0.5741, allocations: 5.32 MB / 0.6103 GB, free: 21.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.5743, allocations: 241.5 kB / 0.6105 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.5743, allocations: 3.125 kB / 0.6105 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007244/0.5816, allocations: 1.947 MB / 0.6124 GB, free: 20.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.5831, allocations: 275.6 kB / 0.6127 GB, free: 19.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/0.603, allocations: 8.95 MB / 0.6214 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.6053, allocations: 234.6 kB / 0.6216 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/0.6056, allocations: 56.78 kB / 0.6217 GB, free: 10.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.6056, allocations: 4 kB / 0.6217 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01418/0.6198, allocations: 5.16 MB / 0.6267 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.6199, allocations: 4 kB / 0.6267 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006264/0.6261, allocations: 1.945 MB / 0.6286 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.6277, allocations: 271.6 kB / 0.6289 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/0.6486, allocations: 8.947 MB / 0.6376 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.6508, allocations: 206.9 kB / 0.6378 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/0.6511, allocations: 60.69 kB / 0.6379 GB, free: 9.777 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 158 * 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.001011/0.6522, allocations: 377.6 kB / 0.6382 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/0.6526, allocations: 130.3 kB / 0.6384 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.6669, allocations: 4.654 MB / 0.6429 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.6669, allocations: 12 kB / 0.6429 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/0.667, allocations: 8 kB / 0.6429 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.563e-05/0.667, allocations: 9.766 kB / 0.6429 GB, free: 4.559 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.01747/0.6845, allocations: 6.332 MB / 0.6491 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.6845, allocations: 0 / 0.6491 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008233/0.6854, allocations: 119.9 kB / 0.6492 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005822/0.6912, allocations: 1.793 MB / 0.651 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/0.6915, allocations: 23.98 kB / 0.651 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.7099, allocations: 7.611 MB / 0.6584 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7099, allocations: 4 kB / 0.6584 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/0.7262, allocations: 5.595 MB / 0.6639 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/0.7269, allocations: 240.2 kB / 0.6641 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/0.7274, allocations: 17.25 kB / 0.6642 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.7289, allocations: 139.9 kB / 0.6643 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006794/0.7296, allocations: 180.7 kB / 0.6645 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.7298, allocations: 24 kB / 0.6645 GB, free: 14.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.7312, allocations: 0.7672 MB / 0.6652 GB, free: 13.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7312, allocations: 0 / 0.6652 GB, free: 13.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002691/0.7339, allocations: 0.7882 MB / 0.666 GB, free: 12.62 MB / 478.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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * 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,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003197/0.7342, allocations: 128.7 kB / 0.6661 GB, free: 12.49 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01308/0.7473, allocations: 5.057 MB / 0.6711 GB, free: 7.367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.7474, allocations: 0 / 0.6711 GB, free: 7.367 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00486/0.7522, allocations: 1.691 MB / 0.6727 GB, free: 5.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.7542, allocations: 121.3 kB / 0.6728 GB, free: 5.543 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.7596, allocations: 3.011 MB / 0.6758 GB, free: 2.555 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009323/0.7606, allocations: 1.145 MB / 0.6769 GB, free: 1.383 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008267/0.7614, allocations: 160.5 kB / 0.677 GB, free: 1.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.7618, allocations: 79.41 kB / 0.6771 GB, free: 1.152 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7618, allocations: 0 / 0.6771 GB, free: 1.152 MB / 478.1 MB Notification: Performance of Templates: time 0.04917/0.811, allocations: 27.6 MB / 0.7041 GB, free: 5.723 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1) Environment - environmentSimulation: