Minimal Self-Models and the Free Energy Principle