I don't know the A320 engines but I think the fire in the exhaust may be due to the fuel purge system operating when all electrical power is turned off.
I seem to remember this happening on some engines after emergency shut down during engine ground runs.