MDR is the library which has 3 DPs that I am using to build the model. The conveyor has an on reset code which deletes the DPs and creates new ones. If you start a new model and run the code the first time it works. After that, the model keeps crashing everytime I hit reset.