I've come across an issue where the Complex Product block in SystemModeler just produces outright incorrect results.
I ran a test simulation where I multiplied 1+3i with 100+200i using the block and got the result of -30,000+40,000i. How is it even possible to get a result this wrong? Attached are images showing the setup.
Any help would be appreciated.
That seems to be a bug in Modelica 3.2.2 (https://github.com/modelica/Modelica/issues/2177). As a workaround you can switch to Modelica 3.2.1 (right-click on Modelica and select Version -> 3.2.1) or apply the patch from github to your local installation.