(function from pyomo.util.model_size)
pyomo.util.model_size
Generate a report logging the model size.