Note though, so far the issues are all in setting up through MT. I don’t think he is having issues with the solvers. So it isn’t really an SSA issue, but more on making the MT conversion process faster. I’ll do some profiling to investigate this more over the weekend.
I guess the problem with DiscreteProblem is from the two varmap_to_vars calls. I don’t see why the rest would give any issues.