Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 175 kB / 8.047 MB, free: 1.008 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.5 MB / 230 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 95.16 kB / 280.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05341/0.05341, allocations: 8.1 MB / 339.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.918e-05, allocations: 4 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 52.52 MB / 451 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3391/0.4437, allocations: 81.43 MB / 0.5199 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.444, allocations: 66.91 kB / 0.52 GB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09744/0.5414, allocations: 38.39 MB / 0.5575 GB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5415, allocations: 0 / 0.5575 GB, free: 13.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.085e-05/0.5416, allocations: 20 kB / 0.5575 GB, free: 13.08 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.00969/0.5513, allocations: 2.199 MB / 0.5597 GB, free: 10.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.072e-05/0.5513, allocations: 11.98 kB / 0.5597 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009793/0.5523, allocations: 154.3 kB / 0.5598 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.5546, allocations: 0.8778 MB / 0.5607 GB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.5549, allocations: 267.7 kB / 0.5609 GB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.5553, allocations: 60 kB / 0.561 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003368/0.5586, allocations: 1.64 MB / 0.5626 GB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.5619, allocations: 1.632 MB / 0.5642 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.5619, allocations: 0 / 0.5642 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002123/0.5621, allocations: 0 / 0.5642 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.5622, allocations: 28 kB / 0.5642 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.5741, allocations: 7.291 MB / 0.5713 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003679/0.5778, allocations: 3.774 MB / 0.575 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.5795, allocations: 1.106 MB / 0.5761 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.5798, allocations: 118.3 kB / 0.5762 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002223/0.5821, allocations: 1.229 MB / 0.5774 GB, free: 7.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=166): time 4.589e-06/0.5821, allocations: 0 / 0.5774 GB, free: 7.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.006201/0.5883, allocations: 2.873 MB / 0.5802 GB, free: 4.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.5884, allocations: 120.1 kB / 0.5803 GB, free: 4.609 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.5898, allocations: 0.6367 MB / 0.581 GB, free: 3.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002384/0.59, allocations: 33.7 kB / 0.581 GB, free: 3.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.5905, allocations: 441 kB / 0.5814 GB, free: 3.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006652/0.5912, allocations: 0.5156 MB / 0.5819 GB, free: 2.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.5913, allocations: 4 kB / 0.5819 GB, free: 2.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.5916, allocations: 365.9 kB / 0.5823 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.5932, allocations: 0.9218 MB / 0.5832 GB, free: 1.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.595, allocations: 1.043 MB / 0.5842 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/0.5976, allocations: 1.041 MB / 0.5852 GB, free: 15.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.5976, allocations: 0 / 0.5852 GB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007983/0.6056, allocations: 3.349 MB / 0.5885 GB, free: 12.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.6057, allocations: 5.875 kB / 0.5885 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6057, allocations: 0 / 0.5885 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01224/0.6179, allocations: 3.07 MB / 0.5915 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.6189, allocations: 179.7 kB / 0.5916 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006644/0.6256, allocations: 3.512 MB / 0.5951 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.6273, allocations: 118.8 kB / 0.5952 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/0.6276, allocations: 55.98 kB / 0.5952 GB, free: 5.262 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feeder1.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder2.load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real feeder2.load4.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder2.load1.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder2.load3.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder2.load2.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder1.load1.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder1.load4.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder1.load3.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder1.load2.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.feeder2.load1.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load4.degradedMode,$PRE.feeder1.load1.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 56} Notification: Performance of prepare postOptimizeDAE: time 0.0005942/0.6282, allocations: 156 kB / 0.5954 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004629/0.6286, allocations: 138.5 kB / 0.5955 GB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006298/0.635, allocations: 3.196 MB / 0.5986 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.635, allocations: 16 kB / 0.5987 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.635, allocations: 0 / 0.5987 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.6351, allocations: 7.969 kB / 0.5987 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.6465, allocations: 5.977 MB / 0.6045 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.6465, allocations: 3.984 kB / 0.6045 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.6472, allocations: 151.8 kB / 0.6047 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01173/0.6589, allocations: 3.105 MB / 0.6077 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004187/0.6594, allocations: 15.97 kB / 0.6077 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006444/0.6659, allocations: 3.564 MB / 0.6112 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/0.6659, allocations: 3.953 kB / 0.6112 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007788/0.6737, allocations: 3.33 MB / 0.6144 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.6743, allocations: 227.3 kB / 0.6147 GB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.6746, allocations: 8 kB / 0.6147 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.6762, allocations: 103.8 kB / 0.6148 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/0.6765, allocations: 117.8 kB / 0.6149 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/0.6767, allocations: 63.97 kB / 0.6149 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009183/0.6777, allocations: 491.2 kB / 0.6154 GB, free: 480 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6777, allocations: 0 / 0.6154 GB, free: 480 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001434/0.6791, allocations: 375.4 kB / 0.6158 GB, free: 104 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 8 (feeder2.load4.degradedMode,feeder1.load2.degradedMode,feeder1.load4.degradedMode,feeder1.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load1.degradedMode,feeder1.load3.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004936/0.6796, allocations: 145.4 kB / 0.6159 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006325/0.6859, allocations: 2.575 MB / 0.6184 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.686, allocations: 1.688 kB / 0.6184 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004351/0.6903, allocations: 1.532 MB / 0.6199 GB, free: 11.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.6916, allocations: 95.92 kB / 0.62 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.696, allocations: 1.77 MB / 0.6217 GB, free: 9.961 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007803/0.6968, allocations: 1.104 MB / 0.6228 GB, free: 8.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007904/0.6977, allocations: 157 kB / 0.623 GB, free: 8.664 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.6979, allocations: 87.41 kB / 0.623 GB, free: 8.578 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.698, allocations: 0 / 0.623 GB, free: 8.578 MB / 442.7 MB Notification: Performance of Templates: time 0.2783/0.9763, allocations: 27.04 MB / 0.6494 GB, free: 137.4 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1)