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_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.538e-05, allocations: 0 / 269.3 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08373/0.08378, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.4494, allocations: 77.84 MB / 394.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.4497, allocations: 69.97 kB / 394.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.4665, allocations: 4.276 MB / 399.1 MB, free: 6.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.417e-06/0.4666, allocations: 0 / 399.1 MB, free: 6.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.4666, allocations: 8 kB / 399.1 MB, free: 6.582 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007972/0.4674, allocations: 493.9 kB / 399.6 MB, free: 6.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4675, allocations: 8.031 kB / 399.6 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.4675, allocations: 31.62 kB / 399.6 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.4679, allocations: 230.7 kB / 399.9 MB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.4679, allocations: 17.94 kB / 399.9 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.468, allocations: 26.31 kB / 399.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.4685, allocations: 205.1 kB / 400.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.4685, allocations: 11.38 kB / 400.1 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.4686, allocations: 7.875 kB / 400.1 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4686, allocations: 8 kB / 400.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.4689, allocations: 140.5 kB / 400.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.4704, allocations: 0.7553 MB / 401 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.471, allocations: 193.6 kB / 401.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.4712, allocations: 102.5 kB / 401.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.4712, allocations: 7.953 kB / 401.3 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.4713, allocations: 41.56 kB / 401.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.743e-06/0.4713, allocations: 0 / 401.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001609/0.4729, allocations: 0.8271 MB / 402.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.473, allocations: 51.41 kB / 402.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.4732, allocations: 141.5 kB / 402.4 MB, free: 3.594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4732, allocations: 33.08 kB / 402.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4733, allocations: 144 kB / 402.5 MB, free: 3.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/0.4734, allocations: 95.75 kB / 402.6 MB, free: 3.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.4735, allocations: 14.89 kB / 402.7 MB, free: 3.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4737, allocations: 327.1 kB / 403 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.4739, allocations: 59.19 kB / 403 MB, free: 2.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.4741, allocations: 106.5 kB / 403.1 MB, free: 2.895 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.4743, allocations: 70.47 kB / 403.2 MB, free: 2.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.885e-06/0.4743, allocations: 0 / 403.2 MB, free: 2.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005111/0.4748, allocations: 236.5 kB / 403.4 MB, free: 2.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4749, allocations: 11.94 kB / 403.4 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4749, allocations: 0 / 403.4 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4749, allocations: 8.094 kB / 403.5 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.4753, allocations: 82.77 kB / 403.5 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.051e-06/0.4754, allocations: 0 / 403.5 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.4756, allocations: 15.55 kB / 403.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.4756, allocations: 15.44 kB / 403.6 MB, free: 2.543 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 (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.000116/0.4758, allocations: 114.1 kB / 403.7 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.4758, allocations: 23.77 kB / 403.7 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-05/0.4759, allocations: 29.81 kB / 403.7 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.69e-06/0.4759, allocations: 4 kB / 403.7 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.945e-06/0.476, allocations: 3.984 kB / 403.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-06/0.476, allocations: 3.984 kB / 403.7 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.4772, allocations: 0.6253 MB / 404.4 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4772, allocations: 0 / 404.4 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.4777, allocations: 79.39 kB / 404.4 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-06/0.4777, allocations: 0 / 404.4 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.4778, allocations: 7.375 kB / 404.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4778, allocations: 0 / 404.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.922e-06/0.4778, allocations: 4 kB / 404.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.479, allocations: 440.9 kB / 404.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.4791, allocations: 88.92 kB / 405 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/0.4792, allocations: 7.375 kB / 405 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.4796, allocations: 15.3 kB / 405 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.4798, allocations: 23.28 kB / 405 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.4798, allocations: 11.27 kB / 405 MB, free: 1.203 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.48, allocations: 113.3 kB / 405.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.051e-06/0.48, allocations: 0 / 405.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008004/0.4808, allocations: 61.88 kB / 405.2 MB, free: 1.051 MB / 314.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.0002162/0.4811, allocations: 106.3 kB / 405.3 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000667/0.4818, allocations: 159.7 kB / 405.5 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.93e-06/0.4818, allocations: 12.12 kB / 405.5 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.4822, allocations: 95.11 kB / 405.6 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.4828, allocations: 33.88 kB / 405.6 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.4854, allocations: 0.6939 MB / 406.3 MB, free: 40 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.4861, allocations: 0.76 MB / 407.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.4864, allocations: 26.05 kB / 407.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.4865, allocations: 19.44 kB / 407.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of SimCode: time 2.855e-06/0.4866, allocations: 4 kB / 407.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of Templates: time 0.01412/0.5007, allocations: 1.915 MB / 409 MB, free: 13.3 MB / 330.7 MB