It appears that the particle boundaries are not separated by particle populations as for example having no outflow in z direction for protons but having outflow in z for helium does not crash the simulation with periodic_z=no as one would expect if the outflow was separated by particle populations.
Here is an example config that runs fine
valid.cfg.txt
(renamed to txt because github is stupid and did not accept .cfg)