Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.649e-05, allocations: 4 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.08993, allocations: 50.41 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4462, allocations: 78.9 MB / 422 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4464, allocations: 73.03 kB / 422.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01747/0.4639, allocations: 4.375 MB / 426.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.143e-06/0.464, allocations: 0 / 426.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.464, allocations: 8 kB / 426.4 MB, free: 11.56 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008265/0.4648, allocations: 492.2 kB / 426.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4649, allocations: 19.97 kB / 426.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.465, allocations: 27.62 kB / 427 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.4653, allocations: 231.2 kB / 427.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.4654, allocations: 14.88 kB / 427.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.4654, allocations: 29.69 kB / 427.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.4659, allocations: 200.8 kB / 427.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.466, allocations: 7.953 kB / 427.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.466, allocations: 7.75 kB / 427.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.466, allocations: 8 kB / 427.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.4664, allocations: 142.3 kB / 427.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.4679, allocations: 0.7598 MB / 428.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.4685, allocations: 196.7 kB / 428.5 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.4687, allocations: 96.36 kB / 428.6 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4687, allocations: 3.938 kB / 428.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.4688, allocations: 38.56 kB / 428.7 MB, free: 9.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 4.921e-06/0.4688, allocations: 3.984 kB / 428.7 MB, free: 9.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001616/0.4704, allocations: 0.8305 MB / 429.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4705, allocations: 51.41 kB / 429.6 MB, free: 8.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.4707, allocations: 142.9 kB / 429.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.4707, allocations: 37.06 kB / 429.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4708, allocations: 146.3 kB / 429.9 MB, free: 8.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.804e-05/0.4709, allocations: 97.73 kB / 430 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.471, allocations: 7.75 kB / 430 MB, free: 8.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4711, allocations: 333.4 kB / 430.3 MB, free: 8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.4713, allocations: 57.12 kB / 430.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.4715, allocations: 92.88 kB / 430.5 MB, free: 7.891 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.4717, allocations: 88.41 kB / 430.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-06/0.4718, allocations: 0 / 430.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005/0.4723, allocations: 225.9 kB / 430.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4723, allocations: 9.406 kB / 430.8 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.336e-06/0.4723, allocations: 0 / 430.8 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4723, allocations: 4 kB / 430.8 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.4728, allocations: 83.61 kB / 430.9 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.4728, allocations: 7.953 kB / 430.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.473, allocations: 15.55 kB / 430.9 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.473, allocations: 15.61 kB / 430.9 MB, free: 7.531 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 (35): * Single equations (assignments): 35 * 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.0001156/0.4732, allocations: 116.2 kB / 431 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.4732, allocations: 15.81 kB / 431 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.338e-05/0.4733, allocations: 31.23 kB / 431.1 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.818e-06/0.4734, allocations: 4 kB / 431.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.235e-06/0.4734, allocations: 4 kB / 431.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.412e-06/0.4734, allocations: 7.891 kB / 431.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.4746, allocations: 0.6236 MB / 431.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.946e-06/0.4746, allocations: 0 / 431.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.4751, allocations: 83.52 kB / 431.8 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.845e-06/0.4752, allocations: 0 / 431.8 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.4752, allocations: 11.02 kB / 431.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.726e-06/0.4752, allocations: 0 / 431.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.4752, allocations: 4 kB / 431.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.4759, allocations: 432.7 kB / 432.2 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.476, allocations: 88.92 kB / 432.3 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.4761, allocations: 7.25 kB / 432.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.4763, allocations: 15.42 kB / 432.3 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.4764, allocations: 19.41 kB / 432.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.4764, allocations: 11.38 kB / 432.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.4766, allocations: 116.8 kB / 432.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4766, allocations: 4 kB / 432.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004354/0.477, allocations: 59.25 kB / 432.5 MB, free: 6.039 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000169/0.4772, allocations: 106.4 kB / 432.6 MB, free: 5.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004083/0.4776, allocations: 173.3 kB / 432.8 MB, free: 5.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.677e-06/0.4777, allocations: 0 / 432.8 MB, free: 5.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.4779, allocations: 85.38 kB / 432.9 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.4783, allocations: 44.36 kB / 432.9 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.4798, allocations: 0.687 MB / 433.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.4803, allocations: 0.76 MB / 434.4 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.4804, allocations: 18.06 kB / 434.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.18e-05/0.4805, allocations: 19.44 kB / 434.4 MB, free: 4.215 MB / 346.7 MB Notification: Performance of SimCode: time 1.587e-06/0.4805, allocations: 4 kB / 434.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of Templates: time 0.007187/0.4877, allocations: 1.927 MB / 436.3 MB, free: 2.305 MB / 346.7 MB