Abaqus MSG File: How to Read .msg, .sta and .dat to Fix a Failed Job

Abaqus MSG File: How to Read .msg, .sta and .dat to Fix a Failed Job

Table of Contents

When an Abaqus job stops, the Viewer gives you nothing useful. There is no result to look at, or the result stops halfway through the step. The answer is almost always sitting in a plain text file next to your input file, and most engineers never open it.

The Abaqus MSG file is the solver’s own log of what it tried, what did not converge, and where. Together with the .sta and .dat files it tells you exactly why the job failed. This guide shows how to read all three, in the order a working engineer should read them, and what to change in the model once you know.

Which Abaqus file holds what

A single job writes a lot of files. For debugging, only four matter.

FileWritten byWhat it tells you
job.datPreprocessorModel definition problems: bad elements, missing materials, unresolved sets. If the job never started, look here.
job.msgAbaqus/Standard solverIteration-by-iteration detail: residual forces, which node is out of equilibrium, contact changes, cutbacks, warnings and the final error.
job.staSolverOne compact line per increment. The fastest way to see whether the solve was progressing or dying.
job.logAbaqus execution scriptLicence problems and Fortran compile or link errors for user subroutines.

The official reference for the full list is the Abaqus documentation page on files generated by creating and analysing a model.

Start with the .sta file, not the .msg file

The status file is small and you can read it in ten seconds. For Abaqus/Standard the columns are:

STEP  INC  ATT  SEVERE   EQUIL  TOTAL  TOTAL      STEP       INC OF
                DISCON   ITERS  ITERS  TIME/LPF   TIME/LPF   TIME/LPF
                ITERS

Read three of them:

  • ATT (attempt) — how many times the solver retried that increment. A healthy job sits at 1 the whole way. If you see 1, 2, 3, 4, 5 climbing, the solver is cutting back and the job is heading for termination.
  • INC OF TIME — the increment size. If it shrinks from 0.1 to 1e-8 over a few lines, the solve is dying. Abaqus kills the step once this drops below the minimum increment you set.
  • SEVERE DISCON ITERS — severe discontinuity iterations, which in practice means contact opening and closing. Zero to two is normal. Consistently above five means your contact definition is chattering.

So before anything else: did the last line reach a step time of 1.0? If yes, the job finished and your problem is the model, not the solver. If no, note the step and increment number where it stopped and move to the message file.

Abaqus/Explicit writes a .sta file too, but with completely different columns — total time, CPU time, stable time increment, kinetic energy. Most Explicit diagnostics end up in the output database rather than the message file, so for Explicit jobs use Visualization → Tools → Job Diagnostics instead.

How to read the Abaqus MSG file

The message file can be tens of thousands of lines. The single most useful habit is this: open it at the end, not the beginning. The failure is at the bottom. Everything above it is history.

Step 1 — find the errors and warnings

Do not scroll. Filter. On Linux or in a Git Bash shell:

grep -n -E "\*\*\*(ERROR|WARNING)" job.msg | tail -40

On Windows:

findstr /N /C:"***ERROR" /C:"***WARNING" job.msg

Abaqus marks every message with three asterisks and a severity, so this one command usually puts the cause on screen immediately.

Step 2 — read the residual forces

This is the part most people skip, and it is the most valuable information in the file. For every iteration Abaqus prints the average force in the model and the largest residual force, with the node and degree of freedom where it occurs:

AVERAGE FORCE                      1.234E+03
 LARGEST RESIDUAL FORCE            8.765E+02 AT NODE 14732 DOF 2

Abaqus/Standard considers equilibrium satisfied when the largest residual is below 0.5% of the time-averaged force for the step — the default tolerance. If the residual is stuck at the same order of magnitude as the average force, the model is nowhere near equilibrium.

The node number is the gift. Pull the last twenty residual lines:

grep -n "LARGEST RESIDUAL FORCE" job.msg | tail -20

If the same node keeps appearing, that node is your problem. If the job then dies with too many attempts made for this increment, that node is where to start looking. Open the model in CAE, create a set containing it, and look at what is there: an unsupported edge, a single node in contact, a sharp re-entrant corner, a tie constraint on a free surface. In my experience this one step finds the cause of maybe half of all non-convergent static jobs.

