Menu

Running LINE from Palladio

Help
2015-05-08
2015-05-08
  • Matthias Becker

    Matthias Becker - 2015-05-08

    Hello,

    I am using the current LINE relase 0.6 and the current Palladio release 3.5. I would like to run LINE from Palladio with a PCM model, but face some problems. I get the following error message (but don't really understand the problem). Can you help me out?

    LINE socket: LINE READY
    Connected to LINE on localhost:5463
    LINE socket: ERROR: An error has occurred while executing LINE.
    LINE socket: ERROR: When the first argument to ode15s is a function handle, the tspan and y0 arguments must be supplied.
    LINE socket: ERROR: Error in line 19 of LINE script odearguments
    LINE socket: ERROR: Error in line 149 of LINE script ode15s
    LINE socket: ERROR: Error in line 118 of LINE script CMCQN_CS_fluid_ps
    LINE socket: ERROR: Error in line 37 of LINE script CMCQN_CS_analysis_SEFF
    LINE socket: ERROR: Error in line 154 of LINE script solve
    LINE socket: ERROR: Error in line 113 of LINE script solve_multi
    LINE socket: ERROR: Error in line 95 of LINE script LINE_obj_SEFF.solveSeq
    LINE socket: ERROR: Error in line 72 of LINE script LINE_obj_SEFF.solve
    LINE socket: ERROR: Error in line 92 of LINE script LINEprotocolXML.processInput
    LINE socket: ERROR: Error in line 81 of LINE script LINEserver
    LINE socket: ERROR: Error in line 10 of LINE script LINE
    

    The PCM model I am using as an input can be downloaded from here: https://drive.google.com/file/d/0B5pSWfE79ZR6MWVxbmdpQndCVkE/view?usp=sharing

    Best regards,
    Matthias

     

    Last edit: Matthias Becker 2015-05-08
    • Juan

      Juan - 2015-05-08

      Dear Matthias,
      Thank you very much for your interest in LINE.
      I looked into the files you provided us with.
      I see you are using an Open Workload in the Palladio Usage Model.
      Currently LINE only offers support for Closed Workloads.
      I made this change in your model and LINE worked correctly.
      One option to emulate an Open Workload with a Closed one is to set the think time as the Mean Inter Arrival Time, using a large population.
      Please let me know if this change fixes the issue.
      Thank you.
      Best wishes,
      Juan

       
  • Matthias Becker

    Matthias Becker - 2015-05-08

    Hi Juan,

    thank you, it works! I must have overseen the limitation to closed workloads. I also had to remove the exponential distribution in the think time and abstract it to a fixed real number. Thank you for your help!

    Best regards,
    Matthias

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.