I think I have found the proverbial “smoking gun™” that could be the cause of your problems.
Your input uses the “delete_bonds” command and you can see the following output in your log:
Deleting bonds ...
47020 total bonds, 12106 turned on, 34914 turned off
12340 total angles, 702 turned on, 11638 turned off
0 total dihedrals, 0 turned on, 0 turned off
0 total impropers, 0 turned on, 0 turned off
As you can see from the information, the bonds and angles are turned off but not really removed. This is done internally by flipping the sign on the bond and angle type. Those will not be contribute to the particle forces, but the definition remains in place. Since the bond forces are not computed, atoms may move further apart and eventually they can separate by more than a sub-domain’s length and then you get the error you see. With a larger system, this situation is more likely, hence your success of simulating the smaller system.
Now, if I add the “remove” keyword to that command the output changes to:
Deleting bonds ...
12106 total bonds, 12106 turned on, 0 turned off
702 total angles, 702 turned on, 0 turned off
0 total dihedrals, 0 turned on, 0 turned off
0 total impropers, 0 turned on, 0 turned off
and the bonds and angles are actually gone and not present and turned off.
But if you study the entire documentation of the delete_bonds documentation, you should learn that you also need to add the special keyword to trigger recomputing the excluded non-bonded
interactions. And by looking at the thermo output you can see that this has a significant impact, considering how many interactions you have removed.
I will change the documentation to make the paragraphs discussing those issues more visible and also mention the possibility of turning off without removing has to cause errors.