Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009737/0.0009738, allocations: 179.4 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.365/1.365, allocations: 194.5 MB / 212.6 MB, free: 2.93 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001562/0.001562, allocations: 112.7 kB / 257.9 MB, free: 4.262 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2316/0.2316, allocations: 38.01 MB / 341.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.000408, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 53.23 MB / 458.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/0.4176, allocations: 95.32 MB / 0.5406 GB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4179, allocations: 91.05 kB / 0.5407 GB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03622/0.4541, allocations: 13.28 MB / 0.5537 GB, free: 4.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4542, allocations: 7.938 kB / 0.5537 GB, free: 4.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.4542, allocations: 8 kB / 0.5537 GB, free: 4.195 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001348/0.4555, allocations: 0.7207 MB / 0.5544 GB, free: 3.457 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4556, allocations: 8.031 kB / 0.5544 GB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/0.4561, allocations: 92.22 kB / 0.5545 GB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.4571, allocations: 0.5499 MB / 0.555 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.4571, allocations: 37.22 kB / 0.555 GB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.4572, allocations: 42.84 kB / 0.5551 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009038/0.4581, allocations: 0.6588 MB / 0.5557 GB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4582, allocations: 4 kB / 0.5557 GB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.4582, allocations: 22.69 kB / 0.5558 GB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.895e-05/0.4583, allocations: 44.22 kB / 0.5558 GB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/0.4593, allocations: 0.6371 MB / 0.5564 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003189/0.4624, allocations: 2.419 MB / 0.5588 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.463, allocations: 350 kB / 0.5591 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.4634, allocations: 253.7 kB / 0.5594 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.4634, allocations: 9.203 kB / 0.5594 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.4635, allocations: 45.64 kB / 0.5594 GB, free: 15.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.925e-06/0.4635, allocations: 0 / 0.5594 GB, free: 15.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002261/0.4657, allocations: 1.47 MB / 0.5608 GB, free: 13.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.4658, allocations: 85.09 kB / 0.5609 GB, free: 13.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.4661, allocations: 287 kB / 0.5612 GB, free: 13.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.4661, allocations: 36.08 kB / 0.5612 GB, free: 13.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.4663, allocations: 241.7 kB / 0.5615 GB, free: 13.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.4664, allocations: 162.8 kB / 0.5616 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.4665, allocations: 7.359 kB / 0.5616 GB, free: 13.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4666, allocations: 350.7 kB / 0.562 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.4669, allocations: 225.6 kB / 0.5622 GB, free: 12.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.4673, allocations: 353.8 kB / 0.5625 GB, free: 12.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.468, allocations: 0.6293 MB / 0.5631 GB, free: 11.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.468, allocations: 8 kB / 0.5631 GB, free: 11.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001134/0.4692, allocations: 0.7179 MB / 0.5638 GB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4692, allocations: 8 kB / 0.5638 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007832/0.47, allocations: 0.5157 MB / 0.5643 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.4703, allocations: 75.55 kB / 0.5644 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.4707, allocations: 95.56 kB / 0.5645 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.4723, allocations: 1.606 MB / 0.5661 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.4726, allocations: 30.59 kB / 0.5661 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.4726, allocations: 19.19 kB / 0.5661 GB, free: 9.137 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 3 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002727/0.4729, allocations: 221 kB / 0.5663 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.4729, allocations: 35.53 kB / 0.5664 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007772/0.4737, allocations: 0.5509 MB / 0.5669 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.4738, allocations: 15.98 kB / 0.5669 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.4738, allocations: 0 / 0.5669 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4738, allocations: 4 kB / 0.5669 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.4754, allocations: 1.195 MB / 0.5681 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4754, allocations: 0 / 0.5681 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.4758, allocations: 79.88 kB / 0.5682 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4759, allocations: 4 kB / 0.5682 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.4759, allocations: 10.38 kB / 0.5682 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.4759, allocations: 15.86 kB / 0.5682 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.4759, allocations: 4 kB / 0.5682 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.477, allocations: 0.9321 MB / 0.5691 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.4771, allocations: 112.6 kB / 0.5692 GB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.4772, allocations: 11.56 kB / 0.5692 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.4774, allocations: 31.22 kB / 0.5693 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.4775, allocations: 27.84 kB / 0.5693 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.4775, allocations: 11.94 kB / 0.5693 GB, free: 6.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.4777, allocations: 196.4 kB / 0.5695 GB, free: 6.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4777, allocations: 0 / 0.5695 GB, free: 6.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005042/0.4782, allocations: 131.4 kB / 0.5696 GB, free: 6.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001902/0.4784, allocations: 139 kB / 0.5697 GB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009698/0.4794, allocations: 0.6632 MB / 0.5704 GB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4794, allocations: 0 / 0.5704 GB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.4797, allocations: 261.1 kB / 0.5706 GB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.4803, allocations: 64.61 kB / 0.5707 GB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.4821, allocations: 1.422 MB / 0.5721 GB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.4825, allocations: 0.8777 MB / 0.5729 GB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.4829, allocations: 119.2 kB / 0.5731 GB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.483, allocations: 35.44 kB / 0.5731 GB, free: 2.934 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.483, allocations: 0 / 0.5731 GB, free: 2.934 MB / 378.7 MB Notification: Performance of Templates: time 0.007682/0.4907, allocations: 3.983 MB / 0.577 GB, free: 14.97 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)