PsimCmd not working properly returning "Unable to get Handle" (version 2023.0)

Leopoldino
Leopoldino Altair Community Member
edited September 2023 in Community Q&A

I was using PSIM 2022.3 and found myself with this problem too https://community.altair.com/community?id=community_question&sys_id=48f782dbdbb2a990cfd5f6a4e29619c7 so I downloaded the newest version 2023.0 released 4 days ago. In the release notes indicates that "PSIMcmd is not working properly" issue was solved.

Now I'm facing other issue. The message "Unable to get Handle" when I try to run a minimal working example.

"C:\Altair\Altair_PSIM_2023.0\PsimCmd.exe" -i "C:\Altair\Altair_PSIM_2023.0\examples\dc-dc\buck.psimsch"

image

(As stated in the help message:
Except input file, all other parameters are optional.
All file names should be enclosed by " or ' characters.)

Steps to reproduce it:

  1. Donwload Altair PSIM 2023.0 and install it following this procedure 
  2. Open PSIM and enter Altair credentials (all features enabled)
  3. Reboot Windows
  4. Open example from example folder "C:\Altair\Altair_PSIM_2023.0\examples\dc-dc\buck.psimsch" 
  5. Run it [Success!]
  6. Close PSIM
  7. Open CMD to run PsimCmd.exe
  8. Run "C:\Altair\Altair_PSIM_2023.0\PsimCmd.exe" -i "C:\Altair\Altair_PSIM_2023.0\examples\dc-dc\buck.psimsch"

     

  9. [Fail!]  "Unable to get Handle" 

Using:

  • windows 11 v 22h2
  • cmd v 10.0.22621.2215
  • Obs: the version 2022.3 is still installed since there is nothing in the installation guide about keep two versions simultaneously.

Am I doing something wrong? In other versions this worked without problems.

Is there some patch to correct this issue?

 

Thank you! 

Tagged:

Answers

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited September 2023

    We have not been able to reproduce your problem.

    Would you please try again?

  • Leopoldino
    Leopoldino Altair Community Member
    edited September 2023

    Thank you for your reply.

    1. I've rebooted my current machine, run "C:\Altair\Altair_PSIM_2023.0\PsimCmd.exe" -i "C:\Altair\Altair_PSIM_2023.0\examples\dc-dc\buck.psimsch"  and errors persists.
    2. I just installed in another machine, followed the installation process indicated in my first post, and same error occours.

    image

    Another machine:

    • windows 11 v 22h2 home
    • cmd v 10.0.22621.2134 (distinct from my main machine)
    • Obs: the version 2022.3 is still installed since there is nothing in the installation guide about keep two versions simultaneously.

     

    I tried to use parameters like -o for output and -g to plot but I got same message "Unable to get Handle".

    Following the helper, this command "C:\Altair\Altair_PSIM_2023.0\PsimCmd.exe" -i "C:\Altair\Altair_PSIM_2023.0\examples\dc-dc\buck.psimsch" is valid.

    Do you have another way that I can test it?

    Thank you!

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited September 2023

    When you run PSIM, please double check whether you were running PSIM2023 or not.
    Please use PSIM"s "Help >> About" to see which version of PSIM you are running.

    Some users' licenses are not updated to PSIM2023. This may be the problem.

     

    We have tested your command line 

    "C:\Altair\Altair_PSIM_2023.0\PsimCmd.exe" -i "C:\Altair\Altair_PSIM_2023.0\examples\dc-dc\buck.psimsch"

    in both Windows 10 and 11, and we have not been able to reproduce your problem.

    image

    imageimage

  • Leopoldino
    Leopoldino Altair Community Member
    edited September 2023

    Thank you for your reply.

    Looks like the problem is with the license process indeed.

    When I enter my login and password, its shown that authorization ok.

    image

    But now started showing up this popup. This is the first time that this popup shows up:

    image

     

    Looks like my license is covering just version 22.0 and was not updated when the "Authorization was successful" was returned.

    Can you help me solve that one?
    Thank you!

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited September 2023

    Thank you for your reply.

    Looks like the problem is with the license process indeed.

    When I enter my login and password, its shown that authorization ok.

    image

    But now started showing up this popup. This is the first time that this popup shows up:

    image

     

    Looks like my license is covering just version 22.0 and was not updated when the "Authorization was successful" was returned.

    Can you help me solve that one?
    Thank you!

    I don't have the authority to upgrade any license. The PSIM forum answers only the technical questions related to the functionality of PSIM.

    Please send your issue either to the licensing forum or create a support request.