Running command: translateModel(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder") Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.993e-05, allocations: 4 kB / 292.7 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.09932, allocations: 50.42 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3705/0.4698, allocations: 78.62 MB / 421.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.4701, allocations: 66.72 kB / 421.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01906/0.4892, allocations: 4.38 MB / 426.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.969e-06/0.4892, allocations: 0 / 426.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.4892, allocations: 11.94 kB / 426.1 MB, free: 11.84 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008524/0.4901, allocations: 0.4935 MB / 426.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4902, allocations: 12.03 kB / 426.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.885e-05/0.4903, allocations: 27.62 kB / 426.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.4907, allocations: 257 kB / 426.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.4907, allocations: 15.19 kB / 426.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.4908, allocations: 18.56 kB / 427 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.4913, allocations: 242.2 kB / 427.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.4913, allocations: 3.984 kB / 427.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.4914, allocations: 7.875 kB / 427.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.4914, allocations: 12.44 kB / 427.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.4918, allocations: 155.6 kB / 427.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.4935, allocations: 0.8315 MB / 428.2 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.4939, allocations: 164 kB / 428.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.4941, allocations: 96.7 kB / 428.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.4942, allocations: 81.3 kB / 428.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.4943, allocations: 38.06 kB / 428.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.042e-06/0.4943, allocations: 0 / 428.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005133/0.4948, allocations: 200.9 kB / 428.8 MB, free: 9.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.4949, allocations: 51.41 kB / 428.8 MB, free: 9.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.4951, allocations: 193.7 kB / 429 MB, free: 9.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.4952, allocations: 28.7 kB / 429 MB, free: 9.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.4953, allocations: 149.8 kB / 429.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.4954, allocations: 83.2 kB / 429.3 MB, free: 8.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.4954, allocations: 7 kB / 429.3 MB, free: 8.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.4957, allocations: 333.4 kB / 429.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.4958, allocations: 65.14 kB / 429.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.496, allocations: 101.5 kB / 429.8 MB, free: 8.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.4963, allocations: 74.72 kB / 429.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.33e-06/0.4963, allocations: 4 kB / 429.8 MB, free: 8.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005349/0.4968, allocations: 235.1 kB / 430.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4969, allocations: 7.984 kB / 430.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.4969, allocations: 64 / 430.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.4969, allocations: 11.95 kB / 430.1 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.4973, allocations: 59.34 kB / 430.1 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4974, allocations: 4.062 kB / 430.2 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4976, allocations: 35.25 kB / 430.2 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.4976, allocations: 4 kB / 430.2 MB, free: 8.098 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.4977, allocations: 115.7 kB / 430.3 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.4978, allocations: 19.72 kB / 430.3 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.4984, allocations: 253.1 kB / 430.6 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.143e-06/0.4985, allocations: 7.953 kB / 430.6 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.262e-06/0.4985, allocations: 0 / 430.6 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.121e-06/0.4985, allocations: 4 kB / 430.6 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.4997, allocations: 0.6252 MB / 431.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.337e-06/0.4997, allocations: 0 / 431.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.5001, allocations: 51.95 kB / 431.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.565e-06/0.5002, allocations: 3.953 kB / 431.3 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.5002, allocations: 11.19 kB / 431.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.055e-06/0.5002, allocations: 0 / 431.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5002, allocations: 0 / 431.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.501, allocations: 425.6 kB / 431.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.5012, allocations: 119 kB / 431.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.5012, allocations: 7.328 kB / 431.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.5015, allocations: 18.86 kB / 431.8 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.5015, allocations: 23.3 kB / 431.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.5016, allocations: 4 kB / 431.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.5018, allocations: 155.7 kB / 432 MB, free: 6.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.5018, allocations: 0 / 432 MB, free: 6.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004562/0.5023, allocations: 61.22 kB / 432.1 MB, free: 6.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi,integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002114/0.5025, allocations: 125.7 kB / 432.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.5029, allocations: 170.6 kB / 432.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.136e-06/0.503, allocations: 4.125 kB / 432.4 MB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.5032, allocations: 97.78 kB / 432.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.5035, allocations: 18.67 kB / 432.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.5053, allocations: 0.5783 MB / 433.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.506, allocations: 0.7675 MB / 433.8 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003462/0.5064, allocations: 50.03 kB / 433.9 MB, free: 4.703 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.5065, allocations: 27.42 kB / 433.9 MB, free: 4.676 MB / 346.7 MB Notification: Performance of SimCode: time 2.431e-06/0.5066, allocations: 0 / 433.9 MB, free: 4.676 MB / 346.7 MB Notification: Performance of Templates: time 0.01069/0.5173, allocations: 1.703 MB / 435.6 MB, free: 2.984 MB / 346.7 MB