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_4.0.0_Modelica.Blocks.Examples.SinCosEncoder") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 225.8 MB / 238.9 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.368e-05, allocations: 4.719 kB / 292.1 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09239, allocations: 50.41 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5172, allocations: 78.61 MB / 421.2 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.5174, allocations: 66.41 kB / 421.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01894/0.5364, allocations: 4.378 MB / 425.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.101e-06/0.5364, allocations: 4 kB / 425.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.5365, allocations: 7.938 kB / 425.6 MB, free: 11.89 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.0008792/0.5374, allocations: 0.4998 MB / 426.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5374, allocations: 8.031 kB / 426.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.5375, allocations: 31.62 kB / 426.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.5379, allocations: 252 kB / 426.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.538, allocations: 15.06 kB / 426.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.5381, allocations: 25.36 kB / 426.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.5386, allocations: 234.3 kB / 426.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5386, allocations: 0 / 426.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.5386, allocations: 11.06 kB / 426.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.5387, allocations: 8.438 kB / 426.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.5391, allocations: 162.8 kB / 426.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.5408, allocations: 0.829 MB / 427.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.5412, allocations: 167.1 kB / 427.8 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.5414, allocations: 85.97 kB / 427.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.5415, allocations: 89.27 kB / 428 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5416, allocations: 37.81 kB / 428 MB, free: 9.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.86e-06/0.5416, allocations: 0 / 428 MB, free: 9.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005114/0.5421, allocations: 198.6 kB / 428.2 MB, free: 9.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.5422, allocations: 59.03 kB / 428.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.5424, allocations: 197.8 kB / 428.5 MB, free: 9.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.5425, allocations: 32.89 kB / 428.5 MB, free: 9.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5426, allocations: 142.5 kB / 428.7 MB, free: 9.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.5427, allocations: 82.03 kB / 428.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.5427, allocations: 3.625 kB / 428.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5429, allocations: 331.8 kB / 429.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.5431, allocations: 65.27 kB / 429.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.5433, allocations: 97.77 kB / 429.2 MB, free: 8.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.5435, allocations: 86.19 kB / 429.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-06/0.5436, allocations: 0 / 429.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005249/0.5441, allocations: 236.3 kB / 429.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.5441, allocations: 8 kB / 429.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.427e-06/0.5441, allocations: 0 / 429.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5442, allocations: 3.953 kB / 429.6 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.5446, allocations: 60.02 kB / 429.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5446, allocations: 7.938 kB / 429.6 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.5448, allocations: 29.58 kB / 429.7 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.5449, allocations: 11.98 kB / 429.7 MB, free: 8.152 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.0001121/0.545, allocations: 107.2 kB / 429.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.5451, allocations: 23.72 kB / 429.8 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000577/0.5457, allocations: 252.6 kB / 430 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.5457, allocations: 7.953 kB / 430 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.676e-06/0.5457, allocations: 0 / 430 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.679e-06/0.5457, allocations: 3.984 kB / 430 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.5469, allocations: 0.6239 MB / 430.7 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-06/0.5469, allocations: 0 / 430.7 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.5474, allocations: 55.91 kB / 430.7 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.5474, allocations: 7.953 kB / 430.7 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.5474, allocations: 7.672 kB / 430.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.399e-06/0.5474, allocations: 0 / 430.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.247e-06/0.5474, allocations: 0 / 430.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.5482, allocations: 424.1 kB / 431.2 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.5484, allocations: 115.8 kB / 431.3 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.5484, allocations: 11.83 kB / 431.3 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.5487, allocations: 19.55 kB / 431.3 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.5488, allocations: 19.41 kB / 431.3 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.5488, allocations: 8 kB / 431.3 MB, free: 6.664 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.549, allocations: 155 kB / 431.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.549, allocations: 0 / 431.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004369/0.5495, allocations: 55.03 kB / 431.5 MB, free: 6.492 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.000207/0.5497, allocations: 130.9 kB / 431.7 MB, free: 6.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.5501, allocations: 173.7 kB / 431.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.359e-06/0.5501, allocations: 0 / 431.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.5504, allocations: 101.6 kB / 431.9 MB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.5507, allocations: 15.59 kB / 431.9 MB, free: 6.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.5519, allocations: 0.5879 MB / 432.5 MB, free: 5.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.5524, allocations: 0.7636 MB / 433.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.5527, allocations: 46.03 kB / 433.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.586e-05/0.5528, allocations: 23.44 kB / 433.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of SimCode: time 1.508e-06/0.5528, allocations: 0 / 433.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of Templates: time 0.006903/0.5597, allocations: 1.712 MB / 435.1 MB, free: 3.039 MB / 346.7 MB