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.828/1.828, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.729e-05, allocations: 0 / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07752/0.07757, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3233/0.401, allocations: 72.72 MB / 372.6 MB, free: 22.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.4012, allocations: 67.73 kB / 372.6 MB, free: 22.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009935/0.4112, allocations: 2.506 MB / 375.2 MB, free: 21.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.199e-06/0.4112, allocations: 1 kB / 375.2 MB, free: 21.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4112, allocations: 2.406 kB / 375.2 MB, free: 21.93 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.0004533/0.4117, allocations: 408.1 kB / 375.6 MB, free: 21.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4118, allocations: 9.594 kB / 375.6 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.4118, allocations: 15.31 kB / 375.6 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.412, allocations: 210.3 kB / 375.8 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.412, allocations: 9.219 kB / 375.8 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.4121, allocations: 15.19 kB / 375.8 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.4124, allocations: 129.1 kB / 375.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.4125, allocations: 1.281 kB / 375.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.4125, allocations: 5.188 kB / 375.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.979e-06/0.4125, allocations: 4.062 kB / 375.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.4127, allocations: 83.25 kB / 376 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.4136, allocations: 0.5319 MB / 376.6 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.4138, allocations: 68.59 kB / 376.6 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.4139, allocations: 23.39 kB / 376.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.4139, allocations: 2.844 kB / 376.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.4139, allocations: 31.72 kB / 376.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 3.27e-06/0.414, allocations: 1.188 kB / 376.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008662/0.4148, allocations: 0.5582 MB / 377.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.4149, allocations: 52.66 kB / 377.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.415, allocations: 113.4 kB / 377.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.415, allocations: 26.73 kB / 377.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.67e-05/0.4151, allocations: 212.4 kB / 377.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.4151, allocations: 43.44 kB / 377.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-06/0.4152, allocations: 3.688 kB / 377.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.4152, allocations: 318.8 kB / 378 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.4153, allocations: 28.22 kB / 378 MB, free: 19.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.4154, allocations: 77.09 kB / 378.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.4155, allocations: 43.16 kB / 378.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-06/0.4156, allocations: 1.031 kB / 378.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002852/0.4159, allocations: 140 kB / 378.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4159, allocations: 7.781 kB / 378.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.957e-06/0.4159, allocations: 1.031 kB / 378.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4159, allocations: 2.906 kB / 378.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.4162, allocations: 42.78 kB / 378.3 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.4162, allocations: 3.156 kB / 378.3 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.4163, allocations: 13.62 kB / 378.3 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.4164, allocations: 6.094 kB / 378.4 MB, free: 19.57 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 6.533e-05/0.4164, allocations: 110.9 kB / 378.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.4165, allocations: 17.3 kB / 378.5 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.4166, allocations: 14.23 kB / 378.5 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.076e-06/0.4166, allocations: 5.438 kB / 378.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.386e-06/0.4166, allocations: 1.625 kB / 378.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.462e-06/0.4166, allocations: 1.734 kB / 378.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.4172, allocations: 439.9 kB / 378.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.955e-06/0.4173, allocations: 2 kB / 378.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.4175, allocations: 28.84 kB / 379 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.757e-06/0.4175, allocations: 2.562 kB / 379 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.4175, allocations: 1.031 kB / 379 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.071e-06/0.4175, allocations: 0.9062 kB / 379 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.087e-06/0.4175, allocations: 1.594 kB / 379 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.4179, allocations: 263.5 kB / 379.2 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.4179, allocations: 90.06 kB / 379.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.4179, allocations: 1.062 kB / 379.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.4181, allocations: 7.719 kB / 379.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.4181, allocations: 7.891 kB / 379.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.4182, allocations: 7.016 kB / 379.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.272e-05/0.4182, allocations: 98.23 kB / 379.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.66e-07/0.4182, allocations: 0 / 379.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000398/0.4187, allocations: 35.66 kB / 379.5 MB, free: 18.73 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.0001239/0.4188, allocations: 101.8 kB / 379.6 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.419, allocations: 74.06 kB / 379.6 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.729e-06/0.419, allocations: 0 / 379.6 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.4191, allocations: 35.31 kB / 379.7 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.4194, allocations: 8.844 kB / 379.7 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/0.4201, allocations: 326.3 kB / 380 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.4203, allocations: 0.7191 MB / 380.7 MB, free: 17.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.4204, allocations: 14.75 kB / 380.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.506e-06/0.4204, allocations: 1.156 kB / 380.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003456/0.4239, allocations: 1.401 MB / 382.1 MB, free: 17.58 MB / 314.7 MB