{"action":"opened","issue":{"url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/1673","repository_url":"https://api.github.com/repos/modelica/ModelicaSpecification","labels_url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/1673/labels{/name}","comments_url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/1673/comments","events_url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/1673/events","html_url":"https://github.com/modelica/ModelicaSpecification/issues/1673","id":377146287,"node_id":"MDU6SXNzdWUzNzcxNDYyODc=","number":1673,"title":"Is it legal that constructors of external objects take iteration variables of the initial system as parameters?","user":{"login":"modelica-trac-importer","id":22202507,"node_id":"MDQ6VXNlcjIyMjAyNTA3","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":{"login":"HansOlsson","id":13217430,"node_id":"MDQ6VXNlcjEzMjE3NDMw","avatar_url":"https://avatars0.githubusercontent.com/u/13217430?v=4","gravatar_id":"","url":"https://api.github.com/users/HansOlsson","html_url":"https://github.com/HansOlsson","followers_url":"https://api.github.com/users/HansOlsson/followers","following_url":"https://api.github.com/users/HansOlsson/following{/other_user}","gists_url":"https://api.github.com/users/HansOlsson/gists{/gist_id}","starred_url":"https://api.github.com/users/HansOlsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansOlsson/subscriptions","organizations_url":"https://api.github.com/users/HansOlsson/orgs","repos_url":"https://api.github.com/users/HansOlsson/repos","events_url":"https://api.github.com/users/HansOlsson/events{/privacy}","received_events_url":"https://api.github.com/users/HansOlsson/received_events","type":"User","site_admin":false},"assignees":[{"login":"mtiller","id":144876,"node_id":"MDQ6VXNlcjE0NDg3Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/144876?v=4","gravatar_id":"","url":"https://api.github.com/users/mtiller","html_url":"https://github.com/mtiller","followers_url":"https://api.github.com/users/mtiller/followers","following_url":"https://api.github.com/users/mtiller/following{/other_user}","gists_url":"https://api.github.com/users/mtiller/gists{/gist_id}","starred_url":"https://api.github.com/users/mtiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtiller/subscriptions","organizations_url":"https://api.github.com/users/mtiller/orgs","repos_url":"https://api.github.com/users/mtiller/repos","events_url":"https://api.github.com/users/mtiller/events{/privacy}","received_events_url":"https://api.github.com/users/mtiller/received_events","type":"User","site_admin":false},{"login":"sjoelund","id":3016460,"node_id":"MDQ6VXNlcjMwMTY0NjA=","avatar_url":"https://avatars0.githubusercontent.com/u/3016460?v=4","gravatar_id":"","url":"https://api.github.com/users/sjoelund","html_url":"https://github.com/sjoelund","followers_url":"https://api.github.com/users/sjoelund/followers","following_url":"https://api.github.com/users/sjoelund/following{/other_user}","gists_url":"https://api.github.com/users/sjoelund/gists{/gist_id}","starred_url":"https://api.github.com/users/sjoelund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjoelund/subscriptions","organizations_url":"https://api.github.com/users/sjoelund/orgs","repos_url":"https://api.github.com/users/sjoelund/repos","events_url":"https://api.github.com/users/sjoelund/events{/privacy}","received_events_url":"https://api.github.com/users/sjoelund/received_events","type":"User","site_admin":false},{"login":"casella","id":4233148,"node_id":"MDQ6VXNlcjQyMzMxNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/4233148?v=4","gravatar_id":"","url":"https://api.github.com/users/casella","html_url":"https://github.com/casella","followers_url":"https://api.github.com/users/casella/followers","following_url":"https://api.github.com/users/casella/following{/other_user}","gists_url":"https://api.github.com/users/casella/gists{/gist_id}","starred_url":"https://api.github.com/users/casella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casella/subscriptions","organizations_url":"https://api.github.com/users/casella/orgs","repos_url":"https://api.github.com/users/casella/repos","events_url":"https://api.github.com/users/casella/events{/privacy}","received_events_url":"https://api.github.com/users/casella/received_events","type":"User","site_admin":false},{"login":"MartinOtter","id":7248038,"node_id":"MDQ6VXNlcjcyNDgwMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/7248038?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinOtter","html_url":"https://github.com/MartinOtter","followers_url":"https://api.github.com/users/MartinOtter/followers","following_url":"https://api.github.com/users/MartinOtter/following{/other_user}","gists_url":"https://api.github.com/users/MartinOtter/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinOtter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinOtter/subscriptions","organizations_url":"https://api.github.com/users/MartinOtter/orgs","repos_url":"https://api.github.com/users/MartinOtter/repos","events_url":"https://api.github.com/users/MartinOtter/events{/privacy}","received_events_url":"https://api.github.com/users/MartinOtter/received_events","type":"User","site_admin":false},{"login":"christoff-buerger","id":7884278,"node_id":"MDQ6VXNlcjc4ODQyNzg=","avatar_url":"https://avatars2.githubusercontent.com/u/7884278?v=4","gravatar_id":"","url":"https://api.github.com/users/christoff-buerger","html_url":"https://github.com/christoff-buerger","followers_url":"https://api.github.com/users/christoff-buerger/followers","following_url":"https://api.github.com/users/christoff-buerger/following{/other_user}","gists_url":"https://api.github.com/users/christoff-buerger/gists{/gist_id}","starred_url":"https://api.github.com/users/christoff-buerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christoff-buerger/subscriptions","organizations_url":"https://api.github.com/users/christoff-buerger/orgs","repos_url":"https://api.github.com/users/christoff-buerger/repos","events_url":"https://api.github.com/users/christoff-buerger/events{/privacy}","received_events_url":"https://api.github.com/users/christoff-buerger/received_events","type":"User","site_admin":false},{"login":"HansOlsson","id":13217430,"node_id":"MDQ6VXNlcjEzMjE3NDMw","avatar_url":"https://avatars0.githubusercontent.com/u/13217430?v=4","gravatar_id":"","url":"https://api.github.com/users/HansOlsson","html_url":"https://github.com/HansOlsson","followers_url":"https://api.github.com/users/HansOlsson/followers","following_url":"https://api.github.com/users/HansOlsson/following{/other_user}","gists_url":"https://api.github.com/users/HansOlsson/gists{/gist_id}","starred_url":"https://api.github.com/users/HansOlsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansOlsson/subscriptions","organizations_url":"https://api.github.com/users/HansOlsson/orgs","repos_url":"https://api.github.com/users/HansOlsson/repos","events_url":"https://api.github.com/users/HansOlsson/events{/privacy}","received_events_url":"https://api.github.com/users/HansOlsson/received_events","type":"User","site_admin":false},{"login":"jespermattsson","id":13779895,"node_id":"MDQ6VXNlcjEzNzc5ODk1","avatar_url":"https://avatars2.githubusercontent.com/u/13779895?v=4","gravatar_id":"","url":"https://api.github.com/users/jespermattsson","html_url":"https://github.com/jespermattsson","followers_url":"https://api.github.com/users/jespermattsson/followers","following_url":"https://api.github.com/users/jespermattsson/following{/other_user}","gists_url":"https://api.github.com/users/jespermattsson/gists{/gist_id}","starred_url":"https://api.github.com/users/jespermattsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jespermattsson/subscriptions","organizations_url":"https://api.github.com/users/jespermattsson/orgs","repos_url":"https://api.github.com/users/jespermattsson/repos","events_url":"https://api.github.com/users/jespermattsson/events{/privacy}","received_events_url":"https://api.github.com/users/jespermattsson/received_events","type":"User","site_admin":false},{"login":"henrikt-ma","id":25294143,"node_id":"MDQ6VXNlcjI1Mjk0MTQz","avatar_url":"https://avatars3.githubusercontent.com/u/25294143?v=4","gravatar_id":"","url":"https://api.github.com/users/henrikt-ma","html_url":"https://github.com/henrikt-ma","followers_url":"https://api.github.com/users/henrikt-ma/followers","following_url":"https://api.github.com/users/henrikt-ma/following{/other_user}","gists_url":"https://api.github.com/users/henrikt-ma/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikt-ma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikt-ma/subscriptions","organizations_url":"https://api.github.com/users/henrikt-ma/orgs","repos_url":"https://api.github.com/users/henrikt-ma/repos","events_url":"https://api.github.com/users/henrikt-ma/events{/privacy}","received_events_url":"https://api.github.com/users/henrikt-ma/received_events","type":"User","site_admin":false},{"login":"gkurzbach","id":25528503,"node_id":"MDQ6VXNlcjI1NTI4NTAz","avatar_url":"https://avatars1.githubusercontent.com/u/25528503?v=4","gravatar_id":"","url":"https://api.github.com/users/gkurzbach","html_url":"https://github.com/gkurzbach","followers_url":"https://api.github.com/users/gkurzbach/followers","following_url":"https://api.github.com/users/gkurzbach/following{/other_user}","gists_url":"https://api.github.com/users/gkurzbach/gists{/gist_id}","starred_url":"https://api.github.com/users/gkurzbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkurzbach/subscriptions","organizations_url":"https://api.github.com/users/gkurzbach/orgs","repos_url":"https://api.github.com/users/gkurzbach/repos","events_url":"https://api.github.com/users/gkurzbach/events{/privacy}","received_events_url":"https://api.github.com/users/gkurzbach/received_events","type":"User","site_admin":false},{"login":"svorkoetter","id":25961958,"node_id":"MDQ6VXNlcjI1OTYxOTU4","avatar_url":"https://avatars2.githubusercontent.com/u/25961958?v=4","gravatar_id":"","url":"https://api.github.com/users/svorkoetter","html_url":"https://github.com/svorkoetter","followers_url":"https://api.github.com/users/svorkoetter/followers","following_url":"https://api.github.com/users/svorkoetter/following{/other_user}","gists_url":"https://api.github.com/users/svorkoetter/gists{/gist_id}","starred_url":"https://api.github.com/users/svorkoetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svorkoetter/subscriptions","organizations_url":"https://api.github.com/users/svorkoetter/orgs","repos_url":"https://api.github.com/users/svorkoetter/repos","events_url":"https://api.github.com/users/svorkoetter/events{/privacy}","received_events_url":"https://api.github.com/users/svorkoetter/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-04T12:09:45Z","updated_at":"2018-11-04T12:09:45Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Reported by beutlich on 4 Mar 2015 13:20 UTC**\nIs it legal that constructors of external objects take iteration variables of the initial system as parameters?\n\nFirst variant with parameter to be determined in initial equation section:\n```mo\nmodel V1\n  parameter Real x(\n    fixed=false,\n    start=0.7);\n  Modelica.Blocks.Sources.CombiTimeTable combiTimeTable1(\n    table={{0,0},{1,x}},\n    columns=2:2) annotation(Placement(transformation(extent={{-115,30},{-95,50}})));\n  initial equation\n    x=cos(x);\nend V1;\n```\nSecond variant with variable to be determined in when-initial section: Block V2.CombiTimeTable is identical to Modelica.Blocks.Sources.CombiTimeTable except that table changed variability from parameter to variable.\n```mo\nmodel V2\n  block CombiTimeTable \n    \"Table look-up with respect to time and linear/periodic extrapolation methods (data from matrix/file)\"\n    extends Modelica.Blocks.Interfaces.MO(final nout=max([size(columns, 1);\n          size(offset, 1)]));\n    parameter Boolean tableOnFile=false \n      \"= true, if table is defined on file or in function usertab\"\n      annotation (Dialog(group=\"Table data definition\"));\n    Real table[:, :] = fill(0.0, 0, 2) \n      \"Table matrix (time = first column; e.g., table=[0,2])\"\n      annotation (Dialog(group=\"Table data definition\",enable=not tableOnFile));\n    parameter String tableName=\"NoName\" \n      \"Table name on file or in function usertab (see docu)\"\n      annotation (Dialog(group=\"Table data definition\",enable=tableOnFile));\n    parameter String fileName=\"NoName\" \"File where matrix is stored\"\n      annotation (Dialog(\n        group=\"Table data definition\",\n        enable=tableOnFile,\n        loadSelector(filter=\"Text files (*.txt);;MATLAB MAT-files (*.mat)\",\n            caption=\"Open file in which table is present\")));\n    parameter Boolean verboseRead=true \n      \"= true, if info message that file is loading is to be printed\"\n      annotation (Dialog(group=\"Table data definition\",enable=tableOnFile));\n    parameter Integer columns[:]=2:size(table, 2) \n      \"Columns of table to be interpolated\"\n      annotation (Dialog(group=\"Table data interpretation\"));\n    parameter Modelica.Blocks.Types.Smoothness smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments \n      \"Smoothness of table interpolation\"\n      annotation (Dialog(group=\"Table data interpretation\"));\n    parameter Modelica.Blocks.Types.Extrapolation extrapolation=Modelica.Blocks.Types.Extrapolation.LastTwoPoints \n      \"Extrapolation of data outside the definition range\"\n      annotation (Dialog(group=\"Table data interpretation\"));\n    parameter Real offset[:]={0} \"Offsets of output signals\"\n      annotation (Dialog(group=\"Table data interpretation\"));\n    parameter Modelica.SIunits.Time startTime=0 \n      \"Output = offset for time < startTime\"\n      annotation (Dialog(group=\"Table data interpretation\"));\n    final parameter Modelica.SIunits.Time t_min(fixed=false) \n      \"Minimum abscissa value defined in table\";\n    final parameter Modelica.SIunits.Time t_max(fixed=false) \n      \"Maximum abscissa value defined in table\";\n  protected \n    final parameter Real p_offset[nout]=(if size(offset, 1) == 1 then ones(nout)*offset[1] else offset) \n      \"Offsets of output signals\";\n    Modelica.Blocks.Types.ExternalCombiTimeTable tableID=\n        Modelica.Blocks.Types.ExternalCombiTimeTable(\n          if tableOnFile then tableName else \"NoName\",\n          if tableOnFile and fileName <> \"NoName\" and not Modelica.Utilities.Strings.isEmpty(fileName) then fileName else \"NoName\",\n          table,\n          startTime,\n          columns,\n          smoothness,\n          extrapolation) \"External table object\";\n    discrete Modelica.SIunits.Time nextTimeEvent(start=0, fixed=true) \n      \"Next time event instant\";\n    parameter Real tableOnFileRead(fixed=false) \n      \"= 1, if table was successfully read from file\";\n  \n    function readTableData \n      \"Read table data from ASCII text or MATLAB MAT-file\"\n      extends Modelica.Icons.Function;\n      input Modelica.Blocks.Types.ExternalCombiTimeTable tableID;\n      input Boolean forceRead = false \n        \"= true: Force reading of table data; = false: Only read, if not yet read.\";\n      output Real readSuccess \"Table read success\";\n      input Boolean verboseRead \n        \"= true: Print info message; = false: No info message\";\n      external\"C\" readSuccess=  ModelicaStandardTables_CombiTimeTable_read(tableID, forceRead, verboseRead)\n        annotation (Library={\"ModelicaStandardTables\"});\n    end readTableData;\n  \n    function getTableValue \n      \"Interpolate 1-dim. table where first column is time\"\n      extends Modelica.Icons.Function;\n      input Modelica.Blocks.Types.ExternalCombiTimeTable tableID;\n      input Integer icol;\n      input Modelica.SIunits.Time timeIn;\n      discrete input Modelica.SIunits.Time nextTimeEvent;\n      discrete input Modelica.SIunits.Time pre_nextTimeEvent;\n      input Real tableAvailable \n        \"Dummy input to ensure correct sorting of function calls\";\n      output Real y;\n      external\"C\" y=  ModelicaStandardTables_CombiTimeTable_getValue(tableID, icol, timeIn, nextTimeEvent, pre_nextTimeEvent)\n        annotation (Library={\"ModelicaStandardTables\"});\n      annotation (derivative(\n          noDerivative=nextTimeEvent,\n          noDerivative=pre_nextTimeEvent,\n          noDerivative=tableAvailable) = getDerTableValue);\n    end getTableValue;\n  \n    function getTableValueNoDer \n      \"Interpolate 1-dim. table where first column is time (but do not provide a derivative function)\"\n      extends Modelica.Icons.Function;\n      input Modelica.Blocks.Types.ExternalCombiTimeTable tableID;\n      input Integer icol;\n      input Modelica.SIunits.Time timeIn;\n      discrete input Modelica.SIunits.Time nextTimeEvent;\n      discrete input Modelica.SIunits.Time pre_nextTimeEvent;\n      input Real tableAvailable \n        \"Dummy input to ensure correct sorting of function calls\";\n      output Real y;\n      external\"C\" y=  ModelicaStandardTables_CombiTimeTable_getValue(tableID, icol, timeIn, nextTimeEvent, pre_nextTimeEvent)\n        annotation (Library={\"ModelicaStandardTables\"});\n    end getTableValueNoDer;\n  \n    function getDerTableValue \n      \"Derivative of interpolated 1-dim. table where first column is time\"\n      extends Modelica.Icons.Function;\n      input Modelica.Blocks.Types.ExternalCombiTimeTable tableID;\n      input Integer icol;\n      input Modelica.SIunits.Time timeIn;\n      discrete input Modelica.SIunits.Time nextTimeEvent;\n      discrete input Modelica.SIunits.Time pre_nextTimeEvent;\n      input Real tableAvailable \n        \"Dummy input to ensure correct sorting of function calls\";\n      input Real der_timeIn;\n      output Real der_y;\n      external\"C\" der_y=  ModelicaStandardTables_CombiTimeTable_getDerValue(tableID, icol, timeIn, nextTimeEvent, pre_nextTimeEvent, der_timeIn)\n        annotation (Library={\"ModelicaStandardTables\"});\n    end getDerTableValue;\n  \n    function getTableTimeTmin \n      \"Return minimum time value of 1-dim. table where first column is time\"\n      extends Modelica.Icons.Function;\n      input Modelica.Blocks.Types.ExternalCombiTimeTable tableID;\n      input Real tableAvailable \n        \"Dummy input to ensure correct sorting of function calls\";\n      output Modelica.SIunits.Time timeMin \"Minimum time value in table\";\n      external\"C\" timeMin=  ModelicaStandardTables_CombiTimeTable_minimumTime(tableID)\n        annotation (Library={\"ModelicaStandardTables\"});\n    end getTableTimeTmin;\n  \n    function getTableTimeTmax \n      \"Return maximum time value of 1-dim. table where first column is time\"\n      extends Modelica.Icons.Function;\n      input Modelica.Blocks.Types.ExternalCombiTimeTable tableID;\n      input Real tableAvailable \n        \"Dummy input to ensure correct sorting of function calls\";\n      output Modelica.SIunits.Time timeMax \"Maximum time value in table\";\n      external\"C\" timeMax=  ModelicaStandardTables_CombiTimeTable_maximumTime(tableID)\n        annotation (Library={\"ModelicaStandardTables\"});\n    end getTableTimeTmax;\n  \n    function getNextTimeEvent \n      \"Return next time event value of 1-dim. table where first column is time\"\n      extends Modelica.Icons.Function;\n      input Modelica.Blocks.Types.ExternalCombiTimeTable tableID;\n      input Modelica.SIunits.Time timeIn;\n      input Real tableAvailable \n        \"Dummy input to ensure correct sorting of function calls\";\n      output Modelica.SIunits.Time nextTimeEvent \"Next time event in table\";\n      external\"C\" nextTimeEvent=  ModelicaStandardTables_CombiTimeTable_nextTimeEvent(tableID, timeIn)\n        annotation (Library={\"ModelicaStandardTables\"});\n    end getNextTimeEvent;\n  \n  initial algorithm \n    if tableOnFile then\n      tableOnFileRead := readTableData(tableID, false, verboseRead);\n    else\n      tableOnFileRead := 1.;\n    end if;\n    t_min := getTableTimeTmin(tableID, tableOnFileRead);\n    t_max := getTableTimeTmax(tableID, tableOnFileRead);\n  equation \n    if tableOnFile then\n      assert(tableName <> \"NoName\",\n        \"tableOnFile = true and no table name given\");\n    else\n      assert(size(table, 1) > 0 and size(table, 2) > 0,\n        \"tableOnFile = false and parameter table is an empty matrix\");\n    end if;\n    when {time >= pre(nextTimeEvent),initial()} then\n      nextTimeEvent = getNextTimeEvent(tableID, time, tableOnFileRead);\n    end when;\n    if smoothness == Modelica.Blocks.Types.Smoothness.ConstantSegments then\n      for i in 1:nout loop\n        y[i] = p_offset[i] + getTableValueNoDer(tableID, i, time, nextTimeEvent, pre(nextTimeEvent), tableOnFileRead);\n      end for;\n    else\n      for i in 1:nout loop\n        y[i] = p_offset[i] + getTableValue(tableID, i, time, nextTimeEvent, pre(nextTimeEvent), tableOnFileRead);\n      end for;\n    end if;\n    annotation (\n      Icon(\n      coordinateSystem(preserveAspectRatio=true,\n        extent={{-100.0,-100.0},{100.0,100.0}},\n        initialScale=0.1),\n        graphics={\n      Polygon(visible=true,\n        lineColor={192,192,192},\n        fillColor={192,192,192},\n        fillPattern=FillPattern.Solid,\n        points={{-80.0,90.0},{-88.0,68.0},{-72.0,68.0},{-80.0,90.0}}),\n      Line(visible=true,\n        points={{-80.0,68.0},{-80.0,-80.0}},\n        color={192,192,192}),\n      Line(visible=true,\n        points={{-90.0,-70.0},{82.0,-70.0}},\n        color={192,192,192}),\n      Polygon(visible=true,\n        lineColor={192,192,192},\n        fillColor={192,192,192},\n        fillPattern=FillPattern.Solid,\n        points={{90.0,-70.0},{68.0,-62.0},{68.0,-78.0},{90.0,-70.0}}),\n      Rectangle(visible=true,\n        lineColor={255,255,255},\n        fillColor={255,215,136},\n        fillPattern=FillPattern.Solid,\n        extent={{-48.0,-50.0},{2.0,70.0}}),\n      Line(visible=true,\n        points={{-48.0,-50.0},{-48.0,70.0},{52.0,70.0},{52.0,-50.0},{-48.0,-50.0},{-48.0,-20.0},{52.0,-20.0},{52.0,10.0},{-48.0,10.0},{-48.0,40.0},{52.0,40.0},{52.0,70.0},{2.0,70.0},{2.0,-51.0}})}),\n      Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{\n              100,100}}), graphics={\n          Polygon(\n            points={{-80,90},{-88,68},{-72,68},{-80,90}},\n            lineColor={95,95,95},\n            fillColor={95,95,95},\n            fillPattern=FillPattern.Solid),\n          Line(points={{-80,68},{-80,-80}}, color={95,95,95}),\n          Line(points={{-90,-70},{82,-70}}, color={95,95,95}),\n          Polygon(\n            points={{90,-70},{68,-62},{68,-78},{90,-70}},\n            lineColor={95,95,95},\n            fillColor={95,95,95},\n            fillPattern=FillPattern.Solid),\n          Rectangle(\n            extent={{-20,90},{20,-30}},\n            lineColor={255,255,255},\n            fillColor={192,192,192},\n            fillPattern=FillPattern.Solid),\n          Line(points={{-20,-30},{-20,90},{80,90},{80,-30},{-20,-30},{-20,0},{\n                80,0},{80,30},{-20,30},{-20,60},{80,60},{80,90},{20,90},{20,-30}},\n              color={0,0,0}),\n          Text(\n            extent={{-71,-42},{-32,-54}},\n            lineColor={0,0,0},\n            textString=\"offset\"),\n          Polygon(\n            points={{-31,-30},{-33,-40},{-28,-40},{-31,-30}},\n            lineColor={95,95,95},\n            fillColor={95,95,95},\n            fillPattern=FillPattern.Solid),\n          Polygon(\n            points={{-31,-70},{-34,-60},{-29,-60},{-31,-70},{-31,-70}},\n            lineColor={95,95,95},\n            fillColor={95,95,95},\n            fillPattern=FillPattern.Solid),\n          Line(points={{-31,-31},{-31,-70}}, color={95,95,95}),\n          Line(points={{-20,-30},{-20,-70}}, color={95,95,95}),\n          Text(\n            extent={{-42,-74},{6,-84}},\n            lineColor={0,0,0},\n            textString=\"startTime\"),\n          Line(points={{-20,-30},{-80,-30}}, color={95,95,95}),\n          Text(\n            extent={{-73,93},{-44,74}},\n            lineColor={0,0,0},\n            textString=\"y\"),\n          Text(\n            extent={{66,-81},{92,-92}},\n            lineColor={0,0,0},\n            textString=\"time\"),\n          Text(\n            extent={{-19,83},{20,68}},\n            lineColor={0,0,0},\n            textString=\"time\"),\n          Text(\n            extent={{21,82},{50,68}},\n            lineColor={0,0,0},\n            textString=\"y[1]\"),\n          Line(points={{50,90},{50,-30}}, color={0,0,0}),\n          Line(points={{80,0},{100,0}}, color={0,0,255}),\n          Text(\n            extent={{34,-30},{71,-42}},\n            textString=\"columns\",\n            lineColor={0,0,255}),\n          Text(\n            extent={{51,82},{80,68}},\n            lineColor={0,0,0},\n            textString=\"y[2]\")}));\n  end CombiTimeTable;\n  Real x(\n    start=0.7);\n  CombiTimeTable combiTimeTable1(\n    table={{0,0},{1,x}},\n    columns=2:2) annotation(Placement(transformation(extent={{-115,30},{-95,50}})));\n  equation\n    when initial() then\n      x=cos(x);\n    end when;\nend V2;\n```\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1673"}}
{"actor":{"display_login":"modelica-trac-importer"}}