Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.627e-05, allocations: 8 kB / 269.3 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08515, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.382/0.4672, allocations: 76.99 MB / 393.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4675, allocations: 70.78 kB / 394 MB, free: 11.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009887/0.4774, allocations: 2.436 MB / 396.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.249e-06/0.4774, allocations: 7.984 kB / 396.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4775, allocations: 0 / 396.4 MB, free: 8.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005335/0.478, allocations: 374 kB / 396.8 MB, free: 8.574 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4781, allocations: 8.031 kB / 396.8 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.4783, allocations: 27.88 kB / 396.8 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.4786, allocations: 186.1 kB / 397 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.4786, allocations: 7.875 kB / 397 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.4786, allocations: 11.69 kB / 397 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.4789, allocations: 92.81 kB / 397.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4789, allocations: 0 / 397.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.4789, allocations: 3.688 kB / 397.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.4789, allocations: 6.297 kB / 397.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.4791, allocations: 50.67 kB / 397.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.4802, allocations: 487.7 kB / 397.7 MB, free: 7.711 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.4806, allocations: 88.12 kB / 397.7 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.4808, allocations: 23.89 kB / 397.8 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.4808, allocations: 3.938 kB / 397.8 MB, free: 7.613 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.4809, allocations: 46.48 kB / 397.8 MB, free: 7.562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 3.78e-06/0.4809, allocations: 0 / 397.8 MB, free: 7.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003669/0.4813, allocations: 75.73 kB / 397.9 MB, free: 7.492 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.4813, allocations: 51.41 kB / 397.9 MB, free: 7.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.4815, allocations: 107.5 kB / 398 MB, free: 7.324 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4815, allocations: 29.69 kB / 398.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.4816, allocations: 103 kB / 398.2 MB, free: 7.191 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.4817, allocations: 33.92 kB / 398.2 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.4817, allocations: 0 / 398.2 MB, free: 7.164 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4819, allocations: 325.9 kB / 398.5 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.482, allocations: 24.5 kB / 398.5 MB, free: 6.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.4821, allocations: 48.47 kB / 398.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.671e-05/0.4822, allocations: 28.73 kB / 398.6 MB, free: 6.754 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.837e-06/0.4822, allocations: 0 / 398.6 MB, free: 6.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002562/0.4824, allocations: 108.3 kB / 398.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4825, allocations: 11.98 kB / 398.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4825, allocations: 0 / 398.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4825, allocations: 7.922 kB / 398.7 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.4827, allocations: 21.25 kB / 398.8 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4827, allocations: 7.953 kB / 398.8 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/0.4828, allocations: 13.14 kB / 398.8 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.4829, allocations: 4.75 kB / 398.8 MB, free: 6.598 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.672e-05/0.483, allocations: 116 kB / 398.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.483, allocations: 4.688 kB / 398.9 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.4831, allocations: 11.69 kB / 398.9 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-06/0.4831, allocations: 4 kB / 398.9 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.884e-06/0.4831, allocations: 0 / 398.9 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.378e-06/0.4831, allocations: 4.047 kB / 398.9 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.4834, allocations: 205 kB / 399.1 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-06/0.4835, allocations: 0 / 399.1 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.4837, allocations: 28.8 kB / 399.2 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.4837, allocations: 4 kB / 399.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4837, allocations: 1.375 kB / 399.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-06/0.4837, allocations: 0 / 399.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-06/0.4837, allocations: 0 / 399.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.4841, allocations: 209.5 kB / 399.4 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.4842, allocations: 89.05 kB / 399.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.4842, allocations: 0 / 399.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4843, allocations: 3.125 kB / 399.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.4844, allocations: 8 kB / 399.5 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-06/0.4844, allocations: 0 / 399.5 MB, free: 5.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.395e-05/0.4845, allocations: 97.7 kB / 399.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4845, allocations: 0 / 399.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000366/0.4849, allocations: 23.94 kB / 399.6 MB, free: 5.781 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001574/0.4851, allocations: 102.6 kB / 399.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.4853, allocations: 53.25 kB / 399.7 MB, free: 5.637 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.134e-06/0.4853, allocations: 192 / 399.7 MB, free: 5.637 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.47e-05/0.4854, allocations: 30.67 kB / 399.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4857, allocations: 19.33 kB / 399.8 MB, free: 5.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007959/0.4865, allocations: 323.9 kB / 400.1 MB, free: 5.266 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4869, allocations: 0.7004 MB / 400.8 MB, free: 4.539 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.94e-05/0.487, allocations: 12.42 kB / 400.8 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.487, allocations: 15.44 kB / 400.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of SimCode: time 1.502e-06/0.4871, allocations: 0 / 400.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of Templates: time 0.00398/0.491, allocations: 0.8372 MB / 401.7 MB, free: 3.691 MB / 314.7 MB