Thanks
Does this work with DAEs and Sundials? If I do
prob = DAEProblem(model!, dICs, ICs, tspan, params, differential_vars = differential_vars; jac = true, sparse = true)
@time sol = solve(prob, IDA(linear_solver = :KLU), reltol = 1e-10, abstol = 1e-6)
I get ERROR: LoadError: MethodError: no method matching nonzeros(::Nothing)
; it looks like the Jacobian and/or the sparsity aren’t actually being added to the problem and used. If I use the default solver, adding jac = true, sparse = true
doesn’t change the timing, or allocations.