Getting y matrix through conet crashes pss e
I am using this api CALL OUTPUTYMATRIX in the conet subrutine , i need it for printing the ybus elements in the progress window , before running a simulation i use this code, but pss e crashes , i want to know if its possible to use this api during dynamic simulation in a user model for example
 SUBROUTINE CONET
  INCLUDE 'COMON4.INS'
  IF (.NOT. IFLAG) GO TO 9000
   WHEN (MODE.EQ.1 .OR. KPAUSE.EQ.2)
  . 
  .  CALL OUTPUT_Y_MATRIX(0,1,1,0, 'x.txt', 0)
  ...FIN
  ELSE RETURN
  9000 CONTINUE
  RETURN
  END
 
 