Use
.include "D:\Spice_general\skywater-pdk\libraries\sky130_fd_pr\latest\models\corners/tt.spice"
instead of
.lib "D:\Spice_general\skywater-pdk\libraries\sky130_fd_pr\latest\models\sky130.lib.spice" tt
Setup time (including tran init) reduced from 80 to 40s.


spinit in C:\Spice64_KLU\share\ngspice\scripts
spice.rc in User/user
******
** ngspice-41+ : Circuit level simulation program
** Compiled with KLU Direct Linear Solver
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Copyright 2001-2023, The ngspice team.
** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html
** Please file your bug-reports at https://ngspice.sourceforge.io/bugrep.html
** Creation Date: Oct 21 2023   12:00:18
******
Start finished after 0.02 seconds.

Note: Compatibility modes selected: hs a

Warning: m=xx on .subckt line will override multiplier m hierarchy!

max line length 15488, max subst. per line 55, number of lines 94098

Circuit: * iscas85 benchmark circuit spice netlist

Source Deck finished after 11.17 seconds.
option SCALE: Scale is set to 1e-06 for instance and model parameters
Prepare Deck finished after 27.07 seconds.
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000

Parse finished after 38.07 seconds.
Using KLU as Direct Linear Solver
Device Setup finished after 38.48 seconds.
Note: Starting dynamic gmin stepping
Note: Dynamic gmin stepping completed
Using transient initial conditions
op finished after 38.68 seconds.
tran init finished after 39.02 seconds.

No. of Data Rows : 1605
Total elapsed time (seconds) = 176.116 
Total DRAM available = 32708.043 MB.
DRAM currently available = 25511.578 MB.
Maximum ngspice program size =  936.418 MB.
Current ngspice program size =  936.289 MB.

Number of lines in the deck = 3183827
Netlist loading time = 11.146
Subckt and Param expansion time = 26.895
Netlist parsing time = 8.688

Nominal temperature = 27
Operating temperature = 27
Total iterations = 5734
Transient iterations = 5734
Circuit Equations = 86622
Circuit original non-zeroes = 412181
Circuit fill-in non-zeroes = 132761
Circuit total non-zeroes = 544942
Transient timepoints = 1607
Accepted timepoints = 1606
Rejected timepoints = 1
Total analysis time (seconds) = 137.461
Matrix load time = 75.64
Matrix synchronize time = 0
Matrix reorder time = 0.031
Matrix factor time = 26.865
Matrix solve time = 9.531
Transient analysis time = 136.845
Transient load time = 75.466
Transient sync time = 0
Transient factor time = 26.865
Transient solve time = 9.531
Transient trunc time = 13.211
Transient iterations for the last time point = 0
AC analysis time = 0
AC load time = 0
AC sync time = 0
AC factor time = 0
AC solve time = 0

Circuit Inventory

BSIM4v5: 14942
Capacitor: 48376
Resistor: 33847
Vsource: 208

ngspice 1 -> 