Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 1.199/1.199, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.796e-05, allocations: 0 / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05577/0.05583, allocations: 25.18 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002434/0.05832, allocations: 1.351 MB / 181 MB, free: 8.266 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.05926, allocations: 371.9 kB / 181.4 MB, free: 7.898 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.05938, allocations: 4 kB / 181.4 MB, free: 7.895 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.05944, allocations: 11.92 kB / 181.4 MB, free: 7.883 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.05957, allocations: 19.94 kB / 181.4 MB, free: 7.863 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.05975, allocations: 35.89 kB / 181.5 MB, free: 7.828 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.05995, allocations: 63.86 kB / 181.5 MB, free: 7.766 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.06011, allocations: 40.23 kB / 181.6 MB, free: 7.723 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.06025, allocations: 39.91 kB / 181.6 MB, free: 7.684 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.06037, allocations: 35.84 kB / 181.6 MB, free: 7.648 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.03e-05/0.06041, allocations: 8 kB / 181.7 MB, free: 7.641 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.06044, allocations: 4 kB / 181.7 MB, free: 7.637 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.06048, allocations: 15.92 kB / 181.7 MB, free: 7.621 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.06052, allocations: 8 kB / 181.7 MB, free: 7.613 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.06074, allocations: 108 kB / 181.8 MB, free: 7.508 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.06076, allocations: 4 kB / 181.8 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.06077, allocations: 0 / 181.8 MB, free: 7.504 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.06079, allocations: 0 / 181.8 MB, free: 7.504 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006882/0.06148, allocations: 391.2 kB / 182.2 MB, free: 7.074 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.06154, allocations: 12.03 kB / 182.2 MB, free: 7.062 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.0616, allocations: 11.81 kB / 182.2 MB, free: 7.051 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.06187, allocations: 194.9 kB / 182.4 MB, free: 6.82 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.0619, allocations: 12 kB / 182.4 MB, free: 6.809 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.06196, allocations: 15.91 kB / 182.4 MB, free: 6.793 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.06235, allocations: 133.5 kB / 182.5 MB, free: 6.656 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.06239, allocations: 3.938 kB / 182.5 MB, free: 6.652 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.06242, allocations: 4 kB / 182.5 MB, free: 6.648 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.06243, allocations: 4 kB / 182.6 MB, free: 6.645 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.06273, allocations: 75.95 kB / 182.6 MB, free: 6.57 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.06378, allocations: 490 kB / 183.1 MB, free: 6.035 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.06405, allocations: 86.42 kB / 183.2 MB, free: 5.941 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.06409, allocations: 0 / 183.2 MB, free: 5.941 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.06413, allocations: 30.56 kB / 183.2 MB, free: 5.902 MB / 154.7 MB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.06414, allocations: 0 / 183.2 MB, free: 5.902 MB / 154.7 MB Notification: Performance of matching and sorting (n=10): time 0.001426/0.06558, allocations: 0.5836 MB / 183.8 MB, free: 5.227 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.06565, allocations: 55.41 kB / 183.9 MB, free: 5.16 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.06581, allocations: 113.3 kB / 184 MB, free: 5.039 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.06585, allocations: 29.7 kB / 184 MB, free: 5.004 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.06599, allocations: 202.5 kB / 184.2 MB, free: 4.805 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.06605, allocations: 39.44 kB / 184.2 MB, free: 4.766 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.06607, allocations: 4 kB / 184.2 MB, free: 4.762 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.06624, allocations: 314.8 kB / 184.5 MB, free: 4.445 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.06638, allocations: 31.98 kB / 184.6 MB, free: 4.414 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.06657, allocations: 91.7 kB / 184.7 MB, free: 4.297 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.06675, allocations: 47.98 kB / 184.7 MB, free: 4.25 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.06677, allocations: 0 / 184.7 MB, free: 4.25 MB / 154.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004403/0.06721, allocations: 157.3 kB / 184.9 MB, free: 4.09 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.06725, allocations: 4 kB / 184.9 MB, free: 4.086 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.06727, allocations: 8.109 kB / 184.9 MB, free: 4.078 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.0673, allocations: 3.984 kB / 184.9 MB, free: 4.074 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.06758, allocations: 44.16 kB / 184.9 MB, free: 4.031 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.06761, allocations: 3.984 kB / 184.9 MB, free: 4.027 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.06775, allocations: 12 kB / 184.9 MB, free: 4.016 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.06778, allocations: 4 kB / 184.9 MB, free: 4.012 MB / 154.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001365/0.06793, allocations: 129.7 kB / 185.1 MB, free: 3.875 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.06798, allocations: 11.86 kB / 185.1 MB, free: 3.863 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.06804, allocations: 16.7 kB / 185.1 MB, free: 3.852 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.06805, allocations: 3.938 kB / 185.1 MB, free: 3.848 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.06808, allocations: 8 kB / 185.1 MB, free: 3.84 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.06809, allocations: 0 / 185.1 MB, free: 3.84 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.06893, allocations: 428 kB / 185.5 MB, free: 3.359 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.06895, allocations: 0 / 185.5 MB, free: 3.359 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.0692, allocations: 28.05 kB / 185.6 MB, free: 3.332 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.06922, allocations: 0 / 185.6 MB, free: 3.332 MB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.06925, allocations: 4 kB / 185.6 MB, free: 3.328 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.06926, allocations: 4 kB / 185.6 MB, free: 3.324 MB / 154.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.06927, allocations: 0 / 185.6 MB, free: 3.324 MB / 154.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.06981, allocations: 276.4 kB / 185.8 MB, free: 3.02 MB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.0699, allocations: 85.05 kB / 185.9 MB, free: 2.918 MB / 154.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.06995, allocations: 4.188 kB / 185.9 MB, free: 2.914 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.07008, allocations: 7.984 kB / 185.9 MB, free: 2.906 MB / 154.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.07014, allocations: 11.89 kB / 185.9 MB, free: 2.895 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.07017, allocations: 8.062 kB / 185.9 MB, free: 2.887 MB / 154.7 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.07027, allocations: 103.2 kB / 186 MB, free: 2.785 MB / 154.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.07028, allocations: 0 / 186 MB, free: 2.785 MB / 154.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.07065, allocations: 24 kB / 186.1 MB, free: 2.762 MB / 154.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 (10): * Single equations (assignments): 10 * 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.0001447/0.0708, allocations: 95.25 kB / 186.2 MB, free: 2.656 MB / 154.7 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.07116, allocations: 88.22 kB / 186.3 MB, free: 2.57 MB / 154.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.07118, allocations: 0 / 186.3 MB, free: 2.57 MB / 154.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.07132, allocations: 39.92 kB / 186.3 MB, free: 2.531 MB / 154.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.07161, allocations: 11.98 kB / 186.3 MB, free: 2.52 MB / 154.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.07272, allocations: 0.4995 MB / 186.8 MB, free: 1.98 MB / 154.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.07317, allocations: 0.7082 MB / 187.5 MB, free: 1.246 MB / 154.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.07325, allocations: 15.44 kB / 187.5 MB, free: 1.23 MB / 154.7 MB Notification: Performance of SimCode: time 1.433e-06/0.07327, allocations: 0 / 187.5 MB, free: 1.23 MB / 154.7 MB Notification: Performance of Templates: time 0.00412/0.0774, allocations: 1.306 MB / 188.8 MB, free: 15.93 MB / 170.7 MB