updated ODEFactory to accept NetfreeModel