macro createFun can extract variable from d(v)/dt