Title: Dynamic sparse matrix code as an automatic approach to macromodeling