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.93/1.93, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.627e-05, allocations: 2.156 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07869/0.07874, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.4588, allocations: 72.72 MB / 372.6 MB, free: 22.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4591, allocations: 68.23 kB / 372.6 MB, free: 22.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009908/0.469, allocations: 2.502 MB / 375.1 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.938e-06/0.469, allocations: 1.25 kB / 375.1 MB, free: 21.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.4691, allocations: 2.656 kB / 375.1 MB, free: 21.86 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.0004412/0.4695, allocations: 401.1 kB / 375.5 MB, free: 21.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4696, allocations: 12.75 kB / 375.5 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.4696, allocations: 16.03 kB / 375.5 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.4698, allocations: 204.5 kB / 375.7 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4698, allocations: 9.812 kB / 375.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.4699, allocations: 17.5 kB / 375.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.4702, allocations: 127.5 kB / 375.9 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.4702, allocations: 3.391 kB / 375.9 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.4703, allocations: 8.5 kB / 375.9 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.731e-06/0.4703, allocations: 8.359 kB / 375.9 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.4705, allocations: 81.56 kB / 376 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.4714, allocations: 0.5289 MB / 376.5 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.4716, allocations: 70.23 kB / 376.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.4717, allocations: 23.8 kB / 376.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.4717, allocations: 1.312 kB / 376.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.4718, allocations: 37.67 kB / 376.7 MB, free: 20.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.739e-06/0.4718, allocations: 0 / 376.7 MB, free: 20.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008712/0.4727, allocations: 0.5598 MB / 377.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.4727, allocations: 53.62 kB / 377.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.4728, allocations: 114.8 kB / 377.4 MB, free: 20.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.4728, allocations: 27.14 kB / 377.4 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.4729, allocations: 210.1 kB / 377.6 MB, free: 19.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.473, allocations: 40.03 kB / 377.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-06/0.473, allocations: 7.875 kB / 377.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.473, allocations: 318.4 kB / 378 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.4731, allocations: 23.59 kB / 378 MB, free: 19.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.793e-05/0.4732, allocations: 83.27 kB / 378.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.86e-05/0.4733, allocations: 40.62 kB / 378.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.903e-06/0.4734, allocations: 0.9688 kB / 378.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002965/0.4737, allocations: 140.2 kB / 378.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4737, allocations: 5.812 kB / 378.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.886e-06/0.4737, allocations: 6.375 kB / 378.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4738, allocations: 3.469 kB / 378.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.474, allocations: 42.08 kB / 378.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.474, allocations: 5.234 kB / 378.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.4741, allocations: 11.56 kB / 378.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.4742, allocations: 8.938 kB / 378.3 MB, free: 19.5 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.703e-05/0.4743, allocations: 112 kB / 378.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.4743, allocations: 13.94 kB / 378.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.4744, allocations: 17.97 kB / 378.5 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.517e-06/0.4744, allocations: 1.281 kB / 378.5 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.582e-06/0.4744, allocations: 1.594 kB / 378.5 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.039e-06/0.4744, allocations: 0 / 378.5 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.475, allocations: 433.9 kB / 378.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.059e-06/0.4751, allocations: 4.109 kB / 378.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.4753, allocations: 34.42 kB / 378.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-05/0.4753, allocations: 1.281 kB / 378.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.4753, allocations: 1.469 kB / 378.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.212e-06/0.4753, allocations: 1.5 kB / 378.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.32e-06/0.4754, allocations: 0 / 378.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.4757, allocations: 266.3 kB / 379.2 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.4757, allocations: 86.16 kB / 379.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4758, allocations: 5.531 kB / 379.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4759, allocations: 3.25 kB / 379.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.476, allocations: 11.61 kB / 379.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.476, allocations: 7 kB / 379.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.4761, allocations: 98.39 kB / 379.4 MB, free: 18.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4761, allocations: 0 / 379.4 MB, free: 18.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003933/0.4765, allocations: 30.59 kB / 379.4 MB, free: 18.65 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.0001176/0.4766, allocations: 107.8 kB / 379.5 MB, free: 18.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.4768, allocations: 77.53 kB / 379.6 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.088e-06/0.4769, allocations: 0 / 379.6 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.477, allocations: 34.44 kB / 379.7 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.4772, allocations: 21.95 kB / 379.7 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.4779, allocations: 322.4 kB / 380 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.4781, allocations: 0.7147 MB / 380.7 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.4782, allocations: 18.53 kB / 380.7 MB, free: 17.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.684e-06/0.4782, allocations: 0 / 380.7 MB, free: 17.59 MB / 314.7 MB Notification: Performance of Templates: time 0.003466/0.4817, allocations: 1.415 MB / 382.1 MB, free: 17.49 MB / 314.7 MB