model_list_variables function

List all the variables used in a model