Base power = 0.166667, numbus = 2300, numgen = 100, numyl = 1500, numdl = 300, numlbr = 2199, numtbr = 100 **** Power flow dist case **** Base power = 0.166667, nbus = 2300, ngen = 100, nwye = 1500, ndelta = 300, nbranch = 2299 0 SNES Function norm 160.736 Form Jacobian time: 0.509435 seconds 1 SNES Function norm 10.8791 Form Jacobian time: 0.013534 seconds 2 SNES Function norm 0.0466563 Form Jacobian time: 0.012042 seconds 3 SNES Function norm 1.16079e-06 Form Jacobian time: 0.011724 seconds 4 SNES Function norm 4.985e-10 Nonlinear solve converged due to CONVERGED_SNORM_RELATIVE iterations 4 SNES Object: 1 MPI processes type: newtonls maximum iterations=50, maximum function evaluations=10000 tolerances: relative=1e-20, absolute=1e-10, solution=1e-08 total number of linear solver iterations=4 total number of function evaluations=5 norm schedule ALWAYS SNESLineSearch Object: 1 MPI processes type: basic maxstep=1.000000e+08, minlambda=1.000000e-12 tolerances: relative=1.000000e-08, absolute=1.000000e-15, lambda=1.000000e-08 maximum iterations=40 using user-defined postcheck step KSP Object: 1 MPI processes type: gmres restart=30, using Classical (unmodified) Gram-Schmidt Orthogonalization with no iterative refinement happy breakdown tolerance 1e-30 maximum iterations=10000, initial guess is zero tolerances: relative=1e-05, absolute=1e-50, divergence=10000. left preconditioning using PRECONDITIONED norm type for convergence test PC Object: 1 MPI processes type: lu out-of-place factorization tolerance for zero pivot 2.22045e-14 matrix ordering: nd factor fill ratio given 5., needed 2.13424 Factored matrix follows: Mat Object: 1 MPI processes type: seqaij rows=12400, cols=12400 package used to perform factorization: petsc total: nonzeros=462976, allocated nonzeros=462976 total number of mallocs used during MatSetValues calls =0 using I-node routines: found 4063 nodes, limit used is 5 linear system matrix = precond matrix: Mat Object: 1 MPI processes type: seqaij rows=12400, cols=12400 total: nonzeros=216928, allocated nonzeros=230928 total number of mallocs used during MatSetValues calls =1000 using I-node routines: found 4100 nodes, limit used is 5 Total time elapsed: 0.648559 seconds ************************************************************************************************************************ *** WIDEN YOUR WINDOW TO 120 CHARACTERS. Use 'enscript -r -fCourier9' to print this document *** ************************************************************************************************************************ ---------------------------------------------- PETSc Performance Summary: ---------------------------------------------- ./dpflow on a arch-darwin-c-opt named jchang31606s.nrel.gov with 1 processor, by jchang Wed May 8 13:25:21 2019 Using Petsc Development GIT revision: v3.11.1-539-gaf5aa23e46 GIT Date: 2019-05-07 11:11:18 -0500 Max Max/Min Avg Total Time (sec): 6.488e-01 1.000 6.488e-01 Objects: 7.300e+01 1.000 7.300e+01 Flop: 3.312e+07 1.000 3.312e+07 3.312e+07 Flop/sec: 5.105e+07 1.000 5.105e+07 5.105e+07 MPI Messages: 0.000e+00 0.000 0.000e+00 0.000e+00 MPI Message Lengths: 0.000e+00 0.000 0.000e+00 0.000e+00 MPI Reductions: 0.000e+00 0.000 Flop counting convention: 1 flop = 1 real number operation of type (multiply/divide/add/subtract) e.g., VecAXPY() for real vectors of length N --> 2N flop and VecAXPY() for complex vectors of length N --> 8N flop Summary of Stages: ----- Time ------ ----- Flop ------ --- Messages --- -- Message Lengths -- -- Reductions -- Avg %Total Avg %Total Count %Total Avg %Total Count %Total 0: Main Stage: 6.1528e-01 94.8% 3.3120e+07 100.0% 0.000e+00 0.0% 0.000e+00 0.0% 0.000e+00 0.0% 1: Read Data: 2.6435e-02 4.1% 0.0000e+00 0.0% 0.000e+00 0.0% 0.000e+00 0.0% 0.000e+00 0.0% 2: Create network: 7.0581e-03 1.1% 0.0000e+00 0.0% 0.000e+00 0.0% 0.000e+00 0.0% 0.000e+00 0.0% ------------------------------------------------------------------------------------------------------------------------ See the 'Profiling' chapter of the users' manual for details on interpreting output. Phase summary info: Count: number of times phase was executed Time and Flop: Max - maximum over all processors Ratio - ratio of maximum to minimum over all processors Mess: number of messages sent AvgLen: average message length (bytes) Reduct: number of global reductions Global: entire computation Stage: stages of a computation. Set stages with PetscLogStagePush() and PetscLogStagePop(). %T - percent time in this phase %F - percent flop in this phase %M - percent messages in this phase %L - percent message lengths in this phase %R - percent reductions in this phase Total Mflop/s: 10e-6 * (sum of flop over all processors)/(max time over all processors) ------------------------------------------------------------------------------------------------------------------------ Event Count Time (sec) Flop --- Global --- --- Stage ---- Total Max Ratio Max Ratio Max Ratio Mess AvgLen Reduct %T %F %M %L %R %T %F %M %L %R Mflop/s ------------------------------------------------------------------------------------------------------------------------ --- Event Stage 0: Main Stage BuildTwoSided 1 1.0 2.2888e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 MatMult 4 1.0 8.0895e-04 1.0 1.69e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 5 0 0 0 0 5 0 0 0 2084 MatSolve 8 1.0 3.5985e-03 1.0 7.31e+06 1.0 0.0e+00 0.0e+00 0.0e+00 1 22 0 0 0 1 22 0 0 0 2031 MatLUFactorSym 1 1.0 7.5760e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 1 0 0 0 0 1 0 0 0 0 0 MatLUFactorNum 4 1.0 1.7002e-02 1.0 2.31e+07 1.0 0.0e+00 0.0e+00 0.0e+00 3 70 0 0 0 3 70 0 0 0 1356 MatAssemblyBegin 5 1.0 2.1458e-06 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 MatAssemblyEnd 5 1.0 1.1559e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 MatGetRowIJ 1 1.0 2.1911e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 MatGetOrdering 1 1.0 1.1220e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 MatZeroEntries 4 1.0 2.2578e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 MatView 2 1.0 2.1005e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 DMPlexPrealloc 1 1.0 8.1370e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 1 0 0 0 0 1 0 0 0 0 0 SFSetGraph 1 1.0 5.0068e-06 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 SFSetUp 1 1.0 5.4884e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 SFBcastBegin 14 1.0 5.5170e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 SFBcastEnd 14 1.0 4.8900e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 SFReduceBegin 6 1.0 1.9264e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 SFReduceEnd 6 1.0 1.5497e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 VecMDot 4 1.0 3.8147e-05 1.0 9.92e+04 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 2600 VecNorm 9 1.0 3.9816e-05 1.0 2.23e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 5606 VecScale 8 1.0 3.8147e-05 1.0 9.92e+04 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 2600 VecCopy 8 1.0 5.8174e-05 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 VecSet 32 1.0 7.7558e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 VecAXPY 4 1.0 2.7180e-05 1.0 9.92e+04 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 3650 VecWAXPY 4 1.0 6.4135e-05 1.0 4.96e+04 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 773 VecMAXPY 8 1.0 3.4809e-05 1.0 1.98e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 5700 VecScatterBegin 1 1.0 6.9141e-06 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 VecReduceArith 12 1.0 5.4598e-05 1.0 2.98e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 5451 VecReduceComm 4 1.0 1.9073e-06 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 VecNormalize 8 1.0 7.3195e-05 1.0 2.98e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 4066 SNESSolve 1 1.0 5.8983e-01 1.0 3.31e+07 1.0 0.0e+00 0.0e+00 0.0e+00 91100 0 0 0 96100 0 0 0 56 SNESFunctionEval 5 1.0 1.0331e-02 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 2 0 0 0 0 2 0 0 0 0 0 SNESJacobianEval 4 1.0 5.4731e-01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 84 0 0 0 0 89 0 0 0 0 0 SNESLineSearch 4 1.0 9.4290e-03 1.0 3.47e+05 1.0 0.0e+00 0.0e+00 0.0e+00 1 1 0 0 0 2 1 0 0 0 37 KSPSetUp 4 1.0 3.5405e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 KSPSolve 4 1.0 3.0838e-02 1.0 3.27e+07 1.0 0.0e+00 0.0e+00 0.0e+00 5 99 0 0 0 5 99 0 0 0 1062 KSPGMRESOrthog 4 1.0 6.4135e-05 1.0 1.98e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 3093 PCSetUp 4 1.0 2.5756e-02 1.0 2.31e+07 1.0 0.0e+00 0.0e+00 0.0e+00 4 70 0 0 0 4 70 0 0 0 895 PCApply 8 1.0 3.6035e-03 1.0 7.31e+06 1.0 0.0e+00 0.0e+00 0.0e+00 1 22 0 0 0 1 22 0 0 0 2028 --- Event Stage 1: Read Data --- Event Stage 2: Create network DMPlexStratify 1 1.0 7.3504e-04 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 10 0 0 0 0 0 VecSet 1 1.0 2.5034e-05 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 ------------------------------------------------------------------------------------------------------------------------ Memory usage is given in bytes: Object Type Creations Destructions Memory Descendants' Mem. Reports information only for process 0. --- Event Stage 0: Main Stage Container 0 1 584 0. Distributed Mesh 1 3 15824 0. DM Label 0 1 640 0. GraphPartitioner 0 1 664 0. Matrix 2 3 8404116 0. Index Set 6 9 188804 0. IS L to G Mapping 1 1 50280 0. Section 4 12 8736 0. Star Forest Graph 4 7 5944 0. Discrete System 1 3 2784 0. Vector 13 14 1348016 0. SNES 1 1 1412 0. DMSNES 1 1 680 0. SNESLineSearch 1 1 1008 0. Krylov Solver 1 1 18648 0. DMKSP interface 1 1 664 0. Preconditioner 1 1 1008 0. Viewer 3 2 1696 0. Vec Scatter 1 1 776 0. --- Event Stage 1: Read Data --- Event Stage 2: Create network Container 1 0 0 0. Distributed Mesh 2 0 0 0. DM Label 1 0 0 0. GraphPartitioner 1 0 0 0. Matrix 1 0 0 0. Index Set 9 6 23196 0. Section 8 0 0 0. Star Forest Graph 4 1 840 0. Discrete System 3 1 928 0. Vector 1 0 0 0. ======================================================================================================================== Average time to get PetscTime(): 0. #PETSc Option Table entries: -input input/test_100.m -ksp_type gmres -log_view -pc_type lu -petscpartitioner_type simple -snes_atol 1e-10 -snes_converged_reason -snes_linesearch_type basic -snes_monitor_short -snes_rtol 1e-20 -snes_type newtonls -snes_view #End of PETSc Option Table entries Compiled without FORTRAN kernels Compiled with full precision matrices (default) sizeof(short) 2 sizeof(int) 4 sizeof(long) 8 sizeof(void*) 8 sizeof(PetscScalar) 8 sizeof(PetscInt) 4 Configure options: --download-hdf5 --download-hypre --download-suitesparse --download-metis --download-ml --download-mumps --download-netcdf --download-parmetis --download-pnetcdf --download-scalapack --download-triangle --download-zlib --with-cc=mpicc --with-cxx=mpicxx --with-debugging=0 --with-fc=mpif90 --with-shared-libraries=1 COPTFLAGS=-O2 CXXOPTFLAGS=-O2 FOPTFLAGS=-O2 PETSC_ARCH=arch-darwin-c-opt ----------------------------------------- Libraries compiled on 2019-05-07 23:10:01 on jchang31606s.nrel.gov Machine characteristics: Darwin-16.7.0-x86_64-i386-64bit Using PETSc directory: /Users/jchang/Software/petsc Using PETSc arch: arch-darwin-c-opt ----------------------------------------- Using C compiler: mpicc -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Qunused-arguments -fvisibility=hidden -O2 Using Fortran compiler: mpif90 -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O2 ----------------------------------------- Using include paths: -I/Users/jchang/Software/petsc/include -I/Users/jchang/Software/petsc/arch-darwin-c-opt/include -I/opt/X11/include ----------------------------------------- Using C linker: mpicc Using Fortran linker: mpif90 Using libraries: -Wl,-rpath,/Users/jchang/Software/petsc/arch-darwin-c-opt/lib -L/Users/jchang/Software/petsc/arch-darwin-c-opt/lib -lpetsc -Wl,-rpath,/Users/jchang/Software/petsc/arch-darwin-c-opt/lib -L/Users/jchang/Software/petsc/arch-darwin-c-opt/lib -Wl,-rpath,/opt/X11/lib -L/opt/X11/lib -Wl,-rpath,/usr/local/opt/libevent/lib -L/usr/local/opt/libevent/lib -Wl,-rpath,/usr/local/Cellar/open-mpi/3.1.2/lib -L/usr/local/Cellar/open-mpi/3.1.2/lib -Wl,-rpath,/usr/local/Cellar/gcc/8.2.0/lib/gcc/8/gcc/x86_64-apple-darwin16.7.0/8.2.0 -L/usr/local/Cellar/gcc/8.2.0/lib/gcc/8/gcc/x86_64-apple-darwin16.7.0/8.2.0 -Wl,-rpath,/usr/local/Cellar/gcc/8.2.0/lib/gcc/8 -L/usr/local/Cellar/gcc/8.2.0/lib/gcc/8 -Wl,-rpath,/Library/Developer/CommandLineTools/usr/lib/clang/9.0.0/lib/darwin -L/Library/Developer/CommandLineTools/usr/lib/clang/9.0.0/lib/darwin -lHYPRE -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -lumfpack -lklu -lcholmod -lbtf -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig -lml -llapack -lblas -lnetcdf -lpnetcdf -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lparmetis -lmetis -ltriangle -lz -lX11 -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lquadmath -lm -lc++ -ldl -lmpi -lclang_rt.osx -lstdc++ -ldl -----------------------------------------