The random() function geneates a crash error in version 0.0.19.
Binary was built from sourceforge source, using Arch Linux AUR.
When using random() in an equation block, qucs reports:
"ERROR: Simulator crashed!
Please report this error to qucs-bugs@lists.sourceforge.net"
Other functions work well in the equations block. random() is the only function with zero arguments, so maybe there's some issue with parsing the math.