Backport the XIOS3 system to log the memory consumption (commit ID [2418-2420,2425-2426]) + new files