Partial regularity of mathematical models of fluid mechanics