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.76/1.76, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.789e-05, allocations: 4 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.08628, allocations: 38.78 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002673/0.08901, allocations: 1.553 MB / 268.4 MB, free: 15.56 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.09002, allocations: 439.6 kB / 268.9 MB, free: 15.12 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.09013, allocations: 4 kB / 268.9 MB, free: 15.12 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.227e-05/0.0902, allocations: 19.84 kB / 268.9 MB, free: 15.1 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.09035, allocations: 35.86 kB / 268.9 MB, free: 15.07 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.09053, allocations: 31.97 kB / 269 MB, free: 15.04 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.09072, allocations: 75.84 kB / 269 MB, free: 14.96 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.09089, allocations: 44.58 kB / 269.1 MB, free: 14.91 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.09102, allocations: 43.86 kB / 269.1 MB, free: 14.87 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.09116, allocations: 51.81 kB / 269.2 MB, free: 14.82 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.373e-05/0.09121, allocations: 8 kB / 269.2 MB, free: 14.81 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.09124, allocations: 4 kB / 269.2 MB, free: 14.81 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.09128, allocations: 19.92 kB / 269.2 MB, free: 14.79 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.09133, allocations: 12 kB / 269.2 MB, free: 14.78 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.09153, allocations: 119.9 kB / 269.3 MB, free: 14.66 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09155, allocations: 0 / 269.3 MB, free: 14.66 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.09156, allocations: 0 / 269.3 MB, free: 14.66 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.09158, allocations: 4 kB / 269.3 MB, free: 14.66 MB / 234.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.0006885/0.09228, allocations: 414.9 kB / 269.7 MB, free: 14.2 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.09233, allocations: 12.03 kB / 269.8 MB, free: 14.19 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.0924, allocations: 15.81 kB / 269.8 MB, free: 14.18 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.09265, allocations: 198.8 kB / 270 MB, free: 13.94 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.09269, allocations: 12 kB / 270 MB, free: 13.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.09275, allocations: 12 kB / 270 MB, free: 13.92 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.09318, allocations: 153.1 kB / 270.1 MB, free: 13.76 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.09322, allocations: 0 / 270.1 MB, free: 13.76 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.09325, allocations: 8 kB / 270.1 MB, free: 13.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.09327, allocations: 4 kB / 270.2 MB, free: 13.75 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.09361, allocations: 91.94 kB / 270.2 MB, free: 13.66 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.09474, allocations: 0.5406 MB / 270.8 MB, free: 13.06 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.095, allocations: 78.5 kB / 270.9 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.09503, allocations: 0 / 270.9 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.09507, allocations: 34.55 kB / 270.9 MB, free: 12.93 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.09509, allocations: 0 / 270.9 MB, free: 12.93 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.001408/0.0965, allocations: 0.6102 MB / 271.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.09658, allocations: 55.34 kB / 271.6 MB, free: 12.16 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.09672, allocations: 125.2 kB / 271.7 MB, free: 12.03 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.09675, allocations: 25.7 kB / 271.7 MB, free: 12 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.09692, allocations: 206.4 kB / 271.9 MB, free: 11.8 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.09697, allocations: 31.47 kB / 271.9 MB, free: 11.77 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.09699, allocations: 4 kB / 271.9 MB, free: 11.76 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.09714, allocations: 322.8 kB / 272.3 MB, free: 11.44 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.09728, allocations: 27.98 kB / 272.3 MB, free: 11.41 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.09747, allocations: 90.78 kB / 272.4 MB, free: 11.3 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.09765, allocations: 51.92 kB / 272.4 MB, free: 11.25 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.09766, allocations: 0 / 272.4 MB, free: 11.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004169/0.09809, allocations: 154.4 kB / 272.6 MB, free: 11.09 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.09813, allocations: 13.83 kB / 272.6 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.09814, allocations: 0 / 272.6 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.09817, allocations: 4 kB / 272.6 MB, free: 11.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.09846, allocations: 31.98 kB / 272.6 MB, free: 11.04 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.09849, allocations: 12.12 kB / 272.6 MB, free: 11.03 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.09862, allocations: 11.98 kB / 272.6 MB, free: 11.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.09865, allocations: 8 kB / 272.7 MB, free: 11.01 MB / 234.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.0001265/0.09879, allocations: 121.8 kB / 272.8 MB, free: 10.88 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.09884, allocations: 8 kB / 272.8 MB, free: 10.88 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.0989, allocations: 20.61 kB / 272.8 MB, free: 10.86 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.09892, allocations: 0 / 272.8 MB, free: 10.86 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.09893, allocations: 3.938 kB / 272.8 MB, free: 10.85 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.09895, allocations: 7.984 kB / 272.8 MB, free: 10.84 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/0.09977, allocations: 455.9 kB / 273.3 MB, free: 10.34 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.09979, allocations: 0 / 273.3 MB, free: 10.34 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.1, allocations: 23.98 kB / 273.3 MB, free: 10.31 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.1001, allocations: 8.062 kB / 273.3 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1001, allocations: 4 kB / 273.3 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1001, allocations: 0 / 273.3 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1001, allocations: 0 / 273.3 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.1006, allocations: 288.3 kB / 273.6 MB, free: 9.984 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.1007, allocations: 89.03 kB / 273.7 MB, free: 9.879 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.1008, allocations: 8 kB / 273.7 MB, free: 9.871 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1009, allocations: 8.031 kB / 273.7 MB, free: 9.863 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.101, allocations: 7.984 kB / 273.7 MB, free: 9.855 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.101, allocations: 4 kB / 273.7 MB, free: 9.852 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.565e-05/0.1011, allocations: 111.3 kB / 273.8 MB, free: 9.742 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1011, allocations: 0 / 273.8 MB, free: 9.742 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.1015, allocations: 28 kB / 273.8 MB, free: 9.715 MB / 234.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.0001336/0.1016, allocations: 99.19 kB / 273.9 MB, free: 9.609 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.102, allocations: 88.28 kB / 274 MB, free: 9.523 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.102, allocations: 4 kB / 274 MB, free: 9.52 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1022, allocations: 39.92 kB / 274.1 MB, free: 9.48 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1025, allocations: 18.45 kB / 274.1 MB, free: 9.465 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.1036, allocations: 0.5287 MB / 274.6 MB, free: 8.902 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.104, allocations: 0.716 MB / 275.3 MB, free: 8.16 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.1041, allocations: 15.44 kB / 275.3 MB, free: 8.145 MB / 234.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1041, allocations: 7.938 kB / 275.3 MB, free: 8.137 MB / 234.7 MB Notification: Performance of Templates: time 0.00417/0.1082, allocations: 1.408 MB / 276.7 MB, free: 6.727 MB / 234.7 MB