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.0009519/0.0009518, allocations: 179.6 kB / 17.4 MB, free: 4.418 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.321/1.321, allocations: 194.5 MB / 212.6 MB, free: 2.941 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.00153/0.00153, allocations: 125.3 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1738/0.1738, allocations: 38.01 MB / 341.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003511, allocations: 12 kB / 405 MB, free: 68.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.0988, allocations: 53.24 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4598, allocations: 98.77 MB / 0.544 GB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.4602, allocations: 96.42 kB / 0.5441 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1099/0.5701, allocations: 25.85 MB / 0.5693 GB, free: 6 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5701, allocations: 0 / 0.5693 GB, free: 6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.017e-05/0.5702, allocations: 31.98 kB / 0.5694 GB, free: 5.969 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.00355/0.5738, allocations: 1.194 MB / 0.5705 GB, free: 4.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5738, allocations: 12.03 kB / 0.5705 GB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.5752, allocations: 181 kB / 0.5707 GB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.578, allocations: 1.023 MB / 0.5717 GB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.5781, allocations: 68.23 kB / 0.5718 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.5784, allocations: 90.78 kB / 0.5719 GB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.5808, allocations: 1.194 MB / 0.573 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-05/0.5809, allocations: 15.05 kB / 0.573 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.932e-05/0.581, allocations: 33.67 kB / 0.5731 GB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.5811, allocations: 49.05 kB / 0.5731 GB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.5829, allocations: 0.9754 MB / 0.5741 GB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006502/0.5894, allocations: 4.689 MB / 0.5786 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.5905, allocations: 0.6644 MB / 0.5793 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.5911, allocations: 470.1 kB / 0.5797 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.5912, allocations: 16.53 kB / 0.5798 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007747/0.592, allocations: 0.5288 MB / 0.5803 GB, free: 12.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 3.977e-06/0.592, allocations: 0 / 0.5803 GB, free: 12.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.004977/0.597, allocations: 2.889 MB / 0.5831 GB, free: 10.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.5971, allocations: 170.9 kB / 0.5833 GB, free: 10.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.5979, allocations: 0.5813 MB / 0.5838 GB, free: 9.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.598, allocations: 40.45 kB / 0.5839 GB, free: 9.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.5983, allocations: 472.8 kB / 0.5843 GB, free: 9.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.5986, allocations: 262.3 kB / 0.5846 GB, free: 8.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.5986, allocations: 18.88 kB / 0.5846 GB, free: 8.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5988, allocations: 396.6 kB / 0.585 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.5995, allocations: 389.3 kB / 0.5853 GB, free: 8.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007748/0.6002, allocations: 0.6275 MB / 0.5859 GB, free: 7.734 MB / 394.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.01123/0.6115, allocations: 4.871 MB / 0.5907 GB, free: 3.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.6115, allocations: 4 kB / 0.5907 GB, free: 3.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002404/0.6139, allocations: 1.357 MB / 0.592 GB, free: 1.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.614, allocations: 33.7 kB / 0.5921 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.614, allocations: 8 kB / 0.5921 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.6147, allocations: 254.6 kB / 0.5923 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.6157, allocations: 255.6 kB / 0.5926 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005743/0.6215, allocations: 5.581 MB / 0.598 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/0.6223, allocations: 43.97 kB / 0.598 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/0.6224, allocations: 36 kB / 0.5981 GB, free: 11.26 MB / 410.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,$PRE.switch.t0,$PRE.switch.open,$PRE.switch.closed,$whenCondition2,switch.control[1],switch.t0,switch.open,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 (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.0007272/0.6231, allocations: 375.2 kB / 0.5984 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.6233, allocations: 83 kB / 0.5985 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.6255, allocations: 1.184 MB / 0.5997 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/0.6256, allocations: 15.98 kB / 0.5997 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6256, allocations: 0 / 0.5997 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.6256, allocations: 7.984 kB / 0.5997 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.6296, allocations: 2.329 MB / 0.602 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6296, allocations: 0 / 0.602 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/0.6305, allocations: 199.8 kB / 0.6022 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007439/0.6313, allocations: 250.2 kB / 0.6024 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.6314, allocations: 27.91 kB / 0.6024 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005196/0.6366, allocations: 5.507 MB / 0.6078 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.6366, allocations: 4.125 kB / 0.6078 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.6395, allocations: 1.714 MB / 0.6095 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.6399, allocations: 144.2 kB / 0.6096 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.6401, allocations: 31.98 kB / 0.6097 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.6406, allocations: 31.97 kB / 0.6097 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.6408, allocations: 60.42 kB / 0.6097 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/0.6408, allocations: 23.98 kB / 0.6098 GB, free: 14.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005679/0.6414, allocations: 403 kB / 0.6101 GB, free: 14.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6414, allocations: 3.938 kB / 0.6102 GB, free: 14.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001355/0.6428, allocations: 311.9 kB / 0.6104 GB, free: 13.99 MB / 426.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) * Number of clocked states: 0 () * 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.0004227/0.6432, allocations: 187 kB / 0.6106 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.6456, allocations: 1.432 MB / 0.612 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6456, allocations: 4 kB / 0.612 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.647, allocations: 0.9319 MB / 0.6129 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.6481, allocations: 167.7 kB / 0.6131 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.6518, allocations: 2.652 MB / 0.6157 GB, free: 8.469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008879/0.6527, allocations: 1.118 MB / 0.6168 GB, free: 7.324 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006393/0.6534, allocations: 214.5 kB / 0.617 GB, free: 7.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.6536, allocations: 55.42 kB / 0.617 GB, free: 7.055 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6536, allocations: 0 / 0.617 GB, free: 7.055 MB / 426.7 MB Notification: Performance of Templates: time 0.02011/0.6737, allocations: 11.03 MB / 0.6278 GB, free: 12.02 MB / 442.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)