Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009932/0.0009934, 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.558/1.558, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001725/0.001725, allocations: 120.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1606/0.1606, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.482e-05, allocations: 7.984 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3398, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.7365, allocations: 98.67 MB / 0.5365 GB, free: 32.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.7368, allocations: 80.11 kB / 0.5366 GB, free: 32.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0678/0.8046, allocations: 25.87 MB / 0.5619 GB, free: 29.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.8046, allocations: 0 / 0.5619 GB, free: 29.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.684e-05/0.8047, allocations: 23.56 kB / 0.5619 GB, free: 29.48 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.00192/0.8066, allocations: 1.084 MB / 0.563 GB, free: 28.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.8067, allocations: 11.69 kB / 0.563 GB, free: 28.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009844/0.8076, allocations: 182.9 kB / 0.5631 GB, free: 28.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.8106, allocations: 1.358 MB / 0.5645 GB, free: 28.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.8107, allocations: 66.52 kB / 0.5645 GB, free: 28.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8108, allocations: 88.44 kB / 0.5646 GB, free: 28.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.8124, allocations: 1.178 MB / 0.5658 GB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.8124, allocations: 3.906 kB / 0.5658 GB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-05/0.8125, allocations: 40.45 kB / 0.5658 GB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.8126, allocations: 51.38 kB / 0.5659 GB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.8138, allocations: 0.9562 MB / 0.5668 GB, free: 28.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.8184, allocations: 4.686 MB / 0.5714 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008646/0.8193, allocations: 0.6662 MB / 0.572 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.8198, allocations: 470.9 kB / 0.5725 GB, free: 25.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.244e-05/0.8198, allocations: 7.719 kB / 0.5725 GB, free: 25.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/0.8205, allocations: 0.525 MB / 0.573 GB, free: 24.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.8205, allocations: 0 / 0.573 GB, free: 24.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.003572/0.8241, allocations: 2.536 MB / 0.5755 GB, free: 23.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.8241, allocations: 170.6 kB / 0.5756 GB, free: 23.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.8246, allocations: 0.4946 MB / 0.5761 GB, free: 23.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.8247, allocations: 47.58 kB / 0.5762 GB, free: 23.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.8249, allocations: 472.5 kB / 0.5766 GB, free: 23.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.8251, allocations: 259.2 kB / 0.5769 GB, free: 22.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.8251, allocations: 23.59 kB / 0.5769 GB, free: 22.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.8252, allocations: 389.5 kB / 0.5773 GB, free: 22.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.8257, allocations: 385.6 kB / 0.5776 GB, free: 22.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.8263, allocations: 0.6212 MB / 0.5782 GB, free: 22.13 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.009347/0.8356, allocations: 3.878 MB / 0.582 GB, free: 20.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.8357, allocations: 3.906 kB / 0.582 GB, free: 20.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001984/0.8377, allocations: 1.346 MB / 0.5833 GB, free: 20.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.8377, allocations: 37.47 kB / 0.5834 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.8378, allocations: 7.719 kB / 0.5834 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.8384, allocations: 250.7 kB / 0.5836 GB, free: 20.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.8394, allocations: 270.5 kB / 0.5839 GB, free: 20.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.8433, allocations: 5.563 MB / 0.5893 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/0.8441, allocations: 44.5 kB / 0.5893 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.8442, allocations: 46.11 kB / 0.5894 GB, free: 15.71 MB / 378.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$whenCondition2,switch.control[1],$PRE.switch.t0,switch.t0,$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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.8444, allocations: 210.2 kB / 0.5896 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.8445, allocations: 77.12 kB / 0.5897 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.8464, allocations: 1.167 MB / 0.5908 GB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/0.8464, allocations: 19.52 kB / 0.5908 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8464, allocations: 3.906 kB / 0.5908 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.8464, allocations: 3.984 kB / 0.5908 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.8496, allocations: 2.303 MB / 0.5931 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.8496, allocations: 3.875 kB / 0.5931 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/0.8505, allocations: 200.7 kB / 0.5933 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006018/0.8511, allocations: 247.1 kB / 0.5935 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.8512, allocations: 26.3 kB / 0.5935 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003699/0.8549, allocations: 5.495 MB / 0.5989 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.855, allocations: 3.188 kB / 0.5989 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.8573, allocations: 1.749 MB / 0.6006 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.8576, allocations: 152.8 kB / 0.6008 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.8577, allocations: 21.61 kB / 0.6008 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.8582, allocations: 31.97 kB / 0.6008 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.8584, allocations: 69.39 kB / 0.6009 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.8584, allocations: 27.83 kB / 0.6009 GB, free: 8.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005726/0.859, allocations: 396.9 kB / 0.6013 GB, free: 8.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.859, allocations: 0 / 0.6013 GB, free: 8.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001362/0.8604, allocations: 311.1 kB / 0.6016 GB, free: 8.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003489/0.8607, allocations: 211 kB / 0.6018 GB, free: 8.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.863, allocations: 1.396 MB / 0.6031 GB, free: 8.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.863, allocations: 7.938 kB / 0.6031 GB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.8642, allocations: 0.9232 MB / 0.6041 GB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.865, allocations: 165.9 kB / 0.6042 GB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.8678, allocations: 1.815 MB / 0.606 GB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.8684, allocations: 1.135 MB / 0.6071 GB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.869, allocations: 214.6 kB / 0.6073 GB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.8692, allocations: 57.52 kB / 0.6073 GB, free: 5.645 MB / 378.7 MB Notification: Performance of SimCode: time 2.004e-06/0.8692, allocations: 3.906 kB / 0.6074 GB, free: 5.645 MB / 378.7 MB Notification: Performance of Templates: time 0.01798/0.8872, allocations: 11.2 MB / 0.6183 GB, free: 11.75 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1)