Three dimensional structures, memory and energy dissipation in meandering compound channel flow