Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.778e-05, allocations: 3.312 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.078/0.07805, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3138/0.3919, allocations: 70.97 MB / 370.8 MB, free: 21.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3922, allocations: 64.95 kB / 370.9 MB, free: 21.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004977/0.3972, allocations: 1.321 MB / 372.2 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.349e-06/0.3972, allocations: 0 / 372.2 MB, free: 20.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3973, allocations: 1.688 kB / 372.2 MB, free: 20.95 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003111/0.3976, allocations: 335.9 kB / 372.5 MB, free: 20.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3976, allocations: 13 kB / 372.5 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.3977, allocations: 9.844 kB / 372.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3978, allocations: 182.6 kB / 372.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3979, allocations: 6.188 kB / 372.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.3979, allocations: 8.031 kB / 372.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3981, allocations: 69.59 kB / 372.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3981, allocations: 1.688 kB / 372.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3981, allocations: 0.9375 kB / 372.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-06/0.3982, allocations: 2.094 kB / 372.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3983, allocations: 38.47 kB / 372.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.399, allocations: 381.1 kB / 373.2 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3991, allocations: 53.42 kB / 373.3 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.3991, allocations: 17.05 kB / 373.3 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.562e-06/0.3992, allocations: 0.5625 kB / 373.3 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.3992, allocations: 39.44 kB / 373.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.349e-06/0.3992, allocations: 0 / 373.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007265/0.3999, allocations: 0.5051 MB / 373.8 MB, free: 19.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.4, allocations: 52.84 kB / 373.9 MB, free: 19.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.4001, allocations: 111.1 kB / 374 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.4001, allocations: 31.36 kB / 374 MB, free: 19.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.4002, allocations: 164.3 kB / 374.2 MB, free: 19.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.4002, allocations: 31.73 kB / 374.2 MB, free: 19.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.4002, allocations: 5.25 kB / 374.2 MB, free: 19.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.4003, allocations: 318.9 kB / 374.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.824e-05/0.4003, allocations: 17.53 kB / 374.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.4004, allocations: 65.7 kB / 374.6 MB, free: 18.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.797e-05/0.4005, allocations: 23.34 kB / 374.6 MB, free: 18.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4005, allocations: 1.406 kB / 374.6 MB, free: 18.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002068/0.4007, allocations: 103 kB / 374.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4008, allocations: 6.109 kB / 374.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4008, allocations: 1.688 kB / 374.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4008, allocations: 10.73 kB / 374.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4009, allocations: 29.27 kB / 374.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.401, allocations: 3.469 kB / 374.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.401, allocations: 1.469 kB / 374.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.401, allocations: 4.25 kB / 374.8 MB, free: 18.71 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.28e-05/0.4011, allocations: 111.7 kB / 374.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.4012, allocations: 4.062 kB / 374.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.4012, allocations: 14.09 kB / 374.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-06/0.4012, allocations: 6.297 kB / 374.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4012, allocations: 3.953 kB / 374.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4012, allocations: 1.984 kB / 374.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.4018, allocations: 407.4 kB / 375.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.874e-06/0.4018, allocations: 5.172 kB / 375.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.402, allocations: 26.8 kB / 375.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.117e-06/0.402, allocations: 1.969 kB / 375.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.402, allocations: 6.406 kB / 375.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.667e-06/0.402, allocations: 6.625 kB / 375.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-06/0.402, allocations: 2.281 kB / 375.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.4023, allocations: 287.3 kB / 375.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.4024, allocations: 85.7 kB / 375.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.4024, allocations: 11.5 kB / 375.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4025, allocations: 5.344 kB / 375.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.4025, allocations: 10.42 kB / 375.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4026, allocations: 7.766 kB / 375.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.4026, allocations: 88.8 kB / 375.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.4026, allocations: 0.9688 kB / 375.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.403, allocations: 17.78 kB / 375.9 MB, free: 17.76 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001109/0.4031, allocations: 102.7 kB / 376 MB, free: 17.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4033, allocations: 59.56 kB / 376 MB, free: 17.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.655e-06/0.4033, allocations: 0.6875 kB / 376 MB, free: 17.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.4034, allocations: 26.34 kB / 376.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.4037, allocations: 10.47 kB / 376.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.4042, allocations: 283.5 kB / 376.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4044, allocations: 0.6985 MB / 377 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.4044, allocations: 12.72 kB / 377.1 MB, free: 16.71 MB / 314.7 MB Notification: Performance of SimCode: time 1.359e-06/0.4044, allocations: 0 / 377.1 MB, free: 16.71 MB / 314.7 MB Notification: Performance of Templates: time 0.00275/0.4072, allocations: 0.9601 MB / 378 MB, free: 16.64 MB / 314.7 MB