Sometimes the memory estimator struggles to correctly determine the amount of memory required to load the model during initialisation.
To fix you need to add the MEMORY-SIZE line after the START right at the top of the dat file, or in Patran in the Execution Control Parameters in the Integer and Float Memory Size fields.
To find the values you need, take a look in the OUT file after such a type of error (any Dynamic memory allocation failed error):
The WORDS USED will be the value it is trying to use, while the WORDS DEFINED is what is actually used. In my example above I have defined the integer and float size both to 50000000 to be larger than what is needed.
So in the dat file this would show up as:
MEMORY-SIZE=50000000,50000000
It usually takes a few iterations to find the values to initialise with. But once you've done this for your typical large models, then you typically reuse the same settings.
Hi, it seems it crashed so did not wrap up the final messages, but in the dat file I see you were trying to run with 640 million Euler elements (4000x400x400). Feasibly you should look at <0.5 million Euler elements for model debugging.