The total time is in the result for the MainSequence callback step in the process model entry point. The field is .TS.TotalTime. Typically, the MainSequence callback step is the only step in any process model sequence that generates a result.
You can see how the text report gets this value by looking at the Add Execution Time step in the Add Report Header sequence in reportgen_txt.seq.