Equivalences between age structured models and state dependent distributed delay differential equations.