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.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 1.619/1.619, allocations: 171.2 MB / 183.8 MB, free: 12.01 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.146e-05, allocations: 4 kB / 225 MB, free: 2.785 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.255, allocations: 38.77 MB / 263.7 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3553, allocations: 65.67 MB / 329.4 MB, free: 8.113 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3556, allocations: 67.97 kB / 329.5 MB, free: 8.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005084/0.3607, allocations: 1.325 MB / 330.8 MB, free: 6.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.506e-06/0.3607, allocations: 0 / 330.8 MB, free: 6.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.3608, allocations: 4 kB / 330.8 MB, free: 6.711 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004069/0.3612, allocations: 342.4 kB / 331.2 MB, free: 6.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3612, allocations: 8.031 kB / 331.2 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.3613, allocations: 15.78 kB / 331.2 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.3615, allocations: 175 kB / 331.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3615, allocations: 4 kB / 331.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.3616, allocations: 8 kB / 331.4 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3618, allocations: 68.31 kB / 331.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3618, allocations: 0 / 331.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3618, allocations: 11.94 kB / 331.4 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-06/0.3618, allocations: 0 / 331.4 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.362, allocations: 39.92 kB / 331.5 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.3628, allocations: 387.5 kB / 331.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.3629, allocations: 46.58 kB / 331.9 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.363, allocations: 20.8 kB / 331.9 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.363, allocations: 7.984 kB / 331.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.3631, allocations: 34.56 kB / 332 MB, free: 5.402 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.3631, allocations: 0 / 332 MB, free: 5.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009461/0.3641, allocations: 0.4896 MB / 332.5 MB, free: 4.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.3641, allocations: 55.41 kB / 332.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3643, allocations: 113.1 kB / 332.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3643, allocations: 29.69 kB / 332.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3644, allocations: 166.3 kB / 332.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.3645, allocations: 35.45 kB / 332.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-06/0.3645, allocations: 0 / 332.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3647, allocations: 318.8 kB / 333.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/0.3647, allocations: 20 kB / 333.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/0.3648, allocations: 65.16 kB / 333.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.985e-05/0.3649, allocations: 19.98 kB / 333.3 MB, free: 3.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.067e-06/0.3649, allocations: 0 / 333.3 MB, free: 3.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002371/0.3652, allocations: 106 kB / 333.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3652, allocations: 4 kB / 333.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.417e-06/0.3652, allocations: 4.094 kB / 333.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3653, allocations: 4 kB / 333.4 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3654, allocations: 27.92 kB / 333.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.575e-06/0.3654, allocations: 3.938 kB / 333.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-05/0.3655, allocations: 8 kB / 333.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3655, allocations: 4 kB / 333.4 MB, free: 3.793 MB / 282.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 9.702e-05/0.3656, allocations: 112.9 kB / 333.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.3657, allocations: 7.906 kB / 333.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.3657, allocations: 12.62 kB / 333.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-06/0.3658, allocations: 4 kB / 333.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.34e-06/0.3658, allocations: 0 / 333.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-06/0.3658, allocations: 0 / 333.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/0.3665, allocations: 414.5 kB / 334 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.086e-06/0.3666, allocations: 4.156 kB / 334 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.3667, allocations: 19.98 kB / 334 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.301e-06/0.3667, allocations: 4 kB / 334 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3668, allocations: 0 / 334 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.3e-06/0.3668, allocations: 4 kB / 334 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.27e-06/0.3668, allocations: 7.953 kB / 334 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.3672, allocations: 284.4 kB / 334.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.3673, allocations: 89.12 kB / 334.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3673, allocations: 12 kB / 334.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3674, allocations: 0 / 334.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.3675, allocations: 15.94 kB / 334.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3675, allocations: 4 kB / 334.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.3676, allocations: 91.28 kB / 334.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.3676, allocations: 0 / 334.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.368, allocations: 16 kB / 334.5 MB, free: 2.559 MB / 282.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.000168/0.3682, allocations: 107.6 kB / 334.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3684, allocations: 51.88 kB / 334.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.3684, allocations: 3.938 kB / 334.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/0.3685, allocations: 27.94 kB / 334.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3687, allocations: 11.98 kB / 334.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006272/0.3694, allocations: 288.8 kB / 335 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3698, allocations: 0.6965 MB / 335.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.3699, allocations: 15.44 kB / 335.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of SimCode: time 1.775e-06/0.3699, allocations: 0 / 335.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of Templates: time 0.002826/0.3727, allocations: 0.9539 MB / 336.6 MB, free: 340 kB / 282.7 MB