Running command: translateModel(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.SinCosEncoder") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.757e-05, allocations: 0 / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.08835, allocations: 50.42 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.4391, allocations: 78.67 MB / 421.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4394, allocations: 64.59 kB / 421.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01906/0.4585, allocations: 4.375 MB / 425.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.467e-06/0.4585, allocations: 0 / 425.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.4586, allocations: 15.42 kB / 425.7 MB, free: 11.69 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.0008469/0.4594, allocations: 0.4987 MB / 426.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4595, allocations: 8.031 kB / 426.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.317e-05/0.4596, allocations: 27.62 kB / 426.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.46, allocations: 256.9 kB / 426.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.46, allocations: 15.88 kB / 426.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.4601, allocations: 18.56 kB / 426.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.4606, allocations: 243.3 kB / 426.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4606, allocations: 0 / 426.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.4607, allocations: 7.125 kB / 426.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.4607, allocations: 12.06 kB / 426.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.4611, allocations: 163.4 kB / 426.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.4628, allocations: 0.8288 MB / 427.7 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.4632, allocations: 166 kB / 427.9 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.4634, allocations: 86.59 kB / 428 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.4635, allocations: 85.28 kB / 428.1 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4636, allocations: 34.75 kB / 428.1 MB, free: 9.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.259e-06/0.4636, allocations: 3.938 kB / 428.1 MB, free: 9.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005569/0.4641, allocations: 195.5 kB / 428.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.4642, allocations: 58.53 kB / 428.3 MB, free: 9.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.4645, allocations: 195.8 kB / 428.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.4645, allocations: 25.7 kB / 428.6 MB, free: 8.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.4647, allocations: 208.1 kB / 428.8 MB, free: 8.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/0.4648, allocations: 86.89 kB / 428.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.4648, allocations: 7.562 kB / 428.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.465, allocations: 317.9 kB / 429.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.4651, allocations: 63.08 kB / 429.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.4654, allocations: 96.23 kB / 429.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.4656, allocations: 86.14 kB / 429.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-06/0.4656, allocations: 4 kB / 429.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005048/0.4661, allocations: 221 kB / 429.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4661, allocations: 4 kB / 429.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.623e-06/0.4662, allocations: 4 kB / 429.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4662, allocations: 3.953 kB / 429.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.4666, allocations: 55.95 kB / 429.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.4666, allocations: 7.938 kB / 429.7 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.4668, allocations: 31.7 kB / 429.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.4669, allocations: 7.875 kB / 429.7 MB, free: 7.918 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.0001117/0.467, allocations: 112.7 kB / 429.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.4671, allocations: 27.7 kB / 429.9 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/0.4677, allocations: 247.7 kB / 430.1 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.909e-06/0.4677, allocations: 3.953 kB / 430.1 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.012e-06/0.4677, allocations: 4 kB / 430.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.345e-06/0.4678, allocations: 4.062 kB / 430.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.4689, allocations: 0.6245 MB / 430.8 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-06/0.4689, allocations: 0 / 430.8 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.4694, allocations: 55.53 kB / 430.8 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.153e-06/0.4694, allocations: 3.953 kB / 430.8 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.4694, allocations: 7.812 kB / 430.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.578e-06/0.4694, allocations: 0 / 430.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.831e-06/0.4694, allocations: 7.984 kB / 430.8 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/0.4702, allocations: 426.1 kB / 431.2 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.4704, allocations: 119.9 kB / 431.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.4704, allocations: 7.578 kB / 431.4 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.4707, allocations: 18.98 kB / 431.4 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.4707, allocations: 15.97 kB / 431.4 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.4708, allocations: 7.188 kB / 431.4 MB, free: 6.422 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.471, allocations: 154.5 kB / 431.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.471, allocations: 0 / 431.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004476/0.4715, allocations: 62.7 kB / 431.6 MB, free: 6.242 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.0002067/0.4717, allocations: 118.7 kB / 431.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.4721, allocations: 174.7 kB / 431.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.707e-06/0.4721, allocations: 0 / 431.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.4724, allocations: 92.61 kB / 432 MB, free: 5.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.4727, allocations: 30.47 kB / 432 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.474, allocations: 0.6091 MB / 432.6 MB, free: 5.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.4745, allocations: 0.7636 MB / 433.4 MB, free: 4.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.4746, allocations: 31.23 kB / 433.4 MB, free: 4.504 MB / 346.7 MB Notification: Performance of SimCode: time 1.652e-06/0.4747, allocations: 0 / 433.4 MB, free: 4.504 MB / 346.7 MB Notification: Performance of Templates: time 0.006056/0.4807, allocations: 2.706 MB / 436.1 MB, free: 1.82 MB / 346.7 MB