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.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.777/1.777, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.422e-05, allocations: 0 / 255.4 MB, free: 2.707 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07809, allocations: 44.5 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.4085, allocations: 73.4 MB / 373.3 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.4087, allocations: 71.45 kB / 373.3 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01545/0.4242, allocations: 4.041 MB / 377.4 MB, free: 22.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.338e-06/0.4243, allocations: 4.875 kB / 377.4 MB, free: 22.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.4243, allocations: 4.625 kB / 377.4 MB, free: 22.03 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.0006883/0.425, allocations: 490.8 kB / 377.9 MB, free: 21.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4251, allocations: 9.875 kB / 377.9 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.4251, allocations: 34.2 kB / 377.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.4254, allocations: 240.6 kB / 378.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.4255, allocations: 20.38 kB / 378.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.4255, allocations: 24.69 kB / 378.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.426, allocations: 203.6 kB / 378.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.426, allocations: 1.406 kB / 378.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.4261, allocations: 8.844 kB / 378.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4261, allocations: 7.406 kB / 378.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.4265, allocations: 143.1 kB / 378.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.4279, allocations: 0.7642 MB / 379.3 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.4284, allocations: 197.9 kB / 379.5 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.4286, allocations: 99.7 kB / 379.6 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4286, allocations: 7.578 kB / 379.6 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.4287, allocations: 34.06 kB / 379.6 MB, free: 20.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.965e-06/0.4287, allocations: 5.344 kB / 379.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001443/0.4301, allocations: 0.8274 MB / 380.5 MB, free: 20.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.4302, allocations: 54.59 kB / 380.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.4303, allocations: 136.9 kB / 380.7 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4304, allocations: 30.73 kB / 380.7 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.4304, allocations: 138.4 kB / 380.8 MB, free: 20.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.4305, allocations: 109.9 kB / 380.9 MB, free: 20.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.4305, allocations: 3.875 kB / 380.9 MB, free: 20.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.649e-05/0.4306, allocations: 336.9 kB / 381.3 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.4308, allocations: 57.66 kB / 381.3 MB, free: 19.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.431, allocations: 103.7 kB / 381.4 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.4312, allocations: 73.2 kB / 381.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.642e-06/0.4312, allocations: 0 / 381.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004808/0.4317, allocations: 237.4 kB / 381.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4317, allocations: 6.219 kB / 381.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4317, allocations: 1.125 kB / 381.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4318, allocations: 3.312 kB / 381.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.4322, allocations: 78.62 kB / 381.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4322, allocations: 6.281 kB / 381.8 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.4324, allocations: 16.09 kB / 381.8 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.4325, allocations: 6.906 kB / 381.8 MB, free: 19.61 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 7.442e-05/0.4325, allocations: 123.9 kB / 382 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.4326, allocations: 17.06 kB / 382 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.4327, allocations: 28.94 kB / 382 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4327, allocations: 3.125 kB / 382 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.3e-06/0.4327, allocations: 8.844 kB / 382 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.4327, allocations: 1.875 kB / 382 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.4338, allocations: 0.6315 MB / 382.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-06/0.4339, allocations: 1.719 kB / 382.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.4345, allocations: 68.12 kB / 382.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.4346, allocations: 8.172 kB / 382.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.4346, allocations: 8.781 kB / 382.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.4347, allocations: 5.812 kB / 382.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-06/0.4347, allocations: 1.062 kB / 382.8 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.4355, allocations: 427.1 kB / 383.2 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.4356, allocations: 94.36 kB / 383.3 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.4356, allocations: 6.5 kB / 383.3 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4358, allocations: 18.17 kB / 383.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.4359, allocations: 18.58 kB / 383.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.4359, allocations: 10.28 kB / 383.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.805e-05/0.436, allocations: 114.7 kB / 383.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4361, allocations: 4 kB / 383.4 MB, free: 18.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004605/0.4365, allocations: 58.16 kB / 383.5 MB, free: 18.74 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.0001268/0.4367, allocations: 109.5 kB / 383.6 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003939/0.4371, allocations: 167.6 kB / 383.8 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.489e-06/0.4371, allocations: 3.562 kB / 383.8 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.4373, allocations: 87.77 kB / 383.8 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.4377, allocations: 42.69 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.4391, allocations: 0.6912 MB / 384.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.4393, allocations: 0.7594 MB / 385.3 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.4394, allocations: 19.5 kB / 385.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.4395, allocations: 18.88 kB / 385.4 MB, free: 17.47 MB / 314.7 MB Notification: Performance of SimCode: time 1.49e-06/0.4395, allocations: 1.281 kB / 385.4 MB, free: 17.47 MB / 314.7 MB Notification: Performance of Templates: time 0.006615/0.4461, allocations: 1.921 MB / 387.3 MB, free: 17.3 MB / 314.7 MB