Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001613/0.001613, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.541/1.541, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001744/0.001744, allocations: 117.6 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1734/0.1734, allocations: 37.92 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.592e-05, allocations: 4 kB / 390.3 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.09893, allocations: 53.25 MB / 443.6 MB, free: 25.12 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.4959, allocations: 98.05 MB / 0.5289 GB, free: 8.773 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4962, allocations: 88 kB / 0.529 GB, free: 8.762 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06649/0.5627, allocations: 25.57 MB / 0.554 GB, free: 4.52 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5627, allocations: 0 / 0.554 GB, free: 4.52 MB / 363.1 MB Notification: Performance of Transformations before backend: time 4.947e-05/0.5628, allocations: 20 kB / 0.554 GB, free: 4.5 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001874/0.5647, allocations: 1.049 MB / 0.555 GB, free: 3.453 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5647, allocations: 15.95 kB / 0.5551 GB, free: 3.438 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009579/0.5657, allocations: 182.6 kB / 0.5552 GB, free: 3.258 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.5686, allocations: 1.333 MB / 0.5565 GB, free: 2.125 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.5687, allocations: 31.94 kB / 0.5566 GB, free: 2.094 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5688, allocations: 51.98 kB / 0.5566 GB, free: 2.043 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001061/0.5699, allocations: 0.7323 MB / 0.5573 GB, free: 1.551 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.5712, allocations: 1.026 MB / 0.5583 GB, free: 0.6836 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.5713, allocations: 4 kB / 0.5583 GB, free: 0.6797 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.5714, allocations: 0 / 0.5583 GB, free: 0.6797 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-05/0.5714, allocations: 53.3 kB / 0.5584 GB, free: 0.6289 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004769/0.5762, allocations: 4.545 MB / 0.5628 GB, free: 12.51 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000904/0.5771, allocations: 0.6356 MB / 0.5634 GB, free: 12.07 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.5776, allocations: 372.3 kB / 0.5638 GB, free: 11.82 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.5777, allocations: 24.05 kB / 0.5638 GB, free: 11.8 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005343/0.5782, allocations: 425.8 kB / 0.5642 GB, free: 11.46 MB / 379.1 MB Notification: Performance of pre-optimization done (n=69): time 2.044e-06/0.5782, allocations: 0 / 0.5642 GB, free: 11.46 MB / 379.1 MB Notification: Performance of matching and sorting (n=70): time 0.00264/0.5809, allocations: 1.57 MB / 0.5658 GB, free: 10.15 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.581, allocations: 166.7 kB / 0.5659 GB, free: 9.953 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.5816, allocations: 473.9 kB / 0.5664 GB, free: 9.582 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.5816, allocations: 29.69 kB / 0.5664 GB, free: 9.547 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.5819, allocations: 475.7 kB / 0.5669 GB, free: 9.195 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.5821, allocations: 232 kB / 0.5671 GB, free: 8.992 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.5821, allocations: 4 kB / 0.5671 GB, free: 8.988 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5823, allocations: 384.6 kB / 0.5675 GB, free: 8.637 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.5827, allocations: 277.3 kB / 0.5677 GB, free: 8.453 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.5832, allocations: 0.531 MB / 0.5682 GB, free: 7.918 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.5838, allocations: 377.7 kB / 0.5686 GB, free: 7.656 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5838, allocations: 0 / 0.5686 GB, free: 7.656 MB / 379.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001755/0.5855, allocations: 1.109 MB / 0.5697 GB, free: 6.762 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.5856, allocations: 33.7 kB / 0.5697 GB, free: 6.723 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.5856, allocations: 15.92 kB / 0.5697 GB, free: 6.707 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009748/0.5866, allocations: 325.9 kB / 0.57 GB, free: 6.445 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.5872, allocations: 141.2 kB / 0.5702 GB, free: 6.312 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/0.5923, allocations: 4.758 MB / 0.5748 GB, free: 2.09 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.593, allocations: 27.92 kB / 0.5748 GB, free: 2.062 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.5931, allocations: 37 kB / 0.5749 GB, free: 2.031 MB / 379.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 76 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.5933, allocations: 164.7 kB / 0.575 GB, free: 1.863 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.5934, allocations: 75.11 kB / 0.5751 GB, free: 1.789 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.5954, allocations: 0.9847 MB / 0.5761 GB, free: 0.8398 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.5954, allocations: 12 kB / 0.5761 GB, free: 0.8281 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.5954, allocations: 4 kB / 0.5761 GB, free: 0.8242 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.5955, allocations: 3.984 kB / 0.5761 GB, free: 0.8203 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.599, allocations: 1.902 MB / 0.5779 GB, free: 14.85 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.599, allocations: 4 kB / 0.5779 GB, free: 14.85 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.5994, allocations: 76.05 kB / 0.578 GB, free: 14.77 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008843/0.6003, allocations: 305.4 kB / 0.5783 GB, free: 14.47 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.6003, allocations: 12 kB / 0.5783 GB, free: 14.46 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005078/0.6054, allocations: 4.711 MB / 0.5829 GB, free: 9.488 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.6054, allocations: 0 / 0.5829 GB, free: 9.488 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.6073, allocations: 1.124 MB / 0.584 GB, free: 8.285 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.6076, allocations: 140.2 kB / 0.5842 GB, free: 8.129 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.6077, allocations: 7.984 kB / 0.5842 GB, free: 8.121 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.6082, allocations: 19.98 kB / 0.5842 GB, free: 8.102 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.6083, allocations: 56.44 kB / 0.5842 GB, free: 8.047 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.6084, allocations: 20 kB / 0.5843 GB, free: 8.027 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0004489/0.6088, allocations: 351.2 kB / 0.5846 GB, free: 7.691 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6089, allocations: 4 kB / 0.5846 GB, free: 7.688 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001053/0.6099, allocations: 267.9 kB / 0.5848 GB, free: 7.426 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.closed,switch.control[1],$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003241/0.6102, allocations: 168.4 kB / 0.585 GB, free: 7.254 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.612, allocations: 1.094 MB / 0.5861 GB, free: 6.129 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.612, allocations: 0.625 kB / 0.5861 GB, free: 6.129 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009944/0.613, allocations: 0.7407 MB / 0.5868 GB, free: 5.355 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007626/0.6138, allocations: 139.6 kB / 0.5869 GB, free: 5.215 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.6163, allocations: 1.326 MB / 0.5882 GB, free: 3.84 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.6171, allocations: 1.132 MB / 0.5893 GB, free: 2.684 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0005204/0.6176, allocations: 174.1 kB / 0.5895 GB, free: 2.512 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.6178, allocations: 47.42 kB / 0.5895 GB, free: 2.465 MB / 395.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6178, allocations: 0 / 0.5895 GB, free: 2.465 MB / 395.1 MB Notification: Performance of Templates: time 0.01735/0.6351, allocations: 9.791 MB / 0.5991 GB, free: 8.707 MB / 411.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)