Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.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.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00104/0.00104, allocations: 179.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.273/1.273, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001583/0.001583, allocations: 118.8 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1589/0.1589, allocations: 37.99 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.0849, allocations: 53.24 MB / 457 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4005, allocations: 102.6 MB / 0.5465 GB, free: 9.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.4007, allocations: 92.39 kB / 0.5466 GB, free: 8.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07811/0.4789, allocations: 29.58 MB / 0.5754 GB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4789, allocations: 0 / 0.5754 GB, free: 15.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.672e-05/0.479, allocations: 24 kB / 0.5755 GB, free: 15.48 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003422/0.4824, allocations: 1.665 MB / 0.5771 GB, free: 13.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4824, allocations: 16.02 kB / 0.5771 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.4837, allocations: 234.3 kB / 0.5773 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/0.4879, allocations: 1.629 MB / 0.5789 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.979e-05/0.4879, allocations: 80.95 kB / 0.579 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.4882, allocations: 118.1 kB / 0.5791 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.4906, allocations: 1.663 MB / 0.5807 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4906, allocations: 0 / 0.5807 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.4907, allocations: 50.05 kB / 0.5808 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.4909, allocations: 57.98 kB / 0.5808 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.493, allocations: 1.445 MB / 0.5823 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.5082, allocations: 8.017 MB / 0.5901 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.5101, allocations: 1.558 MB / 0.5916 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.729e-05/0.5103, allocations: 24.97 kB / 0.5916 GB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002178/0.5124, allocations: 1.778 MB / 0.5934 GB, free: 84 kB / 394.7 MB Notification: Performance of pre-optimization done (n=177): time 3.266e-06/0.5125, allocations: 4 kB / 0.5934 GB, free: 80 kB / 394.7 MB Notification: Performance of matching and sorting (n=178): time 0.02593/0.5384, allocations: 10.68 MB / 0.6038 GB, free: 5.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.5386, allocations: 250.8 kB / 0.604 GB, free: 4.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008704/0.5395, allocations: 0.5892 MB / 0.6046 GB, free: 4.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.5398, allocations: 69.7 kB / 0.6047 GB, free: 4.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.5402, allocations: 484.8 kB / 0.6051 GB, free: 3.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005933/0.5408, allocations: 0.5863 MB / 0.6057 GB, free: 3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.5409, allocations: 32 kB / 0.6057 GB, free: 2.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.5412, allocations: 438.6 kB / 0.6062 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.543, allocations: 1.269 MB / 0.6074 GB, free: 1.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.5449, allocations: 1.541 MB / 0.6089 GB, free: 15.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.5469, allocations: 1.431 MB / 0.6103 GB, free: 14.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.5469, allocations: 4 kB / 0.6103 GB, free: 14.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.02343/0.5703, allocations: 7.628 MB / 0.6178 GB, free: 6.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.5704, allocations: 59.41 kB / 0.6178 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01773/0.5882, allocations: 6.18 MB / 0.6239 GB, free: 284 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0242/0.6124, allocations: 7.292 MB / 0.631 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.6132, allocations: 163.6 kB / 0.6311 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03743/0.6506, allocations: 24.76 MB / 0.6553 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.652, allocations: 167.7 kB / 0.6555 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/0.6523, allocations: 203.9 kB / 0.6557 GB, free: 15.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 2 * 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 {27 48} Notification: Performance of prepare postOptimizeDAE: time 0.000998/0.6533, allocations: 496.8 kB / 0.6561 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/0.6536, allocations: 118.7 kB / 0.6562 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/0.6697, allocations: 5.55 MB / 0.6617 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/0.6698, allocations: 31.98 kB / 0.6617 GB, free: 9.277 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.6698, allocations: 4 kB / 0.6617 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.284e-05/0.6698, allocations: 7.969 kB / 0.6617 GB, free: 9.266 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/0.6909, allocations: 8.11 MB / 0.6696 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.6909, allocations: 0 / 0.6696 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/0.6918, allocations: 155.7 kB / 0.6698 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1896/0.8813, allocations: 8.16 MB / 0.6777 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006603/0.882, allocations: 259.2 kB / 0.678 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/0.9008, allocations: 22.54 MB / 0.7 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.9009, allocations: 7.344 kB / 0.7 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/0.9166, allocations: 6.801 MB / 0.7067 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.917, allocations: 184.6 kB / 0.7068 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/0.9174, allocations: 222.3 kB / 0.7071 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.9184, allocations: 144.6 kB / 0.7072 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007046/0.9191, allocations: 267.5 kB / 0.7074 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/0.9194, allocations: 206.7 kB / 0.7076 GB, free: 131.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004957/0.9199, allocations: 459.1 kB / 0.7081 GB, free: 131.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9199, allocations: 0 / 0.7081 GB, free: 131.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001953/0.9219, allocations: 0.6888 MB / 0.7088 GB, free: 131.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 65 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_b.closed,breaker2.breaker_a.closed,breaker2.breaker_c.closed,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 22 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker2.breaker_a.open,breaker2.breaker_c.open,breaker2.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_c.open,breaker1.breaker_a.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004187/0.9223, allocations: 257.5 kB / 0.709 GB, free: 131.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006362/0.9286, allocations: 4.137 MB / 0.713 GB, free: 129.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9287, allocations: 0 / 0.713 GB, free: 129.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004606/0.9333, allocations: 3.187 MB / 0.7161 GB, free: 128.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.9343, allocations: 190.5 kB / 0.7163 GB, free: 128 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/0.9407, allocations: 5.782 MB / 0.722 GB, free: 125.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/0.9413, allocations: 1.31 MB / 0.7233 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007871/0.9421, allocations: 265.8 kB / 0.7235 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.9424, allocations: 85.75 kB / 0.7236 GB, free: 124.5 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/0.9424, allocations: 0 / 0.7236 GB, free: 124.5 MB / 474.7 MB Notification: Performance of Templates: time 0.04934/0.9917, allocations: 45.44 MB / 0.768 GB, free: 83.81 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)