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.000999/0.000999, allocations: 187.5 kB / 17.4 MB, free: 4.375 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.389/1.389, allocations: 194.5 MB / 212.6 MB, free: 2.859 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.001584/0.001584, allocations: 119.2 kB / 257.9 MB, free: 4.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2228/0.2228, allocations: 38.01 MB / 341.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 12 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1099, allocations: 53.23 MB / 458.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4095/0.5194, allocations: 98.84 MB / 0.544 GB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.5197, allocations: 100.8 kB / 0.5441 GB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07482/0.5945, allocations: 25.79 MB / 0.5693 GB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5946, allocations: 0 / 0.5693 GB, free: 5.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001006/0.5947, allocations: 23.94 kB / 0.5693 GB, free: 5.941 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.00345/0.5982, allocations: 1.175 MB / 0.5705 GB, free: 4.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5982, allocations: 12.03 kB / 0.5705 GB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5994, allocations: 177.2 kB / 0.5707 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.602, allocations: 1.01 MB / 0.5717 GB, free: 3.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.651e-05/0.6021, allocations: 64.67 kB / 0.5717 GB, free: 3.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.6024, allocations: 86.38 kB / 0.5718 GB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.6047, allocations: 1.152 MB / 0.5729 GB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/0.6048, allocations: 11.91 kB / 0.5729 GB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.6048, allocations: 34.62 kB / 0.573 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.127e-05/0.6049, allocations: 57.78 kB / 0.573 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.6065, allocations: 0.8863 MB / 0.5739 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007075/0.6136, allocations: 4.708 MB / 0.5785 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.6149, allocations: 0.669 MB / 0.5791 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.6155, allocations: 399.9 kB / 0.5795 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.392e-05/0.6156, allocations: 19.72 kB / 0.5795 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006424/0.6162, allocations: 467.8 kB / 0.58 GB, free: 12.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=69): time 2.946e-06/0.6162, allocations: 0 / 0.58 GB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.00597/0.6222, allocations: 2.595 MB / 0.5825 GB, free: 10.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.6223, allocations: 166.8 kB / 0.5827 GB, free: 10.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/0.6231, allocations: 0.5804 MB / 0.5832 GB, free: 9.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.6232, allocations: 39.14 kB / 0.5833 GB, free: 9.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.6236, allocations: 475.6 kB / 0.5837 GB, free: 9.344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.6239, allocations: 234.9 kB / 0.584 GB, free: 9.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.6239, allocations: 15.31 kB / 0.584 GB, free: 9.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6241, allocations: 389.9 kB / 0.5843 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.6245, allocations: 294.4 kB / 0.5846 GB, free: 8.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.6251, allocations: 0.553 MB / 0.5852 GB, free: 8.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.6264, allocations: 0.9734 MB / 0.5861 GB, free: 7.176 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.6264, allocations: 7.938 kB / 0.5861 GB, free: 7.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002052/0.6285, allocations: 1.243 MB / 0.5873 GB, free: 6.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.6285, allocations: 37.7 kB / 0.5874 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.6286, allocations: 8 kB / 0.5874 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.6296, allocations: 347.8 kB / 0.5877 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.6302, allocations: 147 kB / 0.5879 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005358/0.6355, allocations: 4.947 MB / 0.5927 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/0.6362, allocations: 43.95 kB / 0.5927 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.6362, allocations: 40 kB / 0.5928 GB, free: 0.7891 MB / 394.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 () * Number of clocked 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.0006229/0.6369, allocations: 357.4 kB / 0.5931 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/0.637, allocations: 75.06 kB / 0.5932 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.6389, allocations: 1.089 MB / 0.5942 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.6389, allocations: 8 kB / 0.5942 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6389, allocations: 11.94 kB / 0.5943 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.6389, allocations: 12.06 kB / 0.5943 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.6422, allocations: 2.129 MB / 0.5964 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.026e-06/0.6422, allocations: 4 kB / 0.5964 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.6425, allocations: 71.89 kB / 0.5964 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008129/0.6434, allocations: 325.7 kB / 0.5967 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.6434, allocations: 19.98 kB / 0.5968 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005089/0.6485, allocations: 4.895 MB / 0.6015 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6486, allocations: 3.938 kB / 0.6015 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.6504, allocations: 1.156 MB / 0.6027 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.6506, allocations: 148.2 kB / 0.6028 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.6507, allocations: 16 kB / 0.6028 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.651, allocations: 27.97 kB / 0.6028 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.6512, allocations: 60.36 kB / 0.6029 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.6513, allocations: 16 kB / 0.6029 GB, free: 5.902 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005341/0.6518, allocations: 411 kB / 0.6033 GB, free: 5.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6518, allocations: 0 / 0.6033 GB, free: 5.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001249/0.6531, allocations: 303.9 kB / 0.6036 GB, free: 5.207 MB / 410.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) * Number of clocked states: 0 () * 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.0003411/0.6534, allocations: 167.2 kB / 0.6038 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.6554, allocations: 1.187 MB / 0.6049 GB, free: 3.812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6554, allocations: 0 / 0.6049 GB, free: 3.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.6565, allocations: 0.7916 MB / 0.6057 GB, free: 2.984 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6575, allocations: 162.8 kB / 0.6059 GB, free: 2.828 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.6605, allocations: 2.144 MB / 0.6079 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/0.6612, allocations: 1.099 MB / 0.609 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005409/0.6618, allocations: 182.2 kB / 0.6092 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.6619, allocations: 51.44 kB / 0.6092 GB, free: 15.28 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6619, allocations: 0 / 0.6092 GB, free: 15.28 MB / 426.7 MB Notification: Performance of Templates: time 0.01945/0.6814, allocations: 10.79 MB / 0.6198 GB, free: 4.488 MB / 426.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)