Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") Notification: Performance of loadModel(Modelica): time 1.842/1.842, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.28e-05, allocations: 2.156 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08017, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.4519, allocations: 73.06 MB / 372.9 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4522, allocations: 71.09 kB / 373 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01503/0.4673, allocations: 3.774 MB / 376.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.52e-06/0.4673, allocations: 0 / 376.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.4674, allocations: 4.594 kB / 376.8 MB, free: 21.98 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006155/0.468, allocations: 476.6 kB / 377.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.468, allocations: 9 kB / 377.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.374e-05/0.4681, allocations: 25.16 kB / 377.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.4684, allocations: 230.8 kB / 377.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.4684, allocations: 20.94 kB / 377.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.4685, allocations: 25.75 kB / 377.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.4689, allocations: 180.1 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.469, allocations: 0 / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.469, allocations: 9.969 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.469, allocations: 9.719 kB / 377.7 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.4694, allocations: 120.1 kB / 377.8 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.4705, allocations: 0.6286 MB / 378.5 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.4708, allocations: 164.6 kB / 378.6 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.471, allocations: 90.48 kB / 378.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.4711, allocations: 4.156 kB / 378.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.4711, allocations: 35.67 kB / 378.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.784e-06/0.4711, allocations: 5.75 kB / 378.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002105/0.4733, allocations: 0.9821 MB / 379.7 MB, free: 20.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.4733, allocations: 63.58 kB / 379.8 MB, free: 20.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4735, allocations: 162.3 kB / 380 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4736, allocations: 30.3 kB / 380 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.4736, allocations: 195.5 kB / 380.2 MB, free: 20.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.4737, allocations: 111.6 kB / 380.3 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.4738, allocations: 10.34 kB / 380.3 MB, free: 19.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.4738, allocations: 322.5 kB / 380.6 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.474, allocations: 64.92 kB / 380.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4742, allocations: 89.78 kB / 380.8 MB, free: 19.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4744, allocations: 83.88 kB / 380.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4744, allocations: 0 / 380.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006361/0.4751, allocations: 271.5 kB / 381.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4751, allocations: 7.625 kB / 381.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.29e-06/0.4752, allocations: 1.344 kB / 381.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.4754, allocations: 44.48 kB / 381.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4757, allocations: 60.38 kB / 381.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.4773, allocations: 1.567 MB / 382.8 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.4776, allocations: 14.92 kB / 382.8 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.4776, allocations: 6 kB / 382.8 MB, free: 18.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.8e-05/0.4777, allocations: 124.4 kB / 382.9 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.4778, allocations: 18.69 kB / 383 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.4779, allocations: 35.73 kB / 383 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.676e-06/0.4779, allocations: 3.375 kB / 383 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4779, allocations: 1.375 kB / 383 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4779, allocations: 5.906 kB / 383 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.4794, allocations: 0.7684 MB / 383.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.023e-06/0.4794, allocations: 1.125 kB / 383.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.4798, allocations: 63.22 kB / 383.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.48, allocations: 31.59 kB / 383.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.4801, allocations: 5.5 kB / 383.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.4813, allocations: 1.378 MB / 385.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.32e-06/0.4813, allocations: 5.125 kB / 385.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.4822, allocations: 0.4891 MB / 385.7 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.4823, allocations: 95.14 kB / 385.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.4823, allocations: 8.031 kB / 385.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.4825, allocations: 8.75 kB / 385.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.4826, allocations: 22.72 kB / 385.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.4827, allocations: 7.703 kB / 385.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.4828, allocations: 131.7 kB / 386 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.4828, allocations: 0 / 386 MB, free: 15.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005691/0.4834, allocations: 72.5 kB / 386.1 MB, free: 15.9 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * 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: 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.0001484/0.4836, allocations: 109.6 kB / 386.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006812/0.4843, allocations: 313.9 kB / 386.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.4843, allocations: 0 / 386.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.4847, allocations: 227.2 kB / 386.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.4851, allocations: 45.52 kB / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.4864, allocations: 0.6162 MB / 387.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.4872, allocations: 0.7604 MB / 388.1 MB, free: 30.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.4873, allocations: 22.47 kB / 388.2 MB, free: 30.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.798e-06/0.4873, allocations: 4 kB / 388.2 MB, free: 30.46 MB / 330.7 MB Notification: Performance of Templates: time 0.006837/0.4942, allocations: 3.667 MB / 391.8 MB, free: 30.24 MB / 330.7 MB