Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.055/1.055, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.788e-05, allocations: 7.984 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1483, allocations: 25.15 MB / 176.5 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05637/0.2048, allocations: 34.6 MB / 211.1 MB, free: 14.86 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.205, allocations: 63.97 kB / 211.2 MB, free: 14.8 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.22, allocations: 3.556 MB / 214.8 MB, free: 11.23 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.006e-06/0.22, allocations: 0 / 214.8 MB, free: 11.23 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.2201, allocations: 4 kB / 214.8 MB, free: 11.23 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007825/0.2209, allocations: 478.4 kB / 215.2 MB, free: 10.71 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2209, allocations: 8.031 kB / 215.2 MB, free: 10.71 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.221, allocations: 19.81 kB / 215.3 MB, free: 10.69 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.2213, allocations: 220.1 kB / 215.5 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.2214, allocations: 12.44 kB / 215.5 MB, free: 10.42 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.2214, allocations: 35.91 kB / 215.5 MB, free: 10.38 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.2219, allocations: 174.5 kB / 215.7 MB, free: 10.21 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.2219, allocations: 11.92 kB / 215.7 MB, free: 10.2 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.222, allocations: 4 kB / 215.7 MB, free: 10.19 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.222, allocations: 7.953 kB / 215.7 MB, free: 10.18 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.2223, allocations: 120.9 kB / 215.8 MB, free: 10.07 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.2235, allocations: 0.6114 MB / 216.4 MB, free: 9.406 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.224, allocations: 159.5 kB / 216.6 MB, free: 9.242 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.2242, allocations: 94.92 kB / 216.7 MB, free: 9.148 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.2243, allocations: 192 / 216.7 MB, free: 9.148 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2244, allocations: 38.67 kB / 216.7 MB, free: 9.102 MB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 2.4e-06/0.2244, allocations: 4 kB / 216.7 MB, free: 9.098 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.00156/0.2259, allocations: 0.7557 MB / 217.5 MB, free: 8.254 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.226, allocations: 59.41 kB / 217.5 MB, free: 8.184 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.2262, allocations: 141.4 kB / 217.7 MB, free: 8.039 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.2263, allocations: 29.7 kB / 217.7 MB, free: 8.004 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.2264, allocations: 198.8 kB / 217.9 MB, free: 7.805 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.2265, allocations: 82.75 kB / 218 MB, free: 7.723 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.2265, allocations: 4 kB / 218 MB, free: 7.719 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2267, allocations: 322.8 kB / 218.3 MB, free: 7.395 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.2269, allocations: 52 kB / 218.4 MB, free: 7.344 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.2271, allocations: 95.41 kB / 218.5 MB, free: 7.238 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.2273, allocations: 68.69 kB / 218.5 MB, free: 7.172 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-06/0.2273, allocations: 4 kB / 218.5 MB, free: 7.168 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004769/0.2278, allocations: 201.3 kB / 218.7 MB, free: 6.965 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2279, allocations: 5.406 kB / 218.7 MB, free: 6.961 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-06/0.2279, allocations: 15.97 kB / 218.7 MB, free: 6.945 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2279, allocations: 0 / 218.7 MB, free: 6.945 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.2284, allocations: 75.89 kB / 218.8 MB, free: 6.871 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2284, allocations: 4 kB / 218.8 MB, free: 6.867 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.2286, allocations: 15.98 kB / 218.8 MB, free: 6.852 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.2286, allocations: 4 kB / 218.8 MB, free: 6.848 MB / 186.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 (31): * Single equations (assignments): 31 * 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.0001289/0.2287, allocations: 120.9 kB / 219 MB, free: 6.723 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.2288, allocations: 19.81 kB / 219 MB, free: 6.703 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.2289, allocations: 20.75 kB / 219 MB, free: 6.688 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2289, allocations: 0 / 219 MB, free: 6.688 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.2289, allocations: 4 kB / 219 MB, free: 6.684 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.229, allocations: 3.984 kB / 219 MB, free: 6.68 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.2302, allocations: 0.6044 MB / 219.6 MB, free: 6 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.765e-06/0.2302, allocations: 0 / 219.6 MB, free: 6 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.2307, allocations: 67.91 kB / 219.7 MB, free: 5.934 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.2307, allocations: 4 kB / 219.7 MB, free: 5.93 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.2307, allocations: 7.984 kB / 219.7 MB, free: 5.922 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.532e-06/0.2307, allocations: 4 kB / 219.7 MB, free: 5.918 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.601e-06/0.2308, allocations: 0 / 219.7 MB, free: 5.918 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.2314, allocations: 388.2 kB / 220.1 MB, free: 5.504 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.2315, allocations: 101 kB / 220.2 MB, free: 5.387 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.2316, allocations: 0 / 220.2 MB, free: 5.387 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.2318, allocations: 19.94 kB / 220.2 MB, free: 5.367 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.2319, allocations: 19.98 kB / 220.2 MB, free: 5.348 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.2319, allocations: 8.125 kB / 220.2 MB, free: 5.34 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.2321, allocations: 123.4 kB / 220.3 MB, free: 5.219 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.2321, allocations: 0 / 220.3 MB, free: 5.219 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.2325, allocations: 52 kB / 220.4 MB, free: 5.168 MB / 186.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 (24): * Single equations (assignments): 24 * 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.0001587/0.2327, allocations: 107.2 kB / 220.5 MB, free: 5.051 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004249/0.2332, allocations: 143.9 kB / 220.6 MB, free: 4.91 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.2332, allocations: 4.188 kB / 220.6 MB, free: 4.906 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2334, allocations: 86.61 kB / 220.7 MB, free: 4.824 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.2338, allocations: 31.92 kB / 220.8 MB, free: 4.793 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.2355, allocations: 0.6748 MB / 221.4 MB, free: 4.082 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.236, allocations: 0.7522 MB / 222.2 MB, free: 3.305 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.2361, allocations: 19.44 kB / 222.2 MB, free: 3.285 MB / 186.7 MB Notification: Performance of SimCode: time 1.84e-06/0.2361, allocations: 0 / 222.2 MB, free: 3.285 MB / 186.7 MB Notification: Performance of Templates: time 0.008648/0.2447, allocations: 2.392 MB / 224.6 MB, free: 0.8906 MB / 186.7 MB