making sure that all variables used in differential or algebraic equations are defined in the compacted model component; re-jig the variable creation and return in CellML utils so that we can make use of it when creating the compacted variables in equations
adding code to do a simple string replacement on the mathml string to replace them with their compacted version variable name and add the math block to the comoonent MathML annotations for later addition to the model. But now realised that a simple string replacement will not work and need to be a bit smarter in updating the math.