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.001036/0.001036, allocations: 184.2 kB / 17.4 MB, free: 4.152 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.62/1.62, allocations: 194.5 MB / 212.6 MB, free: 2.949 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.001619/0.001619, allocations: 122.8 kB / 257.9 MB, free: 4.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1966/0.1966, allocations: 38.01 MB / 341.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004029, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 53.24 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3899/0.5085, allocations: 102.6 MB / 0.5477 GB, free: 8.629 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.5088, allocations: 100.3 kB / 0.5478 GB, free: 8.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07978/0.5886, allocations: 29.54 MB / 0.5767 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5887, allocations: 0 / 0.5767 GB, free: 15.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.952e-05/0.5888, allocations: 23.94 kB / 0.5767 GB, free: 15.12 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.003514/0.5923, allocations: 1.669 MB / 0.5783 GB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5924, allocations: 15.97 kB / 0.5783 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.5936, allocations: 223.1 kB / 0.5785 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.5958, allocations: 1.146 MB / 0.5797 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.5959, allocations: 83.94 kB / 0.5797 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.5962, allocations: 119.3 kB / 0.5799 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.5986, allocations: 1.669 MB / 0.5815 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.5987, allocations: 8.062 kB / 0.5815 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.5988, allocations: 47.48 kB / 0.5815 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.599, allocations: 61.42 kB / 0.5816 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.6011, allocations: 1.449 MB / 0.583 GB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/0.6168, allocations: 8.016 MB / 0.5908 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.6194, allocations: 1.553 MB / 0.5924 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.621, allocations: 1.231 MB / 0.5936 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.6211, allocations: 13 kB / 0.5936 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/0.6235, allocations: 1.798 MB / 0.5953 GB, free: 14.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=177): time 3.717e-06/0.6235, allocations: 0 / 0.5953 GB, free: 14.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=178): time 0.02578/0.6493, allocations: 10.27 MB / 0.6054 GB, free: 4.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/0.6496, allocations: 246.9 kB / 0.6056 GB, free: 4.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.6507, allocations: 0.6603 MB / 0.6062 GB, free: 3.445 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00051/0.6512, allocations: 73.69 kB / 0.6063 GB, free: 3.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.6517, allocations: 484.8 kB / 0.6068 GB, free: 2.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006651/0.6523, allocations: 0.5786 MB / 0.6073 GB, free: 2.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.6525, allocations: 35.98 kB / 0.6074 GB, free: 2.266 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.6527, allocations: 438.7 kB / 0.6078 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/0.6547, allocations: 1.269 MB / 0.609 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.6568, allocations: 1.545 MB / 0.6105 GB, free: 14.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.6609, allocations: 2.966 MB / 0.6134 GB, free: 11.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.6609, allocations: 0 / 0.6134 GB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.02174/0.6826, allocations: 7.643 MB / 0.6209 GB, free: 4.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/0.6828, allocations: 59.41 kB / 0.621 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0184/0.7012, allocations: 6.175 MB / 0.627 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02278/0.724, allocations: 7.296 MB / 0.6341 GB, free: 6.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009026/0.725, allocations: 159.7 kB / 0.6343 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03937/0.7644, allocations: 23.41 MB / 0.6571 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.7662, allocations: 163.8 kB / 0.6573 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000573/0.7668, allocations: 191.9 kB / 0.6575 GB, free: 14.57 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.001413/0.7683, allocations: 0.4968 MB / 0.6579 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/0.7688, allocations: 118.6 kB / 0.6581 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/0.7841, allocations: 5.558 MB / 0.6635 GB, free: 8.316 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.738e-05/0.7842, allocations: 28 kB / 0.6635 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/0.7842, allocations: 4 kB / 0.6635 GB, free: 8.285 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.038e-05/0.7843, allocations: 7.969 kB / 0.6635 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/0.8056, allocations: 8.114 MB / 0.6714 GB, free: 52 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/0.8057, allocations: 0 / 0.6714 GB, free: 52 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2295/1.035, allocations: 143.3 kB / 0.6716 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02546/1.061, allocations: 8.166 MB / 0.6796 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000706/1.061, allocations: 257 kB / 0.6798 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/1.084, allocations: 21.52 MB / 0.7008 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.084, allocations: 6.375 kB / 0.7008 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/1.101, allocations: 6.742 MB / 0.7074 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/1.102, allocations: 192 kB / 0.7076 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008552/1.103, allocations: 226.7 kB / 0.7078 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/1.104, allocations: 143.6 kB / 0.7079 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001196/1.105, allocations: 268.9 kB / 0.7082 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004095/1.106, allocations: 196.3 kB / 0.7084 GB, free: 133 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000679/1.106, allocations: 461.4 kB / 0.7088 GB, free: 132.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.106, allocations: 0 / 0.7088 GB, free: 132.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003049/1.11, allocations: 0.6919 MB / 0.7095 GB, free: 132.7 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.0006512/1.11, allocations: 255.7 kB / 0.7097 GB, free: 132.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007377/1.118, allocations: 4.13 MB / 0.7138 GB, free: 131.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.118, allocations: 0 / 0.7138 GB, free: 131.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005031/1.123, allocations: 3.188 MB / 0.7169 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/1.124, allocations: 210.4 kB / 0.7171 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007342/1.132, allocations: 5.771 MB / 0.7227 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009145/1.133, allocations: 1.282 MB / 0.724 GB, free: 125.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008436/1.134, allocations: 264.8 kB / 0.7242 GB, free: 125.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/1.134, allocations: 84.38 kB / 0.7243 GB, free: 125.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.213e-06/1.134, allocations: 0 / 0.7243 GB, free: 125.7 MB / 474.7 MB Notification: Performance of Templates: time 0.05829/1.192, allocations: 45.49 MB / 0.7687 GB, free: 84.22 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)