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_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/3.946e-05, allocations: 4 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09097, allocations: 50.42 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3545/0.4455, allocations: 78.89 MB / 421.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4457, allocations: 75.02 kB / 421.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.4631, allocations: 4.379 MB / 425.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.082e-06/0.4631, allocations: 3.938 kB / 425.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.4631, allocations: 8 kB / 425.9 MB, free: 11.54 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.0008123/0.464, allocations: 488.9 kB / 426.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.464, allocations: 16.03 kB / 426.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.4641, allocations: 27.62 kB / 426.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.4644, allocations: 224.1 kB / 426.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.4645, allocations: 17.38 kB / 426.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.641e-05/0.4646, allocations: 32.55 kB / 426.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.465, allocations: 194.6 kB / 426.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.4651, allocations: 11.27 kB / 426.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.4651, allocations: 6.312 kB / 426.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4651, allocations: 8 kB / 426.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.4655, allocations: 141.4 kB / 427.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.467, allocations: 0.7691 MB / 427.8 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.4675, allocations: 194 kB / 428 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.4678, allocations: 98.55 kB / 428.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.4678, allocations: 3.984 kB / 428.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.4679, allocations: 42.5 kB / 428.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.335e-06/0.4679, allocations: 0 / 428.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001627/0.4695, allocations: 0.8298 MB / 429 MB, free: 8.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.4696, allocations: 51.41 kB / 429 MB, free: 8.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.4698, allocations: 147.5 kB / 429.2 MB, free: 8.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.4698, allocations: 33.08 kB / 429.2 MB, free: 8.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4699, allocations: 144.7 kB / 429.4 MB, free: 8.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.47, allocations: 96.38 kB / 429.5 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.4701, allocations: 7.5 kB / 429.5 MB, free: 8.305 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4702, allocations: 332.9 kB / 429.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.4704, allocations: 58.12 kB / 429.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.4706, allocations: 94.05 kB / 429.9 MB, free: 7.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.4708, allocations: 84.91 kB / 430 MB, free: 7.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-06/0.4709, allocations: 0 / 430 MB, free: 7.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005/0.4714, allocations: 230.1 kB / 430.2 MB, free: 7.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4714, allocations: 8 kB / 430.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.38e-06/0.4714, allocations: 0 / 430.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4714, allocations: 4 kB / 430.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.4719, allocations: 79.36 kB / 430.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4719, allocations: 7.953 kB / 430.3 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.4721, allocations: 11.31 kB / 430.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.4721, allocations: 11.25 kB / 430.4 MB, free: 7.52 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.0001119/0.4722, allocations: 118.1 kB / 430.5 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.4723, allocations: 23.8 kB / 430.5 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.558e-05/0.4724, allocations: 29.56 kB / 430.5 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.15e-06/0.4724, allocations: 4 kB / 430.5 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.182e-06/0.4724, allocations: 4 kB / 430.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.4724, allocations: 3.953 kB / 430.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.4736, allocations: 0.6287 MB / 431.2 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4737, allocations: 0 / 431.2 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.4741, allocations: 78.28 kB / 431.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.589e-06/0.4742, allocations: 0 / 431.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.4742, allocations: 15.81 kB / 431.3 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.407e-06/0.4742, allocations: 0 / 431.3 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.896e-06/0.4742, allocations: 4 kB / 431.3 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.475, allocations: 425.3 kB / 431.7 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.4751, allocations: 92.91 kB / 431.8 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.4751, allocations: 11.81 kB / 431.8 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.4753, allocations: 11.94 kB / 431.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.4754, allocations: 19.59 kB / 431.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4754, allocations: 10.81 kB / 431.8 MB, free: 6.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.4756, allocations: 117.8 kB / 431.9 MB, free: 6.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.4756, allocations: 4 kB / 431.9 MB, free: 6.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.476, allocations: 59.19 kB / 432 MB, free: 6.023 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.000162/0.4762, allocations: 110.8 kB / 432.1 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.4766, allocations: 163.4 kB / 432.3 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.425e-06/0.4767, allocations: 0 / 432.3 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.4769, allocations: 95.62 kB / 432.4 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.4773, allocations: 39.55 kB / 432.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4788, allocations: 0.6874 MB / 433.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.4793, allocations: 0.7639 MB / 433.9 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.4794, allocations: 14.08 kB / 433.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.4795, allocations: 19.44 kB / 433.9 MB, free: 4.199 MB / 346.7 MB Notification: Performance of SimCode: time 1.612e-06/0.4795, allocations: 4 kB / 433.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of Templates: time 0.007242/0.4868, allocations: 1.921 MB / 435.8 MB, free: 2.293 MB / 346.7 MB