{"action":"created","issue":{"url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/1035","repository_url":"https://api.github.com/repos/modelica/ModelicaSpecification","labels_url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/1035/labels{/name}","comments_url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/1035/comments","events_url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/1035/events","html_url":"https://github.com/modelica/ModelicaSpecification/issues/1035","id":377112760,"node_id":"MDU6SXNzdWUzNzcxMTI3NjA=","number":1035,"title":"noDerivative annotation not used according to spec","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":[{"id":971423507,"node_id":"MDU6TGFiZWw5NzE0MjM1MDc=","url":"https://api.github.com/repos/modelica/ModelicaSpecification/labels/bug","name":"bug","color":"d73a4a","default":true}],"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":{"url":"https://api.github.com/repos/modelica/ModelicaSpecification/milestones/45","html_url":"https://github.com/modelica/ModelicaSpecification/milestone/45","labels_url":"https://api.github.com/repos/modelica/ModelicaSpecification/milestones/45/labels","id":3792691,"node_id":"MDk6TWlsZXN0b25lMzc5MjY5MQ==","number":45,"title":"ModelicaSpec3.2rev2","description":"","creator":{"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},"open_issues":1,"closed_issues":25,"state":"closed","created_at":"2018-11-03T10:09:41Z","updated_at":"2018-11-04T02:08:46Z","due_on":"2012-09-07T07:00:00Z","closed_at":"2018-11-03T10:09:41Z"},"comments":10,"created_at":"2018-11-04T02:08:46Z","updated_at":"2018-11-04T02:10:40Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Reported by jmattsson on 18 Mar 2013 15:25 UTC**\nCh 12.7.1 of the current working revision of the 3.2r2 spec (as well as 3.3) says the following about `noDerivative`:\n\n\n----\n\n * `noDerivative(input_var2 = f(input_var1, ...) )`\nThe derivative function is only valid if the input argument input_var2 is computed as f(input_var1, ...). The derivative of input_var2 is excluded from the argument list of the derivative-function.\n[Assume that function fg is defined as a composition f(x, g(x)). When differentiating f it is useful to give the derivative under the assumption that the second argument is defined in this way:\n```\nfunction fg\n  input Real x;\n  output Real z;\nalgorithm \n   z := f(x, g(x));\nend fg;\n\nfunction f\n  input Real x;\n  input Real y;\n  output Real z;\n  annotation(derivative(noDerivative(y = g(x))) = f_der);\nalgorithm\n  ... \nend f;\n\nfunction f_der\n  input Real x;\n  input Real x_der;\n  input Real y;\n  output Real z_der;\nalgorithm\n  ... \nend f_der;\n```\nThis is useful if g represents the major computational effort of fg.]\n\n----\n\n\nQuite apart from this definition being messy and hard to read, all uses of this annotation in the MSL are instead on the form noDerivative=y.\n\nUses in MSL:\n * Modelica\n  * Blocks\n   * Sources.mo (2 matches)\n    * 1 738: annotation (derivative(noDerivative=q_qd_qdd) = position_der,  \n    * 1 751: annotation (derivative(noDerivative=q_qd_qdd, order=2) = position_der2,  \n  * Mechanics\n   * MultiBody\n    * Frames.mo (4 matches)\n     * 131: annotation (derivative(noDerivative=R) = Internal.resolve1_der,  \n     * 142: annotation (derivative(noDerivative=R) = Internal.resolve2_der,  \n     * 156: annotation (derivative(noDerivative=R1, noDerivative=R2) = Internal.resolveRelative_der,  \n   * Rotational.mo (2 matches)\n    * 5 109: annotation (derivative(noDerivative=q_qd_qdd) = position_der,  \n    * 5 123: noDerivative=q_qd_qdd,  \n   * Translational.mo (2 matches)\n    * 3 757: annotation (derivative(noDerivative=q_qd_qdd) = position_der,  \n    * 3 770: annotation (derivative(noDerivative=q_qd_qdd, order=2) = position_der2,  \n  * Media\n   * Water\n    * IF97_Utilities.mo (10 matches)\n     * 967: derivative(noDerivative=bpro) = hvl_p_der,  \n     * 1 022: derivative(noDerivative=bpro) = rhovl_p_der,  \n     * 6 468: derivative(noDerivative=properties) = rho_ph_der,  \n     * 6 518: annotation (derivative(noDerivative=properties) = T_ph_der,  \n     * 6 566: annotation (derivative(noDerivative=properties) = s_ph_der,  \n     * 6 927: derivative(noDerivative=aux) = rho_pT_der,  \n     * 6 954: derivative(noDerivative=aux) = h_pT_der,  \n     * 7 335: derivative(noDerivative=aux) = h_dT_der,  \n     * 7 383: derivative(noDerivative=aux) = p_dT_der,  \n     * 7 806: annotation (derivative(noDerivative=aux) = isentropicEnthalpy_der,  \n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1035"},"comment":{"url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/comments/435636106","html_url":"https://github.com/modelica/ModelicaSpecification/issues/1035#issuecomment-435636106","issue_url":"https://api.github.com/repos/modelica/ModelicaSpecification/issues/1035","id":435636106,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTYzNjEwNg==","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},"created_at":"2018-11-04T02:10:40Z","updated_at":"2018-11-04T02:10:40Z","author_association":"COLLABORATOR","body":"**Comment by jmattsson on 4 Jun 2013 08:55 UTC**\nNeeds decision for spec to match MSL."}}
{"actor":{"display_login":"modelica-trac-importer"}}