Simulation of high-energy particle production through sausage and kink instabilities in pinched plasma discharges