#include ../data/case145.txt
#include ../lib/idx_gen.txt
#include ../lib/idx_bus.txt
#include ../lib/idx_brch.txt
#include ../lib/make_y_bus.txt
#include ../lib/dsbus_dv.txt
#include ../lib/make_sdzip.txt
#include ../lib/make_sbus.txt
#include ../lib/make_jac.txt
#include ../lib/newtonpf.txt
#include ../lib/runpf.txt

info(`Running make_jac on case145 6000 times...`);
for i in 0..6000 {
    make_jac(baseMVA, bus, branch, gen, 1);
}
info(`Run make_jac case145 end`);

info(`Running 2000 times power flow case145...`);
for i in 0..2000 {
    r = runpf();
}
info(`Run power flow on case145 end`);