It is heartbreaking to watch the number of people suffering this scourge keep growing daily. The absence of recognition and help from Apple is beyond cruel.
In an effort to identify any dependencies I have been trying various combinations of settings and work patterns to no avail. One strange effects seems to be presenting more persistently than random, so here is a brief description.
Every morning after a period of work for about 1-2 hours, on leaving the iMac briefly, for about 10 -15 min, the dreaded double chime of the SWF restart occurs. This seems to be related to settings of display sleep to 5 min and computer sleep to 10 min. The strangest thing is that later in the day, under similar circumstances and patterns of leaving the computer, the SWF does not occur (except for a few possible occasions when I cannot recall, what has happened before that). Moreover, almost always (again unsure due to having more important things to do than collect statistics) the iMac does not go through a SWF when sleeping overnight.
It is probably a wild guess, but perhaps a remote possibility would be some process(es) running after an initial wake up, that do not complete before the first 'computer sleep trigger' event - causing the SWF, after which later into a working day such process(es) are complete or less likely to be still running.
There are other considerations, related to power management settings, including 'Energy Saver' in 'System Preferences' in conjunction with 'pmset', which I shall leave to another post.