Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 225.8 MB / 239.4 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.223e-05/5.241e-05, allocations: 4 kB / 292.7 MB, free: 11.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09771, allocations: 50.41 MB / 343.1 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4551, allocations: 78.31 MB / 421.4 MB, free: 8.242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.4553, allocations: 68.45 kB / 421.4 MB, free: 8.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01445/0.4698, allocations: 4.085 MB / 425.5 MB, free: 7.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.487e-06/0.4699, allocations: 0 / 425.5 MB, free: 7.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.4699, allocations: 11.97 kB / 425.5 MB, free: 7.633 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005422/0.4705, allocations: 481.4 kB / 426 MB, free: 7.227 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4705, allocations: 7.812 kB / 426 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.4706, allocations: 26.59 kB / 426 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.4708, allocations: 222.6 kB / 426.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.4709, allocations: 21.84 kB / 426.3 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.4709, allocations: 21.72 kB / 426.3 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.4713, allocations: 180.4 kB / 426.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.4713, allocations: 3.938 kB / 426.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.4714, allocations: 13.78 kB / 426.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.893e-06/0.4714, allocations: 7.797 kB / 426.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.4717, allocations: 125.4 kB / 426.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009439/0.4726, allocations: 0.6285 MB / 427.3 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.4729, allocations: 164.3 kB / 427.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.4731, allocations: 96.34 kB / 427.5 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.4732, allocations: 3.938 kB / 427.5 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.4732, allocations: 38.5 kB / 427.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.887e-06/0.4732, allocations: 0 / 427.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.00189/0.4751, allocations: 0.9805 MB / 428.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.4752, allocations: 55.12 kB / 428.6 MB, free: 5.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.4753, allocations: 161 kB / 428.7 MB, free: 5.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4754, allocations: 33.08 kB / 428.8 MB, free: 5.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.4754, allocations: 140.5 kB / 428.9 MB, free: 5.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.4755, allocations: 109.9 kB / 429 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.4756, allocations: 3.438 kB / 429 MB, free: 5.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.4756, allocations: 339.5 kB / 429.4 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.4758, allocations: 61.48 kB / 429.4 MB, free: 5.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.476, allocations: 95.61 kB / 429.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.4762, allocations: 80.44 kB / 429.6 MB, free: 5.312 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-06/0.4762, allocations: 0 / 429.6 MB, free: 5.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005667/0.4767, allocations: 281.9 kB / 429.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4768, allocations: 7.688 kB / 429.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.751e-06/0.4768, allocations: 0 / 429.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.477, allocations: 42.81 kB / 429.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.4773, allocations: 65.53 kB / 430 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.479, allocations: 1.568 MB / 431.5 MB, free: 19.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.4792, allocations: 7.125 kB / 431.6 MB, free: 19.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.4792, allocations: 11.25 kB / 431.6 MB, free: 19.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.4794, allocations: 121.5 kB / 431.7 MB, free: 19.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.4794, allocations: 23.25 kB / 431.7 MB, free: 19.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.4795, allocations: 31.31 kB / 431.7 MB, free: 19.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.396e-06/0.4795, allocations: 7.766 kB / 431.7 MB, free: 19.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.603e-06/0.4796, allocations: 0 / 431.7 MB, free: 19.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.398e-06/0.4796, allocations: 3.281 kB / 431.7 MB, free: 19.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.4809, allocations: 0.761 MB / 432.5 MB, free: 19.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.652e-06/0.4809, allocations: 0 / 432.5 MB, free: 19.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.4813, allocations: 63.47 kB / 432.6 MB, free: 19.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.4814, allocations: 30.86 kB / 432.6 MB, free: 19.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4815, allocations: 8.562 kB / 432.6 MB, free: 19.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.4829, allocations: 1.391 MB / 434 MB, free: 18.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.483, allocations: 0 / 434 MB, free: 18.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.4837, allocations: 0.4976 MB / 434.5 MB, free: 17.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.4838, allocations: 96.52 kB / 434.6 MB, free: 17.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.4839, allocations: 10.78 kB / 434.6 MB, free: 17.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.4841, allocations: 10.62 kB / 434.6 MB, free: 17.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.4842, allocations: 30.53 kB / 434.6 MB, free: 17.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.4842, allocations: 11.2 kB / 434.7 MB, free: 17.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.4843, allocations: 135 kB / 434.8 MB, free: 17.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.4844, allocations: 0 / 434.8 MB, free: 17.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005052/0.4849, allocations: 65.62 kB / 434.8 MB, free: 17.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.4851, allocations: 109 kB / 435 MB, free: 17.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006139/0.4857, allocations: 316.6 kB / 435.3 MB, free: 17.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.87e-06/0.4857, allocations: 2.938 kB / 435.3 MB, free: 17.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.4861, allocations: 226.3 kB / 435.5 MB, free: 17.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.4865, allocations: 30.92 kB / 435.5 MB, free: 17.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4876, allocations: 0.5853 MB / 436.1 MB, free: 16.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.4881, allocations: 0.7572 MB / 436.9 MB, free: 16.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.4882, allocations: 28.98 kB / 436.9 MB, free: 16.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.4883, allocations: 18.66 kB / 436.9 MB, free: 16.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.637e-06/0.4883, allocations: 3.688 kB / 436.9 MB, free: 16.04 MB / 346.7 MB Notification: Performance of Templates: time 0.007446/0.4958, allocations: 2.397 MB / 439.3 MB, free: 14.88 MB / 346.7 MB