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.001284/0.001284, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.284/1.284, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001636/0.001636, allocations: 119.3 kB / 256.9 MB, free: 4.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1653/0.1653, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004937, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3141/0.4159, allocations: 95.29 MB / 0.5393 GB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4162, allocations: 84.83 kB / 0.5394 GB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03714/0.4534, allocations: 13.29 MB / 0.5524 GB, free: 4.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4534, allocations: 0 / 0.5524 GB, free: 4.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.4534, allocations: 11.98 kB / 0.5524 GB, free: 4.59 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.001234/0.4547, allocations: 0.7218 MB / 0.5531 GB, free: 3.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4547, allocations: 15.95 kB / 0.5531 GB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.4553, allocations: 95.23 kB / 0.5532 GB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.4574, allocations: 0.8629 MB / 0.5541 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.4575, allocations: 27.31 kB / 0.5541 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.4576, allocations: 41.55 kB / 0.5541 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008834/0.4585, allocations: 0.6606 MB / 0.5548 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4585, allocations: 4 kB / 0.5548 GB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.4585, allocations: 14.19 kB / 0.5548 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.4586, allocations: 52.86 kB / 0.5549 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008385/0.4595, allocations: 0.6382 MB / 0.5555 GB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.4627, allocations: 2.409 MB / 0.5578 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.4632, allocations: 347.9 kB / 0.5582 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.4632, allocations: 5.094 kB / 0.5582 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.4633, allocations: 45.66 kB / 0.5582 GB, free: 15.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.815e-06/0.4633, allocations: 4 kB / 0.5582 GB, free: 15.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002472/0.4658, allocations: 1.722 MB / 0.5599 GB, free: 13.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.4658, allocations: 81.11 kB / 0.56 GB, free: 13.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.4661, allocations: 248.3 kB / 0.5602 GB, free: 13.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.4662, allocations: 37 kB / 0.5602 GB, free: 13.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.4663, allocations: 245.2 kB / 0.5605 GB, free: 13.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.4665, allocations: 174.5 kB / 0.5606 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.4665, allocations: 7.438 kB / 0.5607 GB, free: 13.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4667, allocations: 348.7 kB / 0.561 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.4669, allocations: 215.3 kB / 0.5612 GB, free: 12.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.4673, allocations: 360.9 kB / 0.5615 GB, free: 12.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.4677, allocations: 285 kB / 0.5618 GB, free: 12.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4677, allocations: 0 / 0.5618 GB, free: 12.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001157/0.4689, allocations: 0.717 MB / 0.5625 GB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4689, allocations: 8.562 kB / 0.5625 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008385/0.4698, allocations: 0.5193 MB / 0.563 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.4701, allocations: 72.16 kB / 0.5631 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.4705, allocations: 104.5 kB / 0.5632 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.472, allocations: 1.624 MB / 0.5648 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.4723, allocations: 27.61 kB / 0.5648 GB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.4724, allocations: 19.98 kB / 0.5648 GB, free: 9.484 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.0002995/0.4727, allocations: 216 kB / 0.565 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.4728, allocations: 35.62 kB / 0.5651 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008104/0.4736, allocations: 0.5591 MB / 0.5656 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/0.4736, allocations: 12 kB / 0.5656 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.4736, allocations: 0 / 0.5656 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4737, allocations: 11.88 kB / 0.5656 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.4754, allocations: 1.183 MB / 0.5668 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4754, allocations: 0 / 0.5668 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.4758, allocations: 87.86 kB / 0.5669 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4759, allocations: 3.953 kB / 0.5669 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.4759, allocations: 11.81 kB / 0.5669 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4759, allocations: 7.938 kB / 0.5669 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4759, allocations: 0 / 0.5669 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4771, allocations: 0.9837 MB / 0.5679 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.4772, allocations: 104.6 kB / 0.568 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.4772, allocations: 15.66 kB / 0.568 GB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.4774, allocations: 31.83 kB / 0.568 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.4775, allocations: 27.8 kB / 0.568 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.4776, allocations: 11.88 kB / 0.568 GB, free: 6.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001883/0.4777, allocations: 196.5 kB / 0.5682 GB, free: 6.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4778, allocations: 0 / 0.5682 GB, free: 6.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005806/0.4783, allocations: 131.5 kB / 0.5683 GB, free: 6.488 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.0002441/0.4786, allocations: 139.1 kB / 0.5685 GB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.4796, allocations: 0.6717 MB / 0.5691 GB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4796, allocations: 1.125 kB / 0.5691 GB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.48, allocations: 270.3 kB / 0.5694 GB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4804, allocations: 56.64 kB / 0.5694 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.4822, allocations: 1.409 MB / 0.5708 GB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.4827, allocations: 0.8875 MB / 0.5717 GB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003396/0.4831, allocations: 123.2 kB / 0.5718 GB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.434e-05/0.4832, allocations: 31.44 kB / 0.5718 GB, free: 3.215 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4832, allocations: 0 / 0.5718 GB, free: 3.215 MB / 378.7 MB Notification: Performance of Templates: time 0.007768/0.4909, allocations: 3.957 MB / 0.5757 GB, free: 15.27 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)