Is it the standard consolidation package? Can you share the script being executed?
After processing the account dim, can you try validating/re-saving the script logic file before DM execution?
What version of BPC do you have, 7.5 or 10.0? and which SP?