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.001055/0.001059, allocations: 180.1 kB / 16.38 MB, free: 5.762 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.309/1.309, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001787/0.001786, allocations: 117.2 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1671/0.1671, allocations: 38 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004459, allocations: 12 kB / 403.8 MB, free: 68.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08091/0.08138, allocations: 53.23 MB / 457 MB, free: 15.58 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3235/0.405, allocations: 98.75 MB / 0.5427 GB, free: 12.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.4052, allocations: 95.88 kB / 0.5428 GB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07029/0.4755, allocations: 25.87 MB / 0.5681 GB, free: 6.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4755, allocations: 0 / 0.5681 GB, free: 6.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.847e-05/0.4756, allocations: 20 kB / 0.5681 GB, free: 6.371 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.002204/0.4778, allocations: 1.217 MB / 0.5693 GB, free: 5.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.4779, allocations: 16.02 kB / 0.5693 GB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.4789, allocations: 182.6 kB / 0.5695 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.4822, allocations: 1.377 MB / 0.5708 GB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.4822, allocations: 63.25 kB / 0.5709 GB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.4824, allocations: 87.91 kB / 0.571 GB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.4841, allocations: 1.197 MB / 0.5721 GB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.4841, allocations: 4 kB / 0.5721 GB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/0.4842, allocations: 39.81 kB / 0.5722 GB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.339e-05/0.4843, allocations: 52.59 kB / 0.5722 GB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.4857, allocations: 0.9725 MB / 0.5732 GB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005734/0.4915, allocations: 4.69 MB / 0.5778 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.4924, allocations: 0.684 MB / 0.5784 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.4925, allocations: 8.609 kB / 0.5784 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000691/0.4932, allocations: 0.5279 MB / 0.5789 GB, free: 12.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 2.425e-06/0.4932, allocations: 4 kB / 0.579 GB, free: 12.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.004431/0.4976, allocations: 3.109 MB / 0.582 GB, free: 10.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/0.4977, allocations: 174.8 kB / 0.5822 GB, free: 10.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.4983, allocations: 0.503 MB / 0.5826 GB, free: 9.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.4984, allocations: 40.2 kB / 0.5827 GB, free: 9.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.4987, allocations: 468.8 kB / 0.5831 GB, free: 9.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.4989, allocations: 269.7 kB / 0.5834 GB, free: 9.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.499, allocations: 17.75 kB / 0.5834 GB, free: 9.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4991, allocations: 390.3 kB / 0.5838 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.4997, allocations: 392.9 kB / 0.5842 GB, free: 8.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.5004, allocations: 0.6211 MB / 0.5848 GB, free: 7.91 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.01048/0.5109, allocations: 3.901 MB / 0.5886 GB, free: 4.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5109, allocations: 3.938 kB / 0.5886 GB, free: 4.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002262/0.5132, allocations: 1.36 MB / 0.5899 GB, free: 3.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.5132, allocations: 33.7 kB / 0.5899 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.5133, allocations: 8 kB / 0.5899 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000628/0.5139, allocations: 258.9 kB / 0.5902 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.5151, allocations: 271.5 kB / 0.5904 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004984/0.5201, allocations: 5.637 MB / 0.596 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/0.5208, allocations: 51.97 kB / 0.596 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.5209, allocations: 36 kB / 0.596 GB, free: 12.55 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,$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 () * 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.0005912/0.5215, allocations: 375.1 kB / 0.5964 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.5216, allocations: 75.06 kB / 0.5965 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.5236, allocations: 1.177 MB / 0.5976 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/0.5236, allocations: 12 kB / 0.5976 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5236, allocations: 4 kB / 0.5976 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5236, allocations: 11.94 kB / 0.5976 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.5277, allocations: 2.321 MB / 0.5999 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.5277, allocations: 0 / 0.5999 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009569/0.5287, allocations: 195.8 kB / 0.6001 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007216/0.5294, allocations: 250.3 kB / 0.6003 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/0.5295, allocations: 31.97 kB / 0.6004 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.5346, allocations: 5.562 MB / 0.6058 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5346, allocations: 8.094 kB / 0.6058 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.5374, allocations: 1.763 MB / 0.6075 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.5377, allocations: 144.2 kB / 0.6077 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5379, allocations: 28 kB / 0.6077 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.5383, allocations: 32.59 kB / 0.6077 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.5385, allocations: 68.33 kB / 0.6078 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.524e-05/0.5386, allocations: 28 kB / 0.6078 GB, free: 15.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007268/0.5394, allocations: 407 kB / 0.6082 GB, free: 15.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5394, allocations: 0 / 0.6082 GB, free: 15.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001519/0.5409, allocations: 307.9 kB / 0.6085 GB, free: 15.14 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.0003633/0.5413, allocations: 187 kB / 0.6087 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.5436, allocations: 1.428 MB / 0.6101 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5436, allocations: 64 / 0.6101 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.545, allocations: 0.9436 MB / 0.611 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.5458, allocations: 163.1 kB / 0.6111 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.5495, allocations: 2.633 MB / 0.6137 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.5502, allocations: 1.131 MB / 0.6148 GB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006746/0.5509, allocations: 210.3 kB / 0.615 GB, free: 8.273 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.5511, allocations: 55.42 kB / 0.6151 GB, free: 8.219 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5511, allocations: 3.938 kB / 0.6151 GB, free: 8.215 MB / 426.7 MB Notification: Performance of Templates: time 0.01844/0.5696, allocations: 10.94 MB / 0.6258 GB, free: 13.27 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)