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.001259/0.001259, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.497/1.497, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001766/0.001766, allocations: 123 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1656/0.1656, allocations: 37.92 MB / 330.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.831e-05, allocations: 4 kB / 390.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2581, allocations: 53.21 MB / 443.6 MB, free: 17.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.6068, allocations: 101.8 MB / 0.5326 GB, free: 91.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.6072, allocations: 93.36 kB / 0.5327 GB, free: 91.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07451/0.6817, allocations: 29.3 MB / 0.5613 GB, free: 67.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6817, allocations: 0 / 0.5613 GB, free: 67.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.259e-05/0.6818, allocations: 24 kB / 0.5613 GB, free: 67.75 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003769/0.6856, allocations: 1.521 MB / 0.5628 GB, free: 66.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.6857, allocations: 12.03 kB / 0.5628 GB, free: 66.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.6874, allocations: 230.5 kB / 0.5631 GB, free: 65.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/0.692, allocations: 1.608 MB / 0.5646 GB, free: 64.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.6922, allocations: 40 kB / 0.5647 GB, free: 64.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000461/0.6926, allocations: 75.91 kB / 0.5647 GB, free: 64.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002441/0.6951, allocations: 1.328 MB / 0.566 GB, free: 62.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.698, allocations: 1.494 MB / 0.5675 GB, free: 61.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.698, allocations: 4 kB / 0.5675 GB, free: 61.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.6982, allocations: 7.984 kB / 0.5675 GB, free: 61.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/0.6985, allocations: 69.86 kB / 0.5676 GB, free: 61.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/0.7155, allocations: 7.801 MB / 0.5752 GB, free: 53.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.7173, allocations: 1.477 MB / 0.5766 GB, free: 51.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.7185, allocations: 1.17 MB / 0.5778 GB, free: 50.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.7186, allocations: 17.31 kB / 0.5778 GB, free: 50.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001984/0.7206, allocations: 1.729 MB / 0.5795 GB, free: 48.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=177): time 4.809e-06/0.7207, allocations: 0 / 0.5795 GB, free: 48.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=178): time 0.0183/0.739, allocations: 7.704 MB / 0.587 GB, free: 40.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.7391, allocations: 242.9 kB / 0.5872 GB, free: 40.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008566/0.74, allocations: 0.5345 MB / 0.5878 GB, free: 40.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004657/0.7405, allocations: 45.69 kB / 0.5878 GB, free: 40.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.7409, allocations: 476.7 kB / 0.5883 GB, free: 39.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007343/0.7417, allocations: 0.5669 MB / 0.5888 GB, free: 39.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.7419, allocations: 4 kB / 0.5888 GB, free: 39.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.7421, allocations: 430.7 kB / 0.5892 GB, free: 38.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.7437, allocations: 1.222 MB / 0.5904 GB, free: 37.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.7454, allocations: 1.475 MB / 0.5919 GB, free: 35.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.7472, allocations: 1.341 MB / 0.5932 GB, free: 34.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.7472, allocations: 4 kB / 0.5932 GB, free: 34.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.02138/0.7686, allocations: 7.367 MB / 0.6004 GB, free: 27.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/0.7687, allocations: 67.45 kB / 0.6004 GB, free: 27.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01647/0.7852, allocations: 6.004 MB / 0.6063 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02196/0.8072, allocations: 7.259 MB / 0.6134 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.808, allocations: 163.7 kB / 0.6135 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0342/0.8422, allocations: 22.57 MB / 0.6356 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.8438, allocations: 119.8 kB / 0.6357 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/0.8443, allocations: 199.9 kB / 0.6359 GB, free: 6.543 MB / 394.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 () * 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.0007396/0.845, allocations: 251.9 kB / 0.6361 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/0.8455, allocations: 122.7 kB / 0.6362 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/0.8616, allocations: 5.305 MB / 0.6414 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-05/0.8617, allocations: 35.98 kB / 0.6415 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/0.8617, allocations: 8 kB / 0.6415 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/0.8618, allocations: 7.969 kB / 0.6415 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02091/0.8827, allocations: 7.713 MB / 0.649 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/0.8828, allocations: 0 / 0.649 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009555/0.8837, allocations: 151.7 kB / 0.6492 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02615/0.9099, allocations: 8.042 MB / 0.657 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006726/0.9106, allocations: 251.7 kB / 0.6572 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0235/0.9341, allocations: 20.93 MB / 0.6777 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.9342, allocations: 4 kB / 0.6777 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/0.9523, allocations: 6.53 MB / 0.6841 GB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.9528, allocations: 187.6 kB / 0.6842 GB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008106/0.9536, allocations: 208.1 kB / 0.6844 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.9551, allocations: 115.8 kB / 0.6846 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/0.9563, allocations: 268.8 kB / 0.6848 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006157/0.9569, allocations: 199.9 kB / 0.685 GB, free: 3.027 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008744/0.9578, allocations: 399.2 kB / 0.6854 GB, free: 2.633 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.398e-06/0.9578, allocations: 0 / 0.6854 GB, free: 2.633 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003927/0.9618, allocations: 0.6444 MB / 0.686 GB, free: 1.988 MB / 442.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) * 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.0008737/0.9627, allocations: 233.9 kB / 0.6862 GB, free: 1.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00872/0.9714, allocations: 3.931 MB / 0.6901 GB, free: 13.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.9715, allocations: 0 / 0.6901 GB, free: 13.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005803/0.9773, allocations: 3.062 MB / 0.6931 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.9786, allocations: 163.8 kB / 0.6932 GB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/0.9868, allocations: 4.475 MB / 0.6976 GB, free: 5.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.9881, allocations: 1.313 MB / 0.6989 GB, free: 4.586 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001121/0.9892, allocations: 262 kB / 0.6991 GB, free: 4.328 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/0.9897, allocations: 83.44 kB / 0.6992 GB, free: 4.246 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/0.9897, allocations: 0 / 0.6992 GB, free: 4.246 MB / 458.7 MB Notification: Performance of Templates: time 0.3088/1.299, allocations: 44.04 MB / 0.7422 GB, free: 125.2 MB / 458.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)