From conflicts to crashes: Simulating macroscopic connected and automated driving vehicle safety. (July 2023)