Low-Dimensional Flow Models from High-Dimensional Flow Data with Machine Learning and First Principles