MotionView mdl-file CANNOT BE CONVERTED to MotionSolve xml-file

Filippo Marinelli
Filippo Marinelli Altair Community Member
edited May 2023 in Community Q&A

Dear all,

I am joining the Altair Digital twin contest, in which many Altair products have to be used.

In particular, when I run the simulation example (task B) Altair Activate fails the completion because of an error. 

The error is shown in the image below.

 

image

 

I've checked the license: everything is ok, the physical address ok, the environmental variable path ok, the license location ok. It seems a problem related to the HyperWorks sw. 

How can I check the MotionView installation? I mean, I have installed the HyperWork sw: edu2021_win64 download. Do I need something other? 

 

Thank you for the attention. 

Best regards to all of you guys, Filippo.

 

Answers

  • AnanthK
    AnanthK
    Altair Employee
    edited March 2021

    Hello Filippo - Please make sure you have the following packages installed. Open MotionView from the windows menu, go to Help -> Updates & system information, then verify that you have: 

    Altair Home: C:/Program Files/Altair/2021/hwdesktop

    Updates Information:
    ------------------------------------------------------------
    AltairActivate2021
    AltairCompose2021
    hwDesktop2021
    hwDesktopHelp2021
    hwSolvers2021
    hwSolversHelp2021

     

    If you cannot open Motionview, then you don't actually have Hyperworks installed. Please contact your local Altair support for download and install instructions specific to EDU, and your country. 

     

    Thanks,

    Ananth

     

  • Filippo Marinelli
    Filippo Marinelli Altair Community Member
    edited March 2021

    Hello Filippo - Please make sure you have the following packages installed. Open MotionView from the windows menu, go to Help -> Updates & system information, then verify that you have: 

    Altair Home: C:/Program Files/Altair/2021/hwdesktop

    Updates Information:
    ------------------------------------------------------------
    AltairActivate2021
    AltairCompose2021
    hwDesktop2021
    hwDesktopHelp2021
    hwSolvers2021
    hwSolversHelp2021

     

    If you cannot open Motionview, then you don't actually have Hyperworks installed. Please contact your local Altair support for download and install instructions specific to EDU, and your country. 

     

    Thanks,

    Ananth

     

    Hi, 

     

    as you guessed, I hadn't installed MotionView. Now I did, and I have everything correctly configured as you have indicated.

     

    However, when I run the same simulation, I still get the same error:

    image

     

    'MotionView mdl-file cannot be converted into MotionSolve XML-file'

     

    I don't really know what this can be due to.

     

    Thank you all for help

  • Filippo Marinelli
    Filippo Marinelli Altair Community Member
    edited March 2021

    Hi, 

     

    as you guessed, I hadn't installed MotionView. Now I did, and I have everything correctly configured as you have indicated.

     

    However, when I run the same simulation, I still get the same error:

    image

     

    'MotionView mdl-file cannot be converted into MotionSolve XML-file'

     

    I don't really know what this can be due to.

     

    Thank you all for help

  • SouravDas0306
    SouravDas0306
    Altair Employee
    edited March 2021

    Hello Filippo,

    You must set up a system variable if possible, the below image shows a user variable.

    In case you cannot browse to file you should copy and paste the full path of the license file location including the file name in the value field.

    For eg: C:\Program Files\Altair\2021-edu\security\altair_lic.da

    image

    Regards,

    Sourav

  • Rahul_P1
    Rahul_P1
    Altair Employee
    edited March 2021

    @Filippo Marinelli 

    It appears you have not set the paths as mentioned here - https://community.altair.com/community?id=community_question&sys_id=63fdc4dddb766410cfd5f6a4e2961967

     

    This is mentioned and there is a link to this post on the contest page as well

    image

    Let us know if this helped you solve the error

  • Filippo Marinelli
    Filippo Marinelli Altair Community Member
    edited March 2021

    Dear @Rahul Ponginan and @Sourav Das , I checked everything you have suggested, both path and environmental variables. 

    Now something happens, but, unfortunately, I do see another error:image

    And the alarm window is:

    'Unable to load MotionSolve interface dll during block initialization, please read the logfile

    image

    Do you know something about this error?

     

    Thank you really much for your help

  • João Marabisa
    João Marabisa
    Altair Employee
    edited March 2021

    Dear @Rahul Ponginan and @Sourav Das , I checked everything you have suggested, both path and environmental variables. 

    Now something happens, but, unfortunately, I do see another error:image

    And the alarm window is:

    'Unable to load MotionSolve interface dll during block initialization, please read the logfile

    image

    Do you know something about this error?

     

    Thank you really much for your help

    Hi Filippo,

    It looks like that the problem happens when Activate tries to access binaries files on MotionView/MotionSolve path.

    Please execute these 2 commands below on Activate command window, then access the two folders to see is they really don't have binaries files there (I have done it now and I have found the file that is on your error message):

    GetMotionSolveBinDirectory()
    GetMotionViewBinDirectory()

    image

    I suspect that the installation file has corrupted (either Activate or Motion, or even both).

    I'd like to ask you another test: Please execute any co-simulation model on Tutorials and see if it can be executed without errors:

    image

    Regards.

  • Maor Kletter_22156
    Maor Kletter_22156 New Altair Community Member
    edited May 2023

    Hi Filippo,

    It looks like that the problem happens when Activate tries to access binaries files on MotionView/MotionSolve path.

    Please execute these 2 commands below on Activate command window, then access the two folders to see is they really don't have binaries files there (I have done it now and I have found the file that is on your error message):

    GetMotionSolveBinDirectory()
    GetMotionViewBinDirectory()

    image

    I suspect that the installation file has corrupted (either Activate or Motion, or even both).

    I'd like to ask you another test: Please execute any co-simulation model on Tutorials and see if it can be executed without errors:

    image

    Regards.

    Hey João Marabisa,

    I have tried to use FMU in Simulink of Matlab to make co-simulation with motion-solve and encountered with a problm with the same binari file you mentioned in that comment "mscicos.dll".

    According my simulink error log there is a problem load mscicos.dll while running.

    What Can I do to solve that?