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.001025/0.001026, allocations: 182.6 kB / 13.64 MB, free: 1.676 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.556/1.556, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001699/0.001699, allocations: 130.2 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1563/0.1563, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.167e-05, allocations: 8 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2601, allocations: 53.21 MB / 450.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.6368, allocations: 98.73 MB / 0.5366 GB, free: 88.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.6371, allocations: 85 kB / 0.5367 GB, free: 88.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0619/0.699, allocations: 25.81 MB / 0.5619 GB, free: 66.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6991, allocations: 0 / 0.5619 GB, free: 66.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.744e-05/0.6991, allocations: 20 kB / 0.5619 GB, free: 66.66 MB / 378.7 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.001652/0.7008, allocations: 1.046 MB / 0.5629 GB, free: 65.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7009, allocations: 19.95 kB / 0.5629 GB, free: 65.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.7017, allocations: 182.5 kB / 0.5631 GB, free: 65.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/0.7049, allocations: 1.342 MB / 0.5644 GB, free: 63.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.705, allocations: 65.98 kB / 0.5645 GB, free: 63.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.7051, allocations: 83.98 kB / 0.5646 GB, free: 63.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.7068, allocations: 1.14 MB / 0.5657 GB, free: 62.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.7068, allocations: 0 / 0.5657 GB, free: 62.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.7069, allocations: 39.95 kB / 0.5657 GB, free: 62.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-05/0.7069, allocations: 49.98 kB / 0.5658 GB, free: 62.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.708, allocations: 0.8704 MB / 0.5666 GB, free: 61.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.7122, allocations: 4.72 MB / 0.5712 GB, free: 56.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.7131, allocations: 0.6743 MB / 0.5719 GB, free: 56.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.7136, allocations: 395.8 kB / 0.5723 GB, free: 55.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.7136, allocations: 12.55 kB / 0.5723 GB, free: 55.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005579/0.7142, allocations: 451.9 kB / 0.5727 GB, free: 55.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 2.665e-06/0.7142, allocations: 0 / 0.5727 GB, free: 55.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=70): time 0.002572/0.7168, allocations: 1.7 MB / 0.5744 GB, free: 53.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.7169, allocations: 170.8 kB / 0.5745 GB, free: 53.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.7174, allocations: 0.5072 MB / 0.575 GB, free: 52.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.7174, allocations: 37.7 kB / 0.5751 GB, free: 52.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.7177, allocations: 474.8 kB / 0.5755 GB, free: 52.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.7178, allocations: 232.7 kB / 0.5757 GB, free: 51.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.7179, allocations: 20 kB / 0.5758 GB, free: 51.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.718, allocations: 390.8 kB / 0.5761 GB, free: 51.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.7183, allocations: 293.9 kB / 0.5764 GB, free: 51.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.7188, allocations: 0.5372 MB / 0.5769 GB, free: 50.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.7194, allocations: 416.7 kB / 0.5773 GB, free: 50.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7194, allocations: 11.89 kB / 0.5773 GB, free: 50.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001713/0.7211, allocations: 1.231 MB / 0.5785 GB, free: 48.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.7212, allocations: 33.7 kB / 0.5786 GB, free: 48.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7212, allocations: 12 kB / 0.5786 GB, free: 48.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009704/0.7222, allocations: 342 kB / 0.5789 GB, free: 48.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.7226, allocations: 143.7 kB / 0.579 GB, free: 48.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/0.7269, allocations: 4.934 MB / 0.5839 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.7276, allocations: 51.95 kB / 0.5839 GB, free: 43.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.7277, allocations: 35.95 kB / 0.5839 GB, free: 43.1 MB / 378.7 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.0001994/0.7279, allocations: 186.4 kB / 0.5841 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.728, allocations: 79.06 kB / 0.5842 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.7297, allocations: 1.064 MB / 0.5852 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.7297, allocations: 12 kB / 0.5853 GB, free: 41.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7297, allocations: 4 kB / 0.5853 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.7298, allocations: 7.984 kB / 0.5853 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.7327, allocations: 2.106 MB / 0.5873 GB, free: 39.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.7328, allocations: 12.05 kB / 0.5873 GB, free: 39.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.7331, allocations: 79.89 kB / 0.5874 GB, free: 39.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007571/0.7338, allocations: 313.5 kB / 0.5877 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.7339, allocations: 12 kB / 0.5877 GB, free: 39.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004068/0.7379, allocations: 4.877 MB / 0.5925 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.738, allocations: 3.938 kB / 0.5925 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.7395, allocations: 1.203 MB / 0.5937 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.7397, allocations: 144.2 kB / 0.5938 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.7398, allocations: 20 kB / 0.5938 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.7401, allocations: 27.97 kB / 0.5938 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.7403, allocations: 56.44 kB / 0.5939 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.7403, allocations: 20 kB / 0.5939 GB, free: 32.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004136/0.7407, allocations: 403.2 kB / 0.5943 GB, free: 31.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7408, allocations: 0 / 0.5943 GB, free: 31.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009404/0.7417, allocations: 299.9 kB / 0.5946 GB, free: 31.68 MB / 378.7 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.0002893/0.742, allocations: 191 kB / 0.5948 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.7435, allocations: 1.156 MB / 0.5959 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7435, allocations: 0 / 0.5959 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008312/0.7443, allocations: 0.7796 MB / 0.5967 GB, free: 29.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.745, allocations: 154.8 kB / 0.5968 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.7469, allocations: 1.364 MB / 0.5981 GB, free: 27.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.7474, allocations: 1.131 MB / 0.5992 GB, free: 26.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004585/0.7479, allocations: 170.2 kB / 0.5994 GB, free: 26.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.748, allocations: 55.36 kB / 0.5995 GB, free: 26.54 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.748, allocations: 4 kB / 0.5995 GB, free: 26.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01553/0.7635, allocations: 10.98 MB / 0.6102 GB, free: 15.55 MB / 378.7 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)