Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.136e-05, allocations: 4 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0786/0.07865, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3685/0.4472, allocations: 73.06 MB / 372.9 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4475, allocations: 68.17 kB / 373 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.4617, allocations: 3.618 MB / 376.6 MB, free: 22 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.368e-06/0.4618, allocations: 0.9688 kB / 376.6 MB, free: 22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.4618, allocations: 4.594 kB / 376.6 MB, free: 22 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006178/0.4624, allocations: 465.7 kB / 377.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4625, allocations: 13.22 kB / 377.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.4626, allocations: 23.66 kB / 377.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.4628, allocations: 228.8 kB / 377.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.4629, allocations: 15.56 kB / 377.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.4629, allocations: 22.8 kB / 377.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.4633, allocations: 191.4 kB / 377.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4634, allocations: 9.531 kB / 377.6 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.4634, allocations: 4.812 kB / 377.6 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4634, allocations: 9.531 kB / 377.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.4637, allocations: 115.7 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.4649, allocations: 0.7024 MB / 378.4 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.4652, allocations: 138.9 kB / 378.5 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.4654, allocations: 60.61 kB / 378.6 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4654, allocations: 2.562 kB / 378.6 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.4655, allocations: 41.81 kB / 378.6 MB, free: 20.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.225e-06/0.4655, allocations: 4 kB / 378.6 MB, free: 20.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001627/0.4671, allocations: 0.8058 MB / 379.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.4672, allocations: 60.7 kB / 379.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4673, allocations: 149.4 kB / 379.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.4674, allocations: 38.3 kB / 379.7 MB, free: 20.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.4675, allocations: 210.1 kB / 379.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.4675, allocations: 83.05 kB / 380 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.4676, allocations: 5.156 kB / 380 MB, free: 19.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.4676, allocations: 329 kB / 380.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4678, allocations: 46.59 kB / 380.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.468, allocations: 93.83 kB / 380.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.4681, allocations: 65.67 kB / 380.5 MB, free: 19.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-06/0.4681, allocations: 0 / 380.5 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005158/0.4687, allocations: 220.4 kB / 380.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4687, allocations: 6.25 kB / 380.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4687, allocations: 6.25 kB / 380.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.4689, allocations: 38.78 kB / 380.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.4692, allocations: 49.98 kB / 380.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.4704, allocations: 1.384 MB / 382.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.4706, allocations: 9.844 kB / 382.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.4707, allocations: 6.531 kB / 382.2 MB, free: 18.18 MB / 314.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 (28): * Single equations (assignments): 27 * 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 8.125e-05/0.4708, allocations: 112.6 kB / 382.3 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.4708, allocations: 17.47 kB / 382.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.4709, allocations: 29.23 kB / 382.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4709, allocations: 10.86 kB / 382.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.182e-06/0.4709, allocations: 1.094 kB / 382.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.471, allocations: 7.203 kB / 382.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4721, allocations: 0.6394 MB / 383 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-06/0.4721, allocations: 0 / 383 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.4724, allocations: 46.08 kB / 383.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.4726, allocations: 32.44 kB / 383.1 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.4727, allocations: 6.312 kB / 383.1 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.4737, allocations: 1.378 MB / 384.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4738, allocations: 3.953 kB / 384.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.4744, allocations: 408.3 kB / 384.9 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.4745, allocations: 99.92 kB / 385 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.4745, allocations: 3.781 kB / 385 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.4747, allocations: 12.34 kB / 385 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.4748, allocations: 18.42 kB / 385 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.4749, allocations: 5.5 kB / 385 MB, free: 16.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.475, allocations: 125.1 kB / 385.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.475, allocations: 1.062 kB / 385.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004921/0.4755, allocations: 57.47 kB / 385.2 MB, free: 15.98 MB / 314.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 (21): * Single equations (assignments): 20 * 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.0001393/0.4757, allocations: 106.5 kB / 385.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005814/0.4762, allocations: 264.6 kB / 385.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.913e-06/0.4763, allocations: 3.688 kB / 385.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.4766, allocations: 203.1 kB / 385.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.477, allocations: 40.91 kB / 385.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4782, allocations: 0.5616 MB / 386.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.479, allocations: 0.7531 MB / 387.1 MB, free: 30.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.4791, allocations: 21.41 kB / 387.1 MB, free: 30.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.879e-06/0.4791, allocations: 0 / 387.1 MB, free: 30.57 MB / 330.7 MB Notification: Performance of Templates: time 0.006139/0.4852, allocations: 3.306 MB / 390.4 MB, free: 30.37 MB / 330.7 MB