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.919/1.919, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.377e-05, allocations: 1.938 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07967/0.07973, allocations: 44.51 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.3947, allocations: 71.21 MB / 371 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.3949, allocations: 63.27 kB / 371.1 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01321/0.4082, allocations: 3.347 MB / 374.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4082, allocations: 1.188 kB / 374.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.4082, allocations: 3.344 kB / 374.5 MB, free: 20.82 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.0005603/0.4088, allocations: 460.3 kB / 374.9 MB, free: 20.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4089, allocations: 9.25 kB / 374.9 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.409, allocations: 23.97 kB / 374.9 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.4091, allocations: 195.3 kB / 375.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.4091, allocations: 17.88 kB / 375.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.4092, allocations: 22.09 kB / 375.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.4096, allocations: 219.2 kB / 375.4 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.4097, allocations: 9.125 kB / 375.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.4097, allocations: 15.39 kB / 375.4 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4097, allocations: 9.578 kB / 375.4 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.4101, allocations: 125.5 kB / 375.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.4114, allocations: 0.8676 MB / 376.4 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.4117, allocations: 157 kB / 376.6 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4118, allocations: 62.53 kB / 376.6 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.4119, allocations: 6.125 kB / 376.6 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.4119, allocations: 36.06 kB / 376.7 MB, free: 19.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.147e-06/0.4119, allocations: 0 / 376.7 MB, free: 19.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003863/0.4123, allocations: 135.9 kB / 376.8 MB, free: 19.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.4124, allocations: 105 kB / 376.9 MB, free: 19.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.4126, allocations: 173.5 kB / 377.1 MB, free: 19.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4126, allocations: 34.17 kB / 377.1 MB, free: 19.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.4127, allocations: 221.7 kB / 377.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.4128, allocations: 61.2 kB / 377.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.4128, allocations: 8.594 kB / 377.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.697e-05/0.4128, allocations: 321.4 kB / 377.7 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.413, allocations: 47.31 kB / 377.7 MB, free: 18.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.4132, allocations: 155.1 kB / 377.9 MB, free: 18.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.4133, allocations: 77.28 kB / 378 MB, free: 18.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/0.4134, allocations: 1.281 kB / 378 MB, free: 18.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004702/0.4138, allocations: 229.9 kB / 378.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4139, allocations: 8.391 kB / 378.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.485e-06/0.4139, allocations: 3.469 kB / 378.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.4139, allocations: 5.531 kB / 378.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.4142, allocations: 61.64 kB / 378.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.4142, allocations: 15.05 kB / 378.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.4144, allocations: 24.34 kB / 378.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.4145, allocations: 12.69 kB / 378.3 MB, free: 18.31 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 7.356e-05/0.4146, allocations: 120.4 kB / 378.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4147, allocations: 26.5 kB / 378.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.4148, allocations: 23.58 kB / 378.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.4148, allocations: 2.375 kB / 378.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.215e-06/0.4148, allocations: 1.031 kB / 378.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.364e-06/0.4148, allocations: 9.125 kB / 378.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.4155, allocations: 423.5 kB / 378.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.57e-06/0.4155, allocations: 2.953 kB / 378.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.4158, allocations: 42.83 kB / 379 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.4158, allocations: 2.125 kB / 379 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.4158, allocations: 6.562 kB / 379 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.633e-06/0.4158, allocations: 1.281 kB / 379 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.199e-06/0.4159, allocations: 5.531 kB / 379 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.4163, allocations: 420.2 kB / 379.4 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.4164, allocations: 92.28 kB / 379.5 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.4164, allocations: 5.906 kB / 379.5 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.4166, allocations: 6.266 kB / 379.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.4167, allocations: 13.3 kB / 379.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.4167, allocations: 4.406 kB / 379.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.4168, allocations: 137.4 kB / 379.6 MB, free: 17.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.4168, allocations: 4 kB / 379.7 MB, free: 17.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005191/0.4174, allocations: 56.22 kB / 379.7 MB, free: 17.32 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.0001261/0.4175, allocations: 111.4 kB / 379.8 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.4179, allocations: 130.8 kB / 379.9 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.293e-06/0.4179, allocations: 0.875 kB / 379.9 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.418, allocations: 59.16 kB / 380 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.4184, allocations: 21.95 kB / 380 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009702/0.4194, allocations: 0.524 MB / 380.5 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.4196, allocations: 0.7397 MB / 381.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.4197, allocations: 19 kB / 381.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.642e-06/0.4197, allocations: 1.094 kB / 381.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of Templates: time 0.004701/0.4244, allocations: 2.207 MB / 383.5 MB, free: 15.95 MB / 314.7 MB