Did you notice that you’re repeating lines in your profile making it ambiguous?
ffmpeg-audio=-acodec ac3 -ab 320k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 320k -map 0:a
ffmpeg-audio=-acodec copy
What you should be doing in just replace -ac3 with -copy and remove the -ab, so it should look like:
ffmpeg-audio=-acodec copy -map 0:a
ffmpeg-audioac3=-acodec copy -map 0:a
Refer to the Profiles Basics topic for details on how profile commands work.