Step 3 — match the warning to a cause

A handful of messages come up again and again. What each one actually means:

  • ***WARNING: SOLVER PROBLEM. ZERO PIVOT WHEN PROCESSING D.O.F. n OF NODE m — that degree of freedom has no stiffness. Rigid body motion, a missing boundary condition, or a part connected to nothing. See the detail in our guide to the zero pivot warning.
  • ***WARNING: THE SYSTEM MATRIX HAS n NEGATIVE EIGENVALUES — the stiffness matrix is not positive definite. Real buckling, a softening material, or spurious contact stiffness. A few during a buckling step are expected; a growing count is not. Full explanation in the post on the negative eigenvalue warning.
  • ***NOTE: THE STRAIN INCREMENT HAS EXCEEDED FIFTY TIMES THE STRAIN TO CAUSE FIRST YIELD — the increment is far too large for the plasticity model, or the load is applied too fast for a static step.
  • ***ERROR: TOO MANY ATTEMPTS MADE FOR THIS INCREMENT — the end of the chain, not the cause. Something above it in the file is the real reason. Our walkthrough of too many attempts made for this increment covers the usual suspects.
  • Repeated contact opening and closing on the same surface pair — a classic chattering problem. Options are contact stabilisation, a small clearance adjustment, or switching to a penalty formulation. See our notes on FEA contact convergence.

Step 4 — turn up the diagnostics and run again

By default Abaqus prints a moderate amount to the message file. When a job is genuinely confusing, ask for more. In the input file:

*PRINT, CONTACT=YES, PLASTICITY=YES, RESIDUAL=YES, SOLVE=YES, FREQUENCY=1

In Abaqus/CAE the same controls are under Step → Output → Diagnostic Print. With CONTACT=YES the message file lists every contact status change per iteration, which is the only reliable way to see chattering. The job monitoring documentation describes the full set.

A practical point: do not rerun the whole analysis just to get diagnostics. If the job failed late in the step, restart from the last converged increment instead. We covered that workflow in restarting an Abaqus analysis.

When the job never started: reading the .dat file

If there is no .msg file at all, or it is nearly empty, the solver never ran. The preprocessor rejected the model and said why in the .dat file.

Two habits make this file far more useful:

Run a datacheck first. On a large model this takes seconds instead of hours:

abaqus job=myjob datacheck interactive

It writes the .dat file, reports every preprocessing error, and stops before solving. Worth doing on any model you have just edited by hand.

Ask for the model echo when a keyword is not behaving as you expect:

*PREPRINT, ECHO=YES, MODEL=YES, HISTORY=YES

The .dat file then contains what Abaqus actually understood from your input — resolved sets, assigned sections, final material definitions. Comparing that against what you intended catches typos and overwritten definitions quickly. The file size grows a lot, so switch it off again afterwards.

Also check the problem size block near the top. If you expected 200,000 elements and the model reports 20,000, something in your mesh or assembly did not come through.

Subroutine jobs: check the .log file first

If your job uses a UMAT, VUMAT, DFLUX or USDFLD, a failure may have nothing to do with the mechanics. A Fortran compile or link error appears in the .log file, not the message file, and usually reads as Abaqus Error: Problem during compilation. Fortran is the officially supported language for Abaqus user subroutines, and the compiler and Abaqus version have to match. Our two-part guide on Abaqus Fortran linking errors covers the environment setup.

A five-minute triage routine

  1. Open job.sta. Did the last line reach step time 1.0? If yes, the solver is fine — debug the model instead.
  2. If no, note the step, increment and whether ATT was climbing and INC OF TIME collapsing.
  3. Grep job.msg for ***ERROR and ***WARNING. Read the last few.
  4. Grep for LARGEST RESIDUAL FORCE and take the last twenty lines. Note the repeating node number.
  5. Display that node in CAE and look at what is physically there.
  6. If nothing is obvious, add *PRINT, CONTACT=YES, RESIDUAL=YES and rerun from a restart point.

If the job runs but is simply too slow, the same files help. Our guide on why a simulation is so slow lists nine causes and how to spot each one.

