Can I load my Modelica library on ACTIVATE Personal?/ACTIVATE PersonalでModelicaライブラリをロードできますか?

Kazunari Moriya
Kazunari Moriya Altair Community Member
edited July 2022 in 質問と回答 (Q&A)

 I use ACTIVATE Personal 2022, and I get an error message below when I load my Modelica library(libtestd) using "Import Modelica Library" function. The loaded library never be shown on the Palettes.

"Error loading library libtestd.
Missing installer in call to function vssInstallLibrary at line number 2504 in file vssImportModelicaLibrary.oml"

I tried just simple library, also I got the same error.

I wonder the ACTIVATE Personal can't load any Modelica library, or needs extra tool installing.

Am I something wrong? Is there anyone in same trouble?

Could anyone tell me about it, please?

-----

ACTIVATE Personal 2022を使っています。「Modelicaライブラリのインポート」を使って自作のModelicaライブラリ(libtestd)をロードしようとしていますが、下記のエラーが出て、ロードできません(Palletesに現れません)。

Error loading library libtestd.
Missing installer in call to function vssInstallLibrary at line number 2504 in file vssImportModelicaLibrary.oml

ごく単純なライブラリで試しでも、同様のエラーが出ます。

そもそも、ACTIVATE Personalではロードできないのでしょうか?それとも、なにか拡張ツールを追加インストールする必要があるのでしょうか?

何か間違ってますか?どなたか同じ症状出てますか?

何かご存知でしたら教えてください。

 

 

Best Answer

  • RoKet_21298
    RoKet_21298
    Altair Employee
    edited July 2022 Answer ✓

    Thanks for the additonal investigations and information. I suppose that the VC++ compiler can't handle unicode characters. So, good to know and thanks again.

Answers

  • RoKet_21298
    RoKet_21298
    Altair Employee
    edited July 2022

    Hi Moriya-san,

    In general, there are no restrictions on importing a Modelica library in Activate personal edition.

    Please check a few things:

    • Can you run any Modelica demo model?
    • Did you install a MS Visual C++ compiler (e. g. free buildtools)?

    Please attach your test library libtestd, I can then check the import with an identical input.

  • Kazunari Moriya
    Kazunari Moriya Altair Community Member
    edited July 2022

    Hi Moriya-san,

    In general, there are no restrictions on importing a Modelica library in Activate personal edition.

    Please check a few things:

    • Can you run any Modelica demo model?
    • Did you install a MS Visual C++ compiler (e. g. free buildtools)?

    Please attach your test library libtestd, I can then check the import with an identical input.

    Dear Roket-san,

    Thank you for your reply.

    I tried a Modelica demo "DiodeBridgeRectifierSmoothed.scm", and I've got right result. I attached the screen capture below. (By the way, this circuit is not correct, I think.)

    image

    And, I think the VC++ Compiler has been installed I think, because the Visual Studio 2017 has installed on my PC.

     

    I'm afraid but I found the reason why I cannot import a modelica library by myself.

    It will fail when a Japanese character(i.e. multibyte character) is in the path of "Activate Library Path".

    I'm very sorry for bothering you with my mistake.

    Thank you again.

  • RoKet_21298
    RoKet_21298
    Altair Employee
    edited July 2022 Answer ✓

    Thanks for the additonal investigations and information. I suppose that the VC++ compiler can't handle unicode characters. So, good to know and thanks again.