Auto-translated
The map generated a guard that the program considers impossible (or I incorrectly specified some parameters).
The save file is attached.
Red password: 5693
Blue password: 5577
In the south, the blue spawn point has a Tree of Knowledge guarded by flies.

The program doesn't show that generating flies for the Tree of Knowledge is possible.

There are 23 flies there in the first week.
A similar tree on the right is guarded by 32 undead, which corresponds to the program's calculations.
As far as I understand, for the 6lm10a template, the spawn point should have a guard value of "4". The city type in this case doesn't matter, as it's not a dwelling.
Slightly above the tree, ogre mages guard an artifact and a chest. There are 46 of them in the first week. If we consider the artifact to be worth 20k, then there should be at least 54 of them.

And if we consider it to be worth 10k, then there should be a maximum of 42.

46 is impossible in any scenario.
What am I doing wrong? Where is the error?