Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.486e-05, allocations: 8 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2495, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.3634, allocations: 72.06 MB / 366.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.3637, allocations: 71.91 kB / 366.2 MB, free: 9.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009814/0.3735, allocations: 2.479 MB / 368.7 MB, free: 7.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.191e-06/0.3736, allocations: 0 / 368.7 MB, free: 7.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.3736, allocations: 4 kB / 368.7 MB, free: 7.367 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005808/0.3742, allocations: 406.1 kB / 369.1 MB, free: 6.926 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3742, allocations: 12.03 kB / 369.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.3743, allocations: 15.81 kB / 369.1 MB, free: 6.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3746, allocations: 195 kB / 369.3 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3746, allocations: 4 kB / 369.3 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.3747, allocations: 15.98 kB / 369.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002301/0.3749, allocations: 75.92 kB / 369.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.3752, allocations: 109.4 kB / 369.5 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3752, allocations: 4 kB / 369.5 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3752, allocations: 0 / 369.5 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3753, allocations: 4 kB / 369.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.3763, allocations: 0.4905 MB / 370 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3764, allocations: 58.56 kB / 370.1 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.3765, allocations: 24.86 kB / 370.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3765, allocations: 3.984 kB / 370.1 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3766, allocations: 38.56 kB / 370.2 MB, free: 5.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/0.3766, allocations: 0 / 370.2 MB, free: 5.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.001019/0.3776, allocations: 0.5363 MB / 370.7 MB, free: 5.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3777, allocations: 55.41 kB / 370.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3778, allocations: 114.2 kB / 370.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3779, allocations: 25.7 kB / 370.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.378, allocations: 206.2 kB / 371.1 MB, free: 4.727 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.3781, allocations: 39.45 kB / 371.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-06/0.3781, allocations: 0 / 371.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3783, allocations: 318.8 kB / 371.4 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.3784, allocations: 24 kB / 371.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3785, allocations: 70.88 kB / 371.5 MB, free: 4.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.3786, allocations: 39.92 kB / 371.6 MB, free: 4.211 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.409e-06/0.3786, allocations: 0 / 371.6 MB, free: 4.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000291/0.3789, allocations: 129.6 kB / 371.7 MB, free: 4.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3789, allocations: 4 kB / 371.7 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.379, allocations: 7.953 kB / 371.7 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.379, allocations: 0 / 371.7 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.3792, allocations: 39.92 kB / 371.7 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.3792, allocations: 4 kB / 371.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3794, allocations: 7.906 kB / 371.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.3794, allocations: 7.984 kB / 371.8 MB, free: 4.008 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001017/0.3795, allocations: 112.8 kB / 371.9 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.3796, allocations: 15.91 kB / 371.9 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.3796, allocations: 8.625 kB / 371.9 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3797, allocations: 7.953 kB / 371.9 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.43e-06/0.3797, allocations: 7.938 kB / 371.9 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.072e-06/0.3797, allocations: 0 / 371.9 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.3804, allocations: 392.8 kB / 372.3 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.099e-06/0.3804, allocations: 4 kB / 372.3 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.3806, allocations: 27.94 kB / 372.3 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.663e-06/0.3806, allocations: 0 / 372.3 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3806, allocations: 0 / 372.3 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.799e-06/0.3807, allocations: 4 kB / 372.3 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3807, allocations: 0 / 372.3 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3811, allocations: 248.5 kB / 372.6 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.3811, allocations: 85.05 kB / 372.7 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3812, allocations: 4 kB / 372.7 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.3813, allocations: 4 kB / 372.7 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.3814, allocations: 7.984 kB / 372.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3814, allocations: 12 kB / 372.7 MB, free: 2.977 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.63e-05/0.3815, allocations: 96.81 kB / 372.8 MB, free: 2.883 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.3815, allocations: 4 kB / 372.8 MB, free: 2.879 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003867/0.3819, allocations: 23.94 kB / 372.8 MB, free: 2.855 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000152/0.3821, allocations: 99.19 kB / 372.9 MB, free: 2.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3823, allocations: 67.92 kB / 373 MB, free: 2.684 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.489e-06/0.3823, allocations: 4.375 kB / 373 MB, free: 2.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.3824, allocations: 35.94 kB / 373 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3827, allocations: 9.984 kB / 373 MB, free: 2.637 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.3835, allocations: 314.2 kB / 373.3 MB, free: 2.293 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.3839, allocations: 0.7197 MB / 374 MB, free: 1.547 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.384, allocations: 11.44 kB / 374.1 MB, free: 1.535 MB / 314.7 MB Notification: Performance of SimCode: time 1.62e-06/0.384, allocations: 0 / 374.1 MB, free: 1.535 MB / 314.7 MB Notification: Performance of Templates: time 0.003629/0.3876, allocations: 1.396 MB / 375.5 MB, free: 140 kB / 314.7 MB