Flattening and simulation of asynchronous divisionless P systems with active membranes