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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.516e-05, allocations: 5.562 kB / 292.7 MB, free: 8.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09772, allocations: 50.42 MB / 343.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.454, allocations: 78.02 MB / 421.1 MB, free: 184 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4543, allocations: 69.58 kB / 421.2 MB, free: 148 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009756/0.4641, allocations: 2.449 MB / 423.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.661e-06/0.4641, allocations: 0 / 423.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4641, allocations: 0 / 423.6 MB, free: 14.06 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005207/0.4647, allocations: 389 kB / 424 MB, free: 13.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4647, allocations: 8.031 kB / 424 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.465, allocations: 27.84 kB / 424 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.4652, allocations: 201.4 kB / 424.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.4653, allocations: 4.188 kB / 424.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4653, allocations: 7.812 kB / 424.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.4655, allocations: 89.45 kB / 424.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4656, allocations: 4 kB / 424.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.4656, allocations: 3.562 kB / 424.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.157e-06/0.4656, allocations: 4 kB / 424.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.4658, allocations: 56.75 kB / 424.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009502/0.4667, allocations: 488.5 kB / 424.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.4671, allocations: 80.78 kB / 424.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.4671, allocations: 26.73 kB / 425 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.4672, allocations: 0 / 425 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4672, allocations: 38.59 kB / 425 MB, free: 12.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 4.487e-06/0.4672, allocations: 3.984 kB / 425 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002375/0.4675, allocations: 79.09 kB / 425.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.4675, allocations: 55.34 kB / 425.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.4677, allocations: 106.9 kB / 425.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.4677, allocations: 25.7 kB / 425.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.4678, allocations: 106.7 kB / 425.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.4678, allocations: 33.86 kB / 425.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-06/0.4679, allocations: 3.938 kB / 425.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.468, allocations: 326.2 kB / 425.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.4681, allocations: 22.75 kB / 425.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.4682, allocations: 45.56 kB / 425.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.188e-05/0.4683, allocations: 30.48 kB / 425.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.659e-06/0.4683, allocations: 0 / 425.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002426/0.4686, allocations: 107.9 kB / 425.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4686, allocations: 12.03 kB / 426 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.687e-06/0.4686, allocations: 0 / 426 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4686, allocations: 0 / 426 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.4688, allocations: 23.98 kB / 426 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4688, allocations: 4 kB / 426 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/0.4689, allocations: 10.81 kB / 426 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.469, allocations: 7.938 kB / 426 MB, free: 11.66 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: 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.547e-05/0.4691, allocations: 111.8 kB / 426.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.4691, allocations: 11.91 kB / 426.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.4692, allocations: 10.94 kB / 426.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.027e-06/0.4692, allocations: 4 kB / 426.1 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.94e-06/0.4692, allocations: 4 kB / 426.1 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-06/0.4692, allocations: 0 / 426.1 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.4695, allocations: 205.6 kB / 426.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-06/0.4696, allocations: 0 / 426.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.4697, allocations: 27.17 kB / 426.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.962e-06/0.4698, allocations: 0 / 426.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.4698, allocations: 0 / 426.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.643e-06/0.4698, allocations: 80 / 426.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.585e-06/0.4698, allocations: 7.984 kB / 426.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.4701, allocations: 199.4 kB / 426.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.4702, allocations: 85.06 kB / 426.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.4703, allocations: 4.031 kB / 426.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4704, allocations: 3.125 kB / 426.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.4704, allocations: 4 kB / 426.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-06/0.4704, allocations: 0 / 426.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.339e-05/0.4705, allocations: 106.4 kB / 426.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.4706, allocations: 0 / 426.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.4709, allocations: 31.47 kB / 426.8 MB, free: 10.84 MB / 346.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.0001433/0.4711, allocations: 99.25 kB / 426.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.4713, allocations: 58.8 kB / 426.9 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.961e-06/0.4713, allocations: 4 kB / 427 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.948e-05/0.4714, allocations: 27.44 kB / 427 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.4717, allocations: 20.66 kB / 427 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/0.4724, allocations: 309.5 kB / 427.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.4728, allocations: 0.7043 MB / 428 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.043e-05/0.4729, allocations: 8.438 kB / 428 MB, free: 9.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.473, allocations: 11.44 kB / 428 MB, free: 9.582 MB / 346.7 MB Notification: Performance of SimCode: time 1.328e-06/0.473, allocations: 0 / 428 MB, free: 9.582 MB / 346.7 MB Notification: Performance of Templates: time 0.003921/0.4769, allocations: 0.8469 MB / 428.9 MB, free: 8.754 MB / 346.7 MB