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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0015/0.0015, allocations: 182 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.771/1.771, allocations: 194.2 MB / 208.4 MB, free: 6.727 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.00171/0.00171, allocations: 119.9 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1846/0.1846, allocations: 37.9 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.441e-05/4.45e-05, allocations: 4 kB / 397.6 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3161, allocations: 53.22 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.7404, allocations: 98.72 MB / 0.5367 GB, free: 88.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.7407, allocations: 90.56 kB / 0.5368 GB, free: 88.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06323/0.804, allocations: 25.81 MB / 0.562 GB, free: 66.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.804, allocations: 0 / 0.562 GB, free: 66.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.712e-05/0.8041, allocations: 20 kB / 0.562 GB, free: 66.63 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.001608/0.8057, allocations: 1.05 MB / 0.563 GB, free: 65.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8057, allocations: 15.97 kB / 0.563 GB, free: 65.51 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.8059, allocations: 143.5 kB / 0.5632 GB, free: 65.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/0.8067, allocations: 182.6 kB / 0.5634 GB, free: 65.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.8095, allocations: 1.335 MB / 0.5647 GB, free: 63.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.8095, allocations: 65.98 kB / 0.5647 GB, free: 63.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.8096, allocations: 76 kB / 0.5648 GB, free: 63.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.8111, allocations: 1.144 MB / 0.5659 GB, free: 62.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.8111, allocations: 11.86 kB / 0.5659 GB, free: 62.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.8112, allocations: 32 kB / 0.5659 GB, free: 62.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/0.8113, allocations: 49.98 kB / 0.566 GB, free: 62.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.8125, allocations: 0.8782 MB / 0.5669 GB, free: 61.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.8169, allocations: 4.701 MB / 0.5714 GB, free: 56.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009677/0.8179, allocations: 0.6875 MB / 0.5721 GB, free: 55.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.8184, allocations: 399.2 kB / 0.5725 GB, free: 55.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.8184, allocations: 8.562 kB / 0.5725 GB, free: 55.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005684/0.819, allocations: 455.8 kB / 0.5729 GB, free: 54.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 3.116e-06/0.819, allocations: 3.938 kB / 0.5729 GB, free: 54.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=70): time 0.002562/0.8216, allocations: 1.7 MB / 0.5746 GB, free: 53.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.8217, allocations: 162.8 kB / 0.5748 GB, free: 53.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.8222, allocations: 0.5111 MB / 0.5753 GB, free: 52.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.8223, allocations: 37.7 kB / 0.5753 GB, free: 52.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.8225, allocations: 474.9 kB / 0.5757 GB, free: 52.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.8226, allocations: 236.6 kB / 0.576 GB, free: 51.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.8227, allocations: 16 kB / 0.576 GB, free: 51.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.8228, allocations: 390.8 kB / 0.5764 GB, free: 51.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.8232, allocations: 293.8 kB / 0.5766 GB, free: 51.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.8236, allocations: 0.5411 MB / 0.5772 GB, free: 50.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.8241, allocations: 428.7 kB / 0.5776 GB, free: 50.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.8241, allocations: 3.938 kB / 0.5776 GB, free: 50.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001681/0.8258, allocations: 1.227 MB / 0.5788 GB, free: 48.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.8259, allocations: 37.7 kB / 0.5788 GB, free: 48.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.8259, allocations: 8 kB / 0.5788 GB, free: 48.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009104/0.8268, allocations: 346 kB / 0.5792 GB, free: 48.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.8273, allocations: 139.7 kB / 0.5793 GB, free: 48.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004565/0.8318, allocations: 4.938 MB / 0.5841 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.8325, allocations: 47.86 kB / 0.5842 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.8326, allocations: 36 kB / 0.5842 GB, free: 42.92 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.0001913/0.8328, allocations: 194.4 kB / 0.5844 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.8329, allocations: 75.06 kB / 0.5844 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.8345, allocations: 1.064 MB / 0.5855 GB, free: 41.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.8346, allocations: 8 kB / 0.5855 GB, free: 41.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8346, allocations: 7.984 kB / 0.5855 GB, free: 41.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.8346, allocations: 8 kB / 0.5855 GB, free: 41.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.8376, allocations: 2.106 MB / 0.5876 GB, free: 39.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.8376, allocations: 4.156 kB / 0.5876 GB, free: 39.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.8379, allocations: 79.89 kB / 0.5876 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007498/0.8386, allocations: 309.5 kB / 0.5879 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.8387, allocations: 19.98 kB / 0.588 GB, free: 38.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004071/0.8428, allocations: 4.869 MB / 0.5927 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8428, allocations: 8.078 kB / 0.5927 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.8442, allocations: 1.207 MB / 0.5939 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.8444, allocations: 148.2 kB / 0.594 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.8445, allocations: 16 kB / 0.5941 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.8448, allocations: 27.97 kB / 0.5941 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.8449, allocations: 52.45 kB / 0.5941 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.845, allocations: 20 kB / 0.5942 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003902/0.8454, allocations: 403.1 kB / 0.5945 GB, free: 31.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8454, allocations: 0 / 0.5945 GB, free: 31.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009439/0.8463, allocations: 303.9 kB / 0.5948 GB, free: 31.5 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.001851/0.8482, allocations: 2.239 MB / 0.597 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.8497, allocations: 1.168 MB / 0.5982 GB, free: 27.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8497, allocations: 0 / 0.5982 GB, free: 27.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.8505, allocations: 0.768 MB / 0.5989 GB, free: 27.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.8512, allocations: 158.8 kB / 0.5991 GB, free: 27.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.8536, allocations: 1.6 MB / 0.6006 GB, free: 25.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.8541, allocations: 1.123 MB / 0.6017 GB, free: 24.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004444/0.8545, allocations: 178.2 kB / 0.6019 GB, free: 24.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.8548, allocations: 327.3 kB / 0.6022 GB, free: 23.71 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.8549, allocations: 3.938 kB / 0.6022 GB, free: 23.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.8864, allocations: 18.64 MB / 0.6204 GB, free: 5.062 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.8866, allocations: 175.8 kB / 0.6206 GB, free: 4.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/3.709, allocations: 0 / 0.6206 GB, free: 4.84 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)