Modelingtoolkitize does not work when parameter is passed

modelingtoolkitize requires a code is quasi-static, so the computation is not dependent on values.