{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/1682","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/1682/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/1682/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/1682/events","html_url":"https://github.com/tbeu/Modelica/issues/1682","id":197614882,"number":1682,"title":"Long initialisation for CombiTimeTable using v7.3 .mat files","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","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":[{"id":506762997,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false},"assignees":[{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-26T19:39:48Z","updated_at":"2016-12-26T19:39:57Z","closed_at":null,"body":"**Reported by filip&#46;jorissen on 16 Mar 2015 08:35 UTC**\nHi,\n\nwhen using long (>1e5 rows) of input files for a combiTimeTable Dymola takes very long (hours, or does not complete) to initialise. I used Matlab to generate the .mat file. By default it uses v7.3 as far as I know. When I try to save/load the table using mat file version v4 then initialisation happens within one second.\n\nIt seems that the code for v7.3 is somehow less efficient. Possibly it contains a double iteration loop over all values that causes the problem. I have attached two .mat files with identical data but using different formats.\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1682"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/269237190","html_url":"https://github.com/tbeu/Modelica/issues/1682#issuecomment-269237190","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/1682","id":269237190,"user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","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":"2016-12-26T19:39:57Z","updated_at":"2016-12-26T19:39:57Z","body":"**Comment by beutlich on 16 Mar 2015 12:00 UTC**\nCan reproduce it. Looks like the used MATIO lib (or the way how it is called) has some performance issues. Will check it with AQTime performance analyzer.\n\nFor the sake of the matter: attachment:matDatav73.mat ist not a v7.3 (= HDF5-based) MAT-file but a v7 MAT-file.\n\nTest model:\n```mo\nmodel T1682\n  Modelica.Blocks.Sources.CombiTimeTable combiTimeTable1(\n    tableOnFile=true,\n    tableName=\"MassFlowRateECkgh\",\n    fileName=\"matDatav73.mat\") annotation(Placement(transformation(extent={{-85,0},{-65,20}})));\n  annotation(experiment(StartTime=1112308160, StopTime=1301606960));\nend T1682;\n```"}}
{"actor":{"display_login":"modelica-trac-importer"}}