Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 0.9752/0.9752, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.057e-05, allocations: 8 kB / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 25.15 MB / 176.5 MB, free: 32 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05253/0.1917, allocations: 34.72 MB / 211.3 MB, free: 14.76 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.1919, allocations: 59.97 kB / 211.3 MB, free: 14.7 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01357/0.2055, allocations: 3.427 MB / 214.7 MB, free: 11.27 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.833e-06/0.2056, allocations: 7.922 kB / 214.8 MB, free: 11.26 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.2056, allocations: 4 kB / 214.8 MB, free: 11.25 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006982/0.2063, allocations: 462.3 kB / 215.2 MB, free: 10.76 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2064, allocations: 8.031 kB / 215.2 MB, free: 10.75 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.2064, allocations: 23.72 kB / 215.2 MB, free: 10.73 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.2068, allocations: 223.4 kB / 215.5 MB, free: 10.46 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.2068, allocations: 12.44 kB / 215.5 MB, free: 10.45 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.2069, allocations: 20 kB / 215.5 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.2073, allocations: 201 kB / 215.7 MB, free: 10.23 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.2074, allocations: 0 / 215.7 MB, free: 10.23 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.2074, allocations: 11.95 kB / 215.7 MB, free: 10.21 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.2074, allocations: 4 kB / 215.7 MB, free: 10.21 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.2077, allocations: 108.8 kB / 215.8 MB, free: 10.11 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.209, allocations: 0.6898 MB / 216.5 MB, free: 9.359 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.2093, allocations: 138.5 kB / 216.6 MB, free: 9.215 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2095, allocations: 60.86 kB / 216.7 MB, free: 9.152 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.2095, allocations: 4 kB / 216.7 MB, free: 9.148 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2096, allocations: 34.56 kB / 216.7 MB, free: 9.105 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 2.548e-06/0.2096, allocations: 0 / 216.7 MB, free: 9.105 MB / 186.7 MB Notification: Performance of matching and sorting (n=23): time 0.001768/0.2114, allocations: 0.7964 MB / 217.5 MB, free: 8.223 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.2114, allocations: 55.39 kB / 217.6 MB, free: 8.156 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.2116, allocations: 149.9 kB / 217.7 MB, free: 8 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.2117, allocations: 29.7 kB / 217.8 MB, free: 7.965 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2118, allocations: 202.8 kB / 218 MB, free: 7.762 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.2119, allocations: 86.75 kB / 218 MB, free: 7.676 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.212, allocations: 4 kB / 218 MB, free: 7.672 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2121, allocations: 318.8 kB / 218.4 MB, free: 7.352 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.2123, allocations: 48 kB / 218.4 MB, free: 7.305 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2125, allocations: 85.28 kB / 218.5 MB, free: 7.207 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2127, allocations: 63.91 kB / 218.5 MB, free: 7.141 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-06/0.2127, allocations: 0 / 218.5 MB, free: 7.141 MB / 186.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005499/0.2133, allocations: 222.2 kB / 218.8 MB, free: 6.914 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.2133, allocations: 11.94 kB / 218.8 MB, free: 6.902 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.317e-06/0.2133, allocations: 3.938 kB / 218.8 MB, free: 6.898 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.2135, allocations: 32.84 kB / 218.8 MB, free: 6.863 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.2138, allocations: 47.97 kB / 218.9 MB, free: 6.816 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.2154, allocations: 1.378 MB / 220.2 MB, free: 5.305 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.2156, allocations: 11.97 kB / 220.2 MB, free: 5.293 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.2156, allocations: 8 kB / 220.3 MB, free: 5.285 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.2158, allocations: 121.1 kB / 220.4 MB, free: 5.16 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.2159, allocations: 31.78 kB / 220.4 MB, free: 5.129 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.2159, allocations: 25.66 kB / 220.4 MB, free: 5.102 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-06/0.216, allocations: 0 / 220.4 MB, free: 5.102 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-06/0.216, allocations: 0 / 220.4 MB, free: 5.102 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.216, allocations: 0 / 220.4 MB, free: 5.102 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.2172, allocations: 0.6235 MB / 221.1 MB, free: 4.41 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.809e-06/0.2172, allocations: 7.953 kB / 221.1 MB, free: 4.402 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.2175, allocations: 47.91 kB / 221.1 MB, free: 4.355 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.2177, allocations: 32.91 kB / 221.1 MB, free: 4.32 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.2178, allocations: 8 kB / 221.2 MB, free: 4.312 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.2193, allocations: 1.374 MB / 222.5 MB, free: 2.805 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.378e-06/0.2194, allocations: 3.938 kB / 222.5 MB, free: 2.801 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.2201, allocations: 385.6 kB / 222.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.2202, allocations: 108.9 kB / 223 MB, free: 2.262 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.2203, allocations: 4 kB / 223 MB, free: 2.258 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2205, allocations: 19.88 kB / 223 MB, free: 2.238 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.2205, allocations: 11.98 kB / 223 MB, free: 2.227 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.2206, allocations: 8.234 kB / 223.1 MB, free: 2.219 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.2207, allocations: 132.3 kB / 223.2 MB, free: 2.09 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.2207, allocations: 0 / 223.2 MB, free: 2.09 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004509/0.2212, allocations: 56 kB / 223.2 MB, free: 2.035 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001541/0.2214, allocations: 103.2 kB / 223.3 MB, free: 1.926 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.222, allocations: 261.4 kB / 223.6 MB, free: 1.66 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.268e-06/0.222, allocations: 0 / 223.6 MB, free: 1.66 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.2224, allocations: 198 kB / 223.8 MB, free: 1.457 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.2228, allocations: 37.84 kB / 223.8 MB, free: 1.422 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.224, allocations: 0.547 MB / 224.4 MB, free: 0.8398 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.2245, allocations: 0.7522 MB / 225.1 MB, free: 64 kB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.2246, allocations: 19.44 kB / 225.1 MB, free: 44 kB / 186.7 MB Notification: Performance of SimCode: time 1.39e-06/0.2246, allocations: 0 / 225.1 MB, free: 44 kB / 186.7 MB Notification: Performance of Templates: time 0.006498/0.2311, allocations: 3.195 MB / 228.3 MB, free: 12.84 MB / 202.7 MB