Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Palladio Component Model (PCM) simulations not working in Eclipse(Palladio Component Model (PCM) simulations)
Palladio Component Model (PCM) simulations not working in Eclipse [message #1823202] Sun, 22 March 2020 12:20 Go to next message
J Bouwhuis is currently offline J BouwhuisFriend
Messages: 17
Registered: April 2019
Junior Member
I am trying to run some PCM Palladio example simulations. One of them is the MediaStore simulation example which is provided online (see https://updatesite.palladio-simulator.com/palladio-example-models/releases/4.1.0/MediaStore_Example.zip). I am trying to get it to work using the instructions as provided on https://sdqweb.ipd.kit.edu/wiki/Palladio_Usecase_Tutorial, but when trying to run the simulation (see step 8), the editor gives me the following errors (see below). I do not know exactly what to do with this problem or how to solve it. When creating an own PCM project it gives me the same problems. I think something with a configuration in PCM is not set correct (as I assume the provided MediaStore example case itself is correct), but I don't know exactly where to look. Your help is appreciated! If you need more information, please let me know. Im am using Eclipse version 2019-09R and PCM Palladio 4.2.0

[Worker-0: Launching ms base all 10k] INFO : Create workflow configuration
[Worker-0: Launching ms base all 10k] INFO : Validating workflow configuration
[Worker-0: Launching ms base all 10k] INFO : Creating workflow engine
[Worker-0: Launching ms base all 10k] INFO : Executing workflow
[Worker-0: Launching ms base all 10k] INFO : Creating workflow engine and starting workflow
[Worker-0: Launching ms base all 10k] INFO : Task Create. completed in 0.013451421 seconds
[Worker-0: Launching ms base all 10k] INFO : Task Opening 'de.uka.ipd.sdq.temporary'. completed in 0.115413712 seconds
[Worker-0: Launching ms base all 10k] INFO : Task Sequential Job Execution completed in 0.218488892 seconds
[Worker-0: Launching ms base all 10k] FATAL: Workflow terminated unexpectedly
de.uka.ipd.sdq.workflow.WorkflowFailedException: A workflow job failed
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithImmediateCleanUp(SequentialJob.java:165)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.execute(SequentialJob.java:77)
    at de.uka.ipd.sdq.workflow.BlackboardBasedWorkflow.execute(BlackboardBasedWorkflow.java:82)
    at de.uka.ipd.sdq.workflow.Workflow.run(Workflow.java:90)
    at de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate.createAndRunWorkflow(AbstractWorkflowBasedLaunchConfigurationDelegate.java:244)
    at de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate.launch(AbstractWorkflowBasedLaunchConfigurationDelegate.java:91)
    at de.uka.ipd.sdq.codegen.simucontroller.runconfig.SimulationWorkflowLauncher.launch(SimulationWorkflowLauncher.java:42)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:860)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:719)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1017)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1220)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: de.uka.ipd.sdq.workflow.WorkflowFailedException: A workflow job failed
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithImmediateCleanUp(SequentialJob.java:165)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.execute(SequentialJob.java:77)
    at de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob.execute(SequentialBlackboardInteractingJob.java:86)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithImmediateCleanUp(SequentialJob.java:150)
    ... 11 more
Caused by: de.uka.ipd.sdq.workflow.WorkflowFailedException: A workflow job failed
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithImmediateCleanUp(SequentialJob.java:165)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.execute(SequentialJob.java:77)
    at de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob.execute(SequentialBlackboardInteractingJob.java:86)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithImmediateCleanUp(SequentialJob.java:150)
    ... 14 more
Caused by: EvaluationException : Type not found : ComposedStructure
    pcm.chk[260,237] on line 15 'ComposedStructure 'ProvidesComponentTypes cannot be generated but are used in AssemblyContext.''

    at org.eclipse.internal.xtend.xtend.ast.Check.validate(Check.java:152)
    at org.eclipse.internal.xtend.xtend.ast.ExtensionFile.check(ExtensionFile.java:258)
    at org.eclipse.xtend.check.CheckFacade.checkAll(CheckFacade.java:79)
    at org.eclipse.xtend.check.CheckFacade.checkAll(CheckFacade.java:34)
    at de.uka.ipd.sdq.workflow.mdsd.oaw.PerformOAWCheckValidation.execute(PerformOAWCheckValidation.java:86)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithDelayedCleanUp(SequentialJob.java:111)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.execute(SequentialJob.java:79)
    at de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob.execute(SequentialBlackboardInteractingJob.java:86)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithDelayedCleanUp(SequentialJob.java:111)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.execute(SequentialJob.java:79)
    at de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob.execute(SequentialBlackboardInteractingJob.java:86)
    at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithImmediateCleanUp(SequentialJob.java:150)
    ... 17 more
[Worker-0: Launching ms base all 10k] INFO : Cleaning up...

[Updated on: Sun, 22 March 2020 13:13]

Report message to a moderator

Re: Palladio Component Model (PCM) simulations not working in Eclipse [message #1823226 is a reply to message #1823202] Mon, 23 March 2020 08:06 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

You should check why the metamodel element ComposedStructure is not found, while others are. The failed rule in pcm.chk might be a pointer. You may check if other rules work if you exclude those that are related to type ComposedStructure.

Sorry, I don't have the time to look into your project in detail.

This project uses Xpand & Xtend 1, which are deprecated. That's not causing the problem, but you should get rid of that in favor of a more supported technology.
Previous Topic:Get textual representation from model
Next Topic:What unix stream do INFO and WARNING Messages Use?
Goto Forum:
  


Current Time: Thu Apr 25 16:27:35 GMT 2024

Powered by FUDForum. Page generated in 0.02807 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top