Common mistakes

  • Reading the message file from the top. The first thousand lines are a healthy analysis. Start at the end.
  • Treating the final error as the cause. “Too many attempts” is a symptom. The reason is 50 to 500 lines above it.
  • Ignoring warnings because the job completed. A job that ran to 1.0 with hundreds of negative eigenvalue warnings has produced results you should not trust.
  • Relying only on the CAE Job Monitor. It is convenient, but its Errors and Warnings tabs summarise rather than show everything. The text file is the source of truth.
  • Deleting the files between runs. Keep the .msg and .sta from a failed job so you can compare them against the next attempt and see whether your fix actually changed the convergence behaviour.
  • Reading an Explicit .sta file with Standard column expectations. They are different files with the same extension.

Ready-to-use models and courses

Reading the files is one half of the job. Seeing a worked fix on a real model is the other half. These packages from our shop go through the diagnosis and the correction step by step:

If you want to go further on automating this, our post on Abaqus ODB Python scripting shows how to pull results and diagnostics out of a job without opening the GUI.

FAQ

What is the Abaqus MSG file?

The .msg file is the message file written by the Abaqus/Standard solver while the analysis runs. It records each equilibrium iteration, the average and largest residual forces with the node and degree of freedom where they occur, contact status changes, increment cutbacks, and every warning and error the solver issues. It is the primary file for diagnosing a convergence failure.

What is the difference between the .msg and .sta files in Abaqus?

The .sta file is a summary with one line per increment, showing attempts, iteration counts and increment size — good for seeing at a glance whether the solve was progressing. The .msg file is the detailed log behind those lines, with the residual forces and warnings that explain why an increment needed several attempts.

Why does my Abaqus job have no .msg file?

Because the solver never started. The preprocessor rejected the model, so the explanation is in the .dat file instead. Run abaqus job=myjob datacheck to reproduce that quickly and read the errors it reports. If a user subroutine is involved, also check the .log file for a compilation or linking failure.

How do I find out which node is causing a convergence problem?

Search the .msg file for LARGEST RESIDUAL FORCE and look at the last several occurrences. Each line names the node and degree of freedom carrying the largest out-of-balance force. A node that repeats across iterations is almost always at or next to the real problem — an unconstrained region, a single-node contact, or a geometric singularity.

How do I get more detail in the Abaqus message file?

Add *PRINT, CONTACT=YES, PLASTICITY=YES, RESIDUAL=YES, SOLVE=YES, FREQUENCY=1 to the step definition, or set the equivalent options in Abaqus/CAE under Step → Output → Diagnostic Print. Contact printing in particular is the only dependable way to confirm that surfaces are chattering. Expect a much larger file, so turn it off once the problem is found.

Conclusion

A failed Abaqus job is rarely mysterious. The solver writes down what it tried and where it gave up; the skill is knowing which file to open and in what order. Check the .sta for the shape of the failure, the .msg for the residual node and the warning that explains it, the .dat if the job never started, and the .log if a subroutine is involved. That sequence will resolve most convergence problems without guesswork.

If you would rather learn from a model that already demonstrates the fix, browse the troubleshooting packages and courses in our shop. And if a deadline is closer than the learning curve, we also take on custom simulation and consulting projects — send us the job files and we will tell you what the message file says.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related  articles

Abaqus Integration Point vs Nodal Stress: Why Peaks Differ
Compare integration-point, element-nodal and unique-nodal stress in Abaqus, and check whether a contour peak depends on extrapolation, averaging or mesh size.
Abaqus Linear Perturbation vs General Step: What Actually Changes
Abaqus Linear Perturbation vs General Step: What Actually Changes

You run a frequency extraction after a static step and the frequencies come out the same whether or not the part had yielded. You run a static linear perturbation step and the reaction force is a fraction of what you

Harmonic Response Analysis in ANSYS Workbench: A Practical Guide
Harmonic Response Analysis in ANSYS Workbench: A Practical Guide
How to set up harmonic response analysis in ANSYS Workbench: modal link, frequency range, solution method, damping, loads and results, plus the common mistakes.

See more

Related  Products

See more