Hello,
Does your custom library have a math function block (which has logarithm selected) anywhere?. The error message is indicating an error in the three port vertical section of your custom library.
It seems as if you are trying to take the log of a negative number there, which is not allowed.
You can check its documentation here:
Thanks