Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.956/1.956, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.995e-05, allocations: 7.984 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.09128, allocations: 50.41 MB / 342.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4506, allocations: 78.96 MB / 421.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4509, allocations: 70.33 kB / 421.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.4683, allocations: 4.384 MB / 426 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.012e-06/0.4684, allocations: 0 / 426 MB, free: 11.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.4684, allocations: 4 kB / 426 MB, free: 11.43 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.000814/0.4692, allocations: 497.5 kB / 426.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4693, allocations: 8.031 kB / 426.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.4694, allocations: 27.62 kB / 426.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.4697, allocations: 233 kB / 426.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.4697, allocations: 20.25 kB / 426.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.4698, allocations: 39.59 kB / 426.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.4703, allocations: 200 kB / 427 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.4703, allocations: 3.953 kB / 427 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.4704, allocations: 15.69 kB / 427 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.785e-06/0.4704, allocations: 4 kB / 427 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.4708, allocations: 143.3 kB / 427.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.4723, allocations: 0.7567 MB / 427.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.4728, allocations: 194.4 kB / 428.1 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.473, allocations: 99.11 kB / 428.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.4731, allocations: 11.98 kB / 428.2 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.4731, allocations: 30.56 kB / 428.2 MB, free: 9.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 2.996e-06/0.4731, allocations: 0 / 428.2 MB, free: 9.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001613/0.4748, allocations: 0.8229 MB / 429 MB, free: 8.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.4748, allocations: 59.34 kB / 429.1 MB, free: 8.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.475, allocations: 150.6 kB / 429.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.4751, allocations: 29.64 kB / 429.3 MB, free: 8.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.4752, allocations: 202.3 kB / 429.5 MB, free: 8.219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4753, allocations: 107.4 kB / 429.6 MB, free: 8.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.4754, allocations: 3 kB / 429.6 MB, free: 8.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4755, allocations: 325.6 kB / 429.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.4757, allocations: 56.88 kB / 429.9 MB, free: 7.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.4759, allocations: 100.2 kB / 430 MB, free: 7.691 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.4761, allocations: 77.42 kB / 430.1 MB, free: 7.641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-06/0.4761, allocations: 0 / 430.1 MB, free: 7.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004907/0.4766, allocations: 226.1 kB / 430.3 MB, free: 7.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4767, allocations: 7.984 kB / 430.3 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-06/0.4767, allocations: 0 / 430.3 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4767, allocations: 4.094 kB / 430.3 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.4771, allocations: 79.91 kB / 430.4 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4772, allocations: 7.953 kB / 430.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.4773, allocations: 19.42 kB / 430.5 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.4774, allocations: 8 kB / 430.5 MB, free: 7.348 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.0001116/0.4775, allocations: 115 kB / 430.6 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.4776, allocations: 19.81 kB / 430.6 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.4777, allocations: 32.67 kB / 430.6 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-06/0.4777, allocations: 0 / 430.6 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.535e-06/0.4777, allocations: 0 / 430.6 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.937e-06/0.4777, allocations: 3.953 kB / 430.6 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.4789, allocations: 0.6261 MB / 431.3 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.351e-06/0.4789, allocations: 12.05 kB / 431.3 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.4794, allocations: 71.72 kB / 431.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.4795, allocations: 7.938 kB / 431.3 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.4795, allocations: 7.141 kB / 431.4 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.178e-06/0.4795, allocations: 4 kB / 431.4 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.44e-06/0.4795, allocations: 0 / 431.4 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.4802, allocations: 427.2 kB / 431.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.4804, allocations: 100.5 kB / 431.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.4804, allocations: 7.234 kB / 431.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.4806, allocations: 11.19 kB / 431.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.4807, allocations: 23.78 kB / 431.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.4808, allocations: 12 kB / 431.9 MB, free: 6.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.4809, allocations: 116.5 kB / 432 MB, free: 5.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.4809, allocations: 0 / 432 MB, free: 5.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004406/0.4813, allocations: 62.12 kB / 432.1 MB, free: 5.855 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.0001711/0.4815, allocations: 110.5 kB / 432.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004074/0.482, allocations: 165.7 kB / 432.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.878e-06/0.482, allocations: 0 / 432.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.4822, allocations: 91.75 kB / 432.5 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.4826, allocations: 37.11 kB / 432.5 MB, free: 5.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.4844, allocations: 0.7127 MB / 433.2 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.4851, allocations: 0.7639 MB / 434 MB, free: 4.031 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.4852, allocations: 19.44 kB / 434 MB, free: 4.016 MB / 346.7 MB Notification: Performance of SimCode: time 1.966e-06/0.4853, allocations: 0 / 434 MB, free: 4.016 MB / 346.7 MB Notification: Performance of Templates: time 0.009422/0.4947, allocations: 2.667 MB / 436.7 MB, free: 1.383 MB / 346.7 MB