{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/FMUComplianceChecker/issues/13","repository_url":"https://api.github.com/repos/tbeu/FMUComplianceChecker","labels_url":"https://api.github.com/repos/tbeu/FMUComplianceChecker/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/FMUComplianceChecker/issues/13/comments","events_url":"https://api.github.com/repos/tbeu/FMUComplianceChecker/issues/13/events","html_url":"https://github.com/tbeu/FMUComplianceChecker/issues/13","id":295522546,"number":13,"title":"Simulation both for ME and CS","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars1.githubusercontent.com/u/22202507?v=4","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-08T14:01:23Z","updated_at":"2018-02-08T14:03:04Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Reported by andreas&#46;pfeiffer on 30 Jan 2015 07:27 UTC**\nIf an FMU contains both ME and CS models, then the FMU compliance checker simulates ME and CS, but there is only one result file. Please could you clarify?\n\nWould it be possible to add an option to specify if the simulation for ME or CS or both should be run?\n\n----\n\nMigrated-From: https://trac.fmi-standard.org/ticket/315"},"comment":{"url":"https://api.github.com/repos/tbeu/FMUComplianceChecker/issues/comments/364120321","html_url":"https://github.com/tbeu/FMUComplianceChecker/issues/13#issuecomment-364120321","issue_url":"https://api.github.com/repos/tbeu/FMUComplianceChecker/issues/13","id":364120321,"user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars1.githubusercontent.com/u/22202507?v=4","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T14:03:04Z","updated_at":"2018-02-08T14:03:04Z","author_association":"COLLABORATOR","body":"**Comment by andreas&#46;pfeiffer on 16 Nov 2015 09:04 UTC**\nI am ok, if only one result file is generated under the assumption that it is clear what this result file represents, but currently there is something going wrong. I try to explain it in more detail.\n\nIf I do the following for an FMU 2.0 containing both ME and CS:\n\n```\nD:\\FMUChecker-2.0.2b1-win32>fmuCheck.win32.exe -o out.csv -s 1e-7 -h 1e-8 Modelica_Electrical_Analog_Examples_Rectifier.fmu\nD:\\FMUChecker-2.0.2b1-win32>fmuCheck.win32.exe -k me -o out_me.csv -s 1e-7 -h 1e-8 Modelica_Electrical_Analog_Examples_Rectifier.fmu\nD:\\FMUChecker-2.0.2b1-win32>fmuCheck.win32.exe -k cs -o out_cs.csv -s 1e-7 -h 1e-8 Modelica_Electrical_Analog_Examples_Rectifier.fmu\n```\n\nthen I get the following files:\n\nout.csv:\n```\n\"time\",\"uDC\",\"iAC[1]\",\"iAC[2]\",\"iAC[3]\" ...\n0,5.6568542494923804E+002,-0.0000000000\n1e-008,5.6568509105021928E+002,1.387778\n2e-008,5.6568475715120087E+002,1.710066\n3e-008,5.6568442325218280E+002,4.987693\n4e-008,5.6568408935316506E+002,9.702251\n5e-008,5.6568375545414767E+002,1.573399\n6e-008,5.6568342155513062E+002,2.297316\n7e-008,5.6568308765611391E+002,3.131913\n9e-008,5.6568241985808140E+002,5.097022\n1e-007,5.6568208595906560E+002,6.211330\n1e-007,5.6568208595906560E+002,6.211330\n1e-007,5.6568208595906697E+002,2.330492\n```\n\ncsv_me.out:\n```\n\"time\",\"uDC\",\"iAC[1]\",\"iAC[2]\",\"iAC[3]\" ...\n0,5.6568542494923804E+002,-0.0000000000\n1e-008,5.6568509105021928E+002,1.387778\n2e-008,5.6568475715120087E+002,1.710066\n3e-008,5.6568442325218280E+002,4.987693\n4e-008,5.6568408935316506E+002,9.702251\n5e-008,5.6568375545414767E+002,1.573399\n6e-008,5.6568342155513062E+002,2.297316\n7e-008,5.6568308765611391E+002,3.131913\n9e-008,5.6568241985808140E+002,5.097022\n1e-007,5.6568208595906560E+002,6.211330\n1e-007,5.6568208595906560E+002,6.211330\n```\n\ncsv_cs.out:\n```\n\"time\",\"uDC\",\"iAC[1]\",\"iAC[2]\",\"iAC[3]\"\n0,5.6568542494923804E+002,-0.0000000000\n1e-008,5.6568509105021928E+002,-1.43523\n2e-008,5.6568475715120110E+002,4.932922\n3e-008,5.6568442325218325E+002,2.546945\n4e-008,5.6568408935316552E+002,6.758146\n5e-008,5.6568375545414835E+002,9.960004\n6e-008,5.6568342155513142E+002,1.150945\n7e-008,5.6568308765611482E+002,1.547199\n9e-008,5.6568241985808265E+002,2.255509\n1e-007,5.6568208595906697E+002,2.330492\n```\n\nWe see three files with different contents - especially compare the results for time=1e-007. It seems, that the file out.csv has the same content as out_me.csv, but there is the last line of out_cs.csv added in out.csv.\n\nThere is no documentation, that this is intended, therefore I guess it is a bug that should be corrected. Also, I tested the procedure with another FMU - same issue."}}
{"actor":{"display_login":"modelica-trac-importer"}}