Hello, everyone!
The SQP method simulates non-spherical particles, and there is an error when inputting the initial particle coordinates.
0.325.zip (131.8 KB)
The message is correct - your particle input file is too short. The data starts on line 39, you have declared 1000 particles, so the last line should be 1038. Not counting a few blank lines at the end, your file ends at line 1037. Off-by-one error strikes again!