Generating photonic Verilog-A models for OptoCompiler