Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.262e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2519, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.3788, allocations: 70.55 MB / 364.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.379, allocations: 67.91 kB / 364.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.3919, allocations: 3.312 MB / 368 MB, free: 8.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.448e-06/0.3919, allocations: 3.938 kB / 368 MB, free: 8.043 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.392, allocations: 7.938 kB / 368 MB, free: 8.035 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006831/0.3927, allocations: 458.5 kB / 368.5 MB, free: 7.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3927, allocations: 12.03 kB / 368.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.3928, allocations: 23.72 kB / 368.5 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.393, allocations: 191.5 kB / 368.7 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.393, allocations: 8 kB / 368.7 MB, free: 7.273 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.3931, allocations: 12 kB / 368.7 MB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003165/0.3934, allocations: 105.1 kB / 368.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.3939, allocations: 203.2 kB / 369 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.3939, allocations: 7.906 kB / 369 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3939, allocations: 0 / 369 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.3939, allocations: 8 kB / 369.1 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.3954, allocations: 0.8095 MB / 369.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.3957, allocations: 143.8 kB / 370 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3958, allocations: 58.58 kB / 370.1 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3958, allocations: 7.953 kB / 370.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3959, allocations: 38.55 kB / 370.1 MB, free: 5.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.581e-06/0.3959, allocations: 0 / 370.1 MB, free: 5.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004149/0.3963, allocations: 117.7 kB / 370.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.3964, allocations: 106.8 kB / 370.3 MB, free: 5.527 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3966, allocations: 146.5 kB / 370.5 MB, free: 5.375 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3967, allocations: 25.7 kB / 370.5 MB, free: 5.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3968, allocations: 234.4 kB / 370.7 MB, free: 5.113 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.3969, allocations: 63.05 kB / 370.8 MB, free: 5.051 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.3969, allocations: 4 kB / 370.8 MB, free: 5.047 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3971, allocations: 318.8 kB / 371.1 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3972, allocations: 44.5 kB / 371.1 MB, free: 4.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.3974, allocations: 138.6 kB / 371.3 MB, free: 4.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.3976, allocations: 72.05 kB / 371.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-06/0.3976, allocations: 0 / 371.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000464/0.3981, allocations: 197.3 kB / 371.5 MB, free: 4.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3981, allocations: 4 kB / 371.5 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3982, allocations: 7.953 kB / 371.6 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.3982, allocations: 8 kB / 371.6 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.3985, allocations: 64.34 kB / 371.6 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3985, allocations: 11.94 kB / 371.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.3987, allocations: 23.69 kB / 371.7 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.3987, allocations: 8 kB / 371.7 MB, free: 4.105 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001122/0.3988, allocations: 123.6 kB / 371.8 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3989, allocations: 15.81 kB / 371.8 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.399, allocations: 21.83 kB / 371.8 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3991, allocations: 11.89 kB / 371.8 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3991, allocations: 0 / 371.8 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.203e-06/0.3991, allocations: 0 / 371.8 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007022/0.3998, allocations: 374.3 kB / 372.2 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-06/0.3998, allocations: 0 / 372.2 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.4001, allocations: 43.92 kB / 372.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.567e-06/0.4001, allocations: 7.953 kB / 372.2 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.4001, allocations: 3.984 kB / 372.3 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/0.4002, allocations: 4 kB / 372.3 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.037e-06/0.4002, allocations: 96 / 372.3 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.4007, allocations: 406.3 kB / 372.7 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.4008, allocations: 92.86 kB / 372.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.4009, allocations: 8.031 kB / 372.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.401, allocations: 0 / 372.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.4011, allocations: 19.94 kB / 372.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4011, allocations: 4 kB / 372.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.4012, allocations: 112 kB / 372.9 MB, free: 2.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4013, allocations: 0 / 372.9 MB, free: 2.758 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005079/0.4018, allocations: 51.84 kB / 372.9 MB, free: 2.707 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001484/0.4019, allocations: 111.2 kB / 373 MB, free: 2.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.4022, allocations: 111.9 kB / 373.2 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.814e-06/0.4023, allocations: 7.938 kB / 373.2 MB, free: 2.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4024, allocations: 44.81 kB / 373.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4028, allocations: 29.23 kB / 373.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.4038, allocations: 0.5042 MB / 373.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.4043, allocations: 0.7438 MB / 374.5 MB, free: 1.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/0.4044, allocations: 15.44 kB / 374.5 MB, free: 1.074 MB / 314.7 MB Notification: Performance of SimCode: time 1.518e-06/0.4044, allocations: 3.938 kB / 374.5 MB, free: 1.07 MB / 314.7 MB Notification: Performance of Templates: time 0.004684/0.4091, allocations: 2.11 MB / 376.6 MB, free: 14.96 MB / 330.7 MB