Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.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.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008224/0.0008223, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.387 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.001278/0.001278, allocations: 168.6 kB / 291.3 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5465/0.5465, allocations: 91.93 MB / 434.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003809, allocations: 12 kB / 0.5054 GB, free: 7.254 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3892, allocations: 72.47 MB / 0.5762 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01046/0.3997, allocations: 13.99 MB / 0.5898 GB, free: 26.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008536/0.4083, allocations: 3.639 MB / 0.5934 GB, free: 23.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003774/0.4121, allocations: 32.41 kB / 0.5934 GB, free: 23.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.4143, allocations: 438.2 kB / 0.5938 GB, free: 23.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.4204, allocations: 1.233 MB / 0.595 GB, free: 22.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003891/0.4243, allocations: 1.426 MB / 0.5964 GB, free: 22.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006467/0.4308, allocations: 3.6 MB / 0.6 GB, free: 20.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.4328, allocations: 0.7929 MB / 0.6007 GB, free: 20 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.4359, allocations: 1.359 MB / 0.6021 GB, free: 19.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003473/0.4394, allocations: 1.818 MB / 0.6038 GB, free: 18.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.4408, allocations: 149.7 kB / 0.604 GB, free: 18.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.4429, allocations: 280.9 kB / 0.6042 GB, free: 18.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.4444, allocations: 0.62 MB / 0.6048 GB, free: 18.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00404/0.4484, allocations: 1.516 MB / 0.6063 GB, free: 17.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.4538, allocations: 2.996 MB / 0.6093 GB, free: 16.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4539, allocations: 1.375 kB / 0.6093 GB, free: 16.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4539, allocations: 0 / 0.6093 GB, free: 16.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002596/0.4542, allocations: 0 / 0.6093 GB, free: 16.19 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02675/0.4809, allocations: 6.221 MB / 0.6153 GB, free: 13.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.481, allocations: 9.891 kB / 0.6153 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/0.4976, allocations: 2.301 MB / 0.6176 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006444/0.5041, allocations: 1.911 MB / 0.6195 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009975/0.5051, allocations: 0.7576 MB / 0.6202 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.5066, allocations: 220.2 kB / 0.6204 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.5172, allocations: 3.26 MB / 0.6236 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/0.5173, allocations: 0 / 0.6236 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/0.5176, allocations: 85.27 kB / 0.6237 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.855e-05/0.5177, allocations: 51.03 kB / 0.6237 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007526/0.5252, allocations: 3.002 MB / 0.6266 GB, free: 9.168 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.01968/0.5449, allocations: 10.23 MB / 0.6366 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/0.5578, allocations: 4.903 MB / 0.6414 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005389/0.5632, allocations: 2.179 MB / 0.6436 GB, free: 7.797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.5636, allocations: 45.95 kB / 0.6436 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005786/0.5694, allocations: 2.455 MB / 0.646 GB, free: 5.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 5.039e-06/0.5695, allocations: 0 / 0.646 GB, free: 5.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1361/0.7056, allocations: 35.56 MB / 0.6807 GB, free: 1.594 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7057, allocations: 180.2 kB / 0.6809 GB, free: 1.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004235/0.71, allocations: 2.333 MB / 0.6832 GB, free: 15.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001008/0.711, allocations: 77.77 kB / 0.6832 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.7121, allocations: 1.18 MB / 0.6844 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001638/0.7137, allocations: 0.8858 MB / 0.6853 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006174/0.7144, allocations: 296.7 kB / 0.6855 GB, free: 12.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7145, allocations: 301.1 kB / 0.6858 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005039/0.7195, allocations: 2.181 MB / 0.688 GB, free: 10.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005528/0.7251, allocations: 2.573 MB / 0.6905 GB, free: 7.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06262/0.7877, allocations: 15.8 MB / 0.7059 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-05/0.7878, allocations: 7.938 kB / 0.7059 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.05173/0.8395, allocations: 15.43 MB / 0.721 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.8397, allocations: 110.8 kB / 0.7211 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.8398, allocations: 8 kB / 0.7211 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02151/0.8613, allocations: 6.426 MB / 0.7274 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/0.8648, allocations: 0.5734 MB / 0.7279 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0716/0.9364, allocations: 24.94 MB / 0.7523 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005909/0.9423, allocations: 0.5909 MB / 0.7529 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.9434, allocations: 124 kB / 0.753 GB, free: 6.918 MB / 0.545 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.002782/0.9462, allocations: 0.5317 MB / 0.7535 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/0.9478, allocations: 304.2 kB / 0.7538 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04863/0.9965, allocations: 14.8 MB / 0.7682 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-05/0.9966, allocations: 24 kB / 0.7683 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001095/0.9967, allocations: 20 kB / 0.7683 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/0.9969, allocations: 11.95 kB / 0.7683 GB, free: 7.121 MB / 0.5606 GB 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.386/1.383, allocations: 18.44 MB / 0.7863 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/1.383, allocations: 1 kB / 0.7863 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/1.385, allocations: 250.2 kB / 0.7865 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02147/1.406, allocations: 6.271 MB / 0.7927 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009911/1.407, allocations: 51.05 kB / 0.7927 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06133/1.469, allocations: 25.52 MB / 0.8176 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.469, allocations: 3.797 kB / 0.8176 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04758/1.516, allocations: 17.38 MB / 0.8346 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.518, allocations: 432.1 kB / 0.835 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/1.519, allocations: 45.88 kB / 0.8351 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00355/1.522, allocations: 412.3 kB / 0.8355 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002225/1.524, allocations: 0.5587 MB / 0.836 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002538/1.525, allocations: 67.8 kB / 0.8361 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002205/1.527, allocations: 1.546 MB / 0.8376 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.527, allocations: 0 / 0.8376 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004336/1.531, allocations: 1.189 MB / 0.8387 GB, free: 134.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005527/1.532, allocations: 185 kB / 0.8389 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01907/1.551, allocations: 7.574 MB / 0.8463 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.551, allocations: 1.75 kB / 0.8463 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01469/1.566, allocations: 5.102 MB / 0.8513 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/1.569, allocations: 274.4 kB / 0.8516 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00983/1.579, allocations: 6.827 MB / 0.8582 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.58, allocations: 1.826 MB / 0.86 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.581, allocations: 179.4 kB / 0.8602 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.51e-07/1.581, allocations: 4 kB / 0.8602 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.0711/1.653, allocations: 64.29 MB / 0.923 GB, free: 48.63 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)