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.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 1.64/1.64, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.329e-05, allocations: 7.938 kB / 225 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2077, allocations: 38.75 MB / 263.7 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1035/0.3113, allocations: 67.45 MB / 331.2 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.3115, allocations: 63.97 kB / 331.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01/0.3215, allocations: 2.502 MB / 333.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3216, allocations: 0 / 333.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.3216, allocations: 8 kB / 333.8 MB, free: 3.75 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005759/0.3222, allocations: 406.1 kB / 334.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3223, allocations: 15.97 kB / 334.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.3223, allocations: 15.81 kB / 334.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.3226, allocations: 195 kB / 334.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3226, allocations: 12 kB / 334.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.3227, allocations: 19.95 kB / 334.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.323, allocations: 133.4 kB / 334.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3231, allocations: 0 / 334.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.3231, allocations: 8 kB / 334.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-06/0.3231, allocations: 0 / 334.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.3234, allocations: 87.72 kB / 334.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3244, allocations: 0.5329 MB / 335.2 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3246, allocations: 66.5 kB / 335.2 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.3247, allocations: 28.8 kB / 335.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3247, allocations: 8 kB / 335.3 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3248, allocations: 34.56 kB / 335.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.369e-06/0.3248, allocations: 0 / 335.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001033/0.3258, allocations: 0.5438 MB / 335.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3259, allocations: 51.41 kB / 335.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.326, allocations: 124.4 kB / 336 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.3261, allocations: 29.7 kB / 336 MB, free: 1.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3262, allocations: 206.3 kB / 336.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.3263, allocations: 39.45 kB / 336.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-06/0.3263, allocations: 0 / 336.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3265, allocations: 322.8 kB / 336.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.3266, allocations: 24 kB / 336.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3267, allocations: 92.34 kB / 336.7 MB, free: 484 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.3268, allocations: 32.73 kB / 336.8 MB, free: 452 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.039e-06/0.3268, allocations: 4 kB / 336.8 MB, free: 448 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003115/0.3272, allocations: 145.3 kB / 336.9 MB, free: 296 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3272, allocations: 8 kB / 336.9 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.789e-06/0.3272, allocations: 0 / 336.9 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3272, allocations: 4 kB / 336.9 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3275, allocations: 35.92 kB / 336.9 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.3275, allocations: 7.953 kB / 337 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3276, allocations: 16.19 kB / 337 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.3277, allocations: 8 kB / 337 MB, free: 216 kB / 282.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 9.985e-05/0.3278, allocations: 112.9 kB / 337.1 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.3278, allocations: 7.906 kB / 337.1 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.3279, allocations: 16.62 kB / 337.1 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-06/0.3279, allocations: 0 / 337.1 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.515e-06/0.3279, allocations: 0 / 337.1 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.706e-06/0.3279, allocations: 3.953 kB / 337.1 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.3287, allocations: 440 kB / 337.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-06/0.3287, allocations: 0 / 337.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.3289, allocations: 23.98 kB / 337.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.416e-06/0.3289, allocations: 7.953 kB / 337.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.329, allocations: 7.984 kB / 337.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.555e-06/0.329, allocations: 0 / 337.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.329, allocations: 7.938 kB / 337.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.3294, allocations: 264.5 kB / 337.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.3295, allocations: 85.05 kB / 337.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.3296, allocations: 11.98 kB / 337.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3297, allocations: 8.062 kB / 337.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.3298, allocations: 7.984 kB / 338 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3298, allocations: 4 kB / 338 MB, free: 15.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.3299, allocations: 95.28 kB / 338.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.3299, allocations: 0 / 338.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003794/0.3303, allocations: 28 kB / 338.1 MB, free: 14.98 MB / 298.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.0001531/0.3304, allocations: 106.2 kB / 338.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3307, allocations: 80 kB / 338.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.662e-06/0.3307, allocations: 192 / 338.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/0.3308, allocations: 39.88 kB / 338.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3311, allocations: 15.94 kB / 338.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/0.3319, allocations: 322 kB / 338.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.3323, allocations: 0.716 MB / 339.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.3324, allocations: 11.44 kB / 339.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of SimCode: time 1.618e-06/0.3324, allocations: 8 kB / 339.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of Templates: time 0.003578/0.336, allocations: 1.395 MB / 340.8 MB, free: 12.23 MB / 298.7 MB