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 2.156/2.156, allocations: 194.9 MB / 211.2 MB, free: 9.316 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.818e-05, allocations: 4 kB / 258.8 MB, free: 9.688 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3078, allocations: 44.52 MB / 303.3 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002381/0.3102, allocations: 1.283 MB / 304.6 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000283/0.3106, allocations: 66.28 kB / 304.6 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.243e-05/0.3106, allocations: 6.156 kB / 304.6 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.3107, allocations: 5.062 kB / 304.7 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.876e-05/0.3108, allocations: 21.16 kB / 304.7 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.3109, allocations: 14.2 kB / 304.7 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3111, allocations: 34.95 kB / 304.7 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.3112, allocations: 8.625 kB / 304.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.976e-05/0.3112, allocations: 17.89 kB / 304.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.3113, allocations: 20.64 kB / 304.8 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.3113, allocations: 5.406 kB / 304.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3114, allocations: 2.438 kB / 304.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.3114, allocations: 9.25 kB / 304.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.3114, allocations: 6.219 kB / 304.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3116, allocations: 49.34 kB / 304.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3116, allocations: 0 / 304.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3116, allocations: 0 / 304.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.3116, allocations: 0 / 304.8 MB, free: 11.4 MB / 250.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.0005442/0.3122, allocations: 347.7 kB / 305.2 MB, free: 11.03 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3122, allocations: 17.53 kB / 305.2 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.3123, allocations: 11.23 kB / 305.2 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3125, allocations: 180 kB / 305.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3126, allocations: 3.375 kB / 305.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.3126, allocations: 8.281 kB / 305.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.3128, allocations: 71.86 kB / 305.5 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3129, allocations: 1 kB / 305.5 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.3129, allocations: 5 kB / 305.5 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3129, allocations: 1.156 kB / 305.5 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.313, allocations: 30.73 kB / 305.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.314, allocations: 380.1 kB / 305.9 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.3142, allocations: 58.89 kB / 305.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.3142, allocations: 5.359 kB / 305.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3143, allocations: 31.78 kB / 306 MB, free: 10.26 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 3.667e-06/0.3143, allocations: 4 kB / 306 MB, free: 10.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.001041/0.3153, allocations: 0.5142 MB / 306.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3154, allocations: 52.78 kB / 306.5 MB, free: 9.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3155, allocations: 109.2 kB / 306.6 MB, free: 9.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3156, allocations: 25.7 kB / 306.7 MB, free: 9.539 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.3157, allocations: 176.6 kB / 306.8 MB, free: 9.367 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.3157, allocations: 27.84 kB / 306.9 MB, free: 9.344 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.3157, allocations: 5.156 kB / 306.9 MB, free: 9.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3159, allocations: 315.8 kB / 307.2 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.316, allocations: 17.72 kB / 307.2 MB, free: 9.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3161, allocations: 59.17 kB / 307.3 MB, free: 8.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.3162, allocations: 33.52 kB / 307.3 MB, free: 8.934 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3162, allocations: 1.094 kB / 307.3 MB, free: 8.934 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002586/0.3165, allocations: 106.8 kB / 307.4 MB, free: 8.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3165, allocations: 9.156 kB / 307.4 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3165, allocations: 2.031 kB / 307.4 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3166, allocations: 10.02 kB / 307.4 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.3168, allocations: 26.64 kB / 307.4 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3168, allocations: 6.125 kB / 307.4 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.3169, allocations: 2.062 kB / 307.4 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3169, allocations: 4.062 kB / 307.5 MB, free: 8.84 MB / 250.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 0.0001329/0.317, allocations: 121.9 kB / 307.6 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.3171, allocations: 3.125 kB / 307.6 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.3171, allocations: 9.375 kB / 307.6 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3172, allocations: 6.047 kB / 307.6 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3172, allocations: 3.984 kB / 307.6 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3172, allocations: 0 / 307.6 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007946/0.318, allocations: 413.7 kB / 308 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.318, allocations: 5.172 kB / 308 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.3182, allocations: 19.81 kB / 308 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.3182, allocations: 2.094 kB / 308 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3183, allocations: 10.5 kB / 308 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3183, allocations: 2 kB / 308 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3183, allocations: 2.156 kB / 308 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.3187, allocations: 291.9 kB / 308.3 MB, free: 7.957 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.3188, allocations: 83.86 kB / 308.4 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3188, allocations: 6.891 kB / 308.4 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.319, allocations: 1.625 kB / 308.4 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.319, allocations: 20.36 kB / 308.4 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.319, allocations: 6.859 kB / 308.4 MB, free: 7.836 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.815e-05/0.3191, allocations: 87.97 kB / 308.5 MB, free: 7.758 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3191, allocations: 384 / 308.5 MB, free: 7.758 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003328/0.3195, allocations: 17.44 kB / 308.5 MB, free: 7.754 MB / 250.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.0001458/0.3196, allocations: 99.61 kB / 308.6 MB, free: 7.664 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3198, allocations: 65.7 kB / 308.7 MB, free: 7.633 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3199, allocations: 0 / 308.7 MB, free: 7.633 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.3199, allocations: 32.92 kB / 308.7 MB, free: 7.617 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3202, allocations: 9.719 kB / 308.7 MB, free: 7.613 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009129/0.3212, allocations: 423.4 kB / 309.2 MB, free: 7.219 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.3216, allocations: 0.6927 MB / 309.9 MB, free: 6.516 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.3216, allocations: 12.09 kB / 309.9 MB, free: 6.508 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3217, allocations: 3.938 kB / 309.9 MB, free: 6.504 MB / 250.7 MB Notification: Performance of Templates: time 0.003396/0.3251, allocations: 0.9706 MB / 310.8 MB, free: 5.711 MB / 250.7 MB