create a SimSundials structure to keep track of userdata index;
clear old index in __ss array upon structural changes