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.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.896e-05, allocations: 0 / 225 MB, free: 2.832 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 38.77 MB / 263.8 MB, free: 9.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.3567, allocations: 65.92 MB / 329.7 MB, free: 7.879 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.3569, allocations: 63.97 kB / 329.7 MB, free: 7.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01317/0.3701, allocations: 3.354 MB / 333.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.703e-06/0.3702, allocations: 3.938 kB / 333.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.3702, allocations: 4 kB / 333.1 MB, free: 4.43 MB / 282.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.0006855/0.3709, allocations: 454.5 kB / 333.5 MB, free: 3.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3709, allocations: 12.03 kB / 333.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.371, allocations: 23.72 kB / 333.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3712, allocations: 197.3 kB / 333.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3713, allocations: 16.56 kB / 333.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.3713, allocations: 24 kB / 333.8 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.3718, allocations: 219.2 kB / 334 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3719, allocations: 4 kB / 334 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.3719, allocations: 11.98 kB / 334 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3719, allocations: 8 kB / 334 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.3723, allocations: 123.9 kB / 334.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.3738, allocations: 0.8671 MB / 335 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3742, allocations: 147.8 kB / 335.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.3743, allocations: 62.88 kB / 335.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3744, allocations: 11.98 kB / 335.3 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3744, allocations: 30.56 kB / 335.3 MB, free: 2.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.874e-06/0.3744, allocations: 0 / 335.3 MB, free: 2.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004218/0.3748, allocations: 137.4 kB / 335.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.3749, allocations: 102.8 kB / 335.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.3752, allocations: 177.9 kB / 335.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3752, allocations: 29.7 kB / 335.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3754, allocations: 234.1 kB / 335.9 MB, free: 1.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/0.3755, allocations: 59.11 kB / 336 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.3755, allocations: 4 kB / 336 MB, free: 1.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3757, allocations: 322.8 kB / 336.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3758, allocations: 48.5 kB / 336.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.3761, allocations: 150.5 kB / 336.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.3762, allocations: 71.91 kB / 336.6 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.742e-06/0.3763, allocations: 4 kB / 336.6 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005117/0.3768, allocations: 217.3 kB / 336.8 MB, free: 404 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3768, allocations: 8 kB / 336.8 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3768, allocations: 4 kB / 336.8 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.3769, allocations: 4 kB / 336.8 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.3772, allocations: 59.91 kB / 336.9 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.3772, allocations: 16.27 kB / 336.9 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.3775, allocations: 31.69 kB / 336.9 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.3775, allocations: 16 kB / 336.9 MB, free: 264 kB / 282.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.0001182/0.3776, allocations: 120.9 kB / 337.1 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3777, allocations: 15.81 kB / 337.1 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.3778, allocations: 29.52 kB / 337.1 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.798e-06/0.3779, allocations: 4.031 kB / 337.1 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.275e-06/0.3779, allocations: 0 / 337.1 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.3779, allocations: 7.953 kB / 337.1 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.3787, allocations: 416.9 kB / 337.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.082e-06/0.3787, allocations: 3.984 kB / 337.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.379, allocations: 39.92 kB / 337.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.125e-06/0.379, allocations: 0 / 337.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.3791, allocations: 15.95 kB / 337.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3791, allocations: 0 / 337.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.561e-06/0.3791, allocations: 4 kB / 337.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005659/0.3797, allocations: 420.2 kB / 338 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.3798, allocations: 101 kB / 338.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3798, allocations: 0 / 338.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3801, allocations: 8 kB / 338.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.3801, allocations: 11.94 kB / 338.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3801, allocations: 4 kB / 338.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.3803, allocations: 135.3 kB / 338.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.3803, allocations: 0 / 338.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000538/0.3809, allocations: 59.94 kB / 338.3 MB, free: 14.74 MB / 298.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.0001673/0.3811, allocations: 103.2 kB / 338.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.3814, allocations: 128.9 kB / 338.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.424e-06/0.3814, allocations: 0 / 338.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3816, allocations: 61.16 kB / 338.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.382, allocations: 36.11 kB / 338.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3831, allocations: 0.5036 MB / 339.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.3836, allocations: 0.7402 MB / 339.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.3837, allocations: 23.38 kB / 339.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of SimCode: time 1.635e-06/0.3837, allocations: 0 / 339.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of Templates: time 0.005123/0.3888, allocations: 2.198 MB / 342.1 MB, free: 10.88 MB / 298.7 MB