No, that was my first thought. The CSV file is closed. It works if I manually erase the CSV file before I run the new simulation.