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 0.9512/0.9512, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.855e-05, allocations: 4 kB / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1415, allocations: 25.16 MB / 176.5 MB, free: 32 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05314/0.1947, allocations: 34.64 MB / 211.2 MB, free: 14.84 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.1949, allocations: 63.97 kB / 211.2 MB, free: 14.77 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008586/0.2035, allocations: 2.188 MB / 213.4 MB, free: 12.57 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2036, allocations: 0 / 213.4 MB, free: 12.57 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.2036, allocations: 4 kB / 213.4 MB, free: 12.57 MB / 186.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.0005341/0.2041, allocations: 402 kB / 213.8 MB, free: 12.13 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2042, allocations: 8.031 kB / 213.8 MB, free: 12.12 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.2043, allocations: 15.81 kB / 213.9 MB, free: 12.11 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.2045, allocations: 186.9 kB / 214 MB, free: 11.89 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2046, allocations: 16 kB / 214.1 MB, free: 11.87 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.2046, allocations: 12 kB / 214.1 MB, free: 11.86 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.2049, allocations: 113.6 kB / 214.2 MB, free: 11.74 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2049, allocations: 3.906 kB / 214.2 MB, free: 11.74 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.205, allocations: 8 kB / 214.2 MB, free: 11.73 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.226e-06/0.205, allocations: 3.953 kB / 214.2 MB, free: 11.73 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.2052, allocations: 63.98 kB / 214.3 MB, free: 11.66 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000942/0.2061, allocations: 0.4901 MB / 214.7 MB, free: 11.12 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.2063, allocations: 58.56 kB / 214.8 MB, free: 11.05 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/0.2064, allocations: 29.61 kB / 214.8 MB, free: 11.02 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2064, allocations: 0 / 214.8 MB, free: 11.02 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2064, allocations: 38.52 kB / 214.9 MB, free: 10.97 MB / 186.7 MB Notification: Performance of pre-optimization done (n=8): time 1.968e-06/0.2065, allocations: 0 / 214.9 MB, free: 10.97 MB / 186.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009915/0.2075, allocations: 0.5206 MB / 215.4 MB, free: 10.36 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.2075, allocations: 59.41 kB / 215.4 MB, free: 10.29 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2077, allocations: 119.9 kB / 215.6 MB, free: 10.16 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2077, allocations: 25.7 kB / 215.6 MB, free: 10.13 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2078, allocations: 202.3 kB / 215.8 MB, free: 9.934 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.2079, allocations: 35.69 kB / 215.8 MB, free: 9.898 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.2079, allocations: 3.938 kB / 215.8 MB, free: 9.895 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2081, allocations: 318.8 kB / 216.1 MB, free: 9.574 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.2082, allocations: 24 kB / 216.2 MB, free: 9.551 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2083, allocations: 87.81 kB / 216.2 MB, free: 9.438 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.2084, allocations: 43.91 kB / 216.3 MB, free: 9.395 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.757e-06/0.2085, allocations: 4 kB / 216.3 MB, free: 9.391 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003076/0.2088, allocations: 125.5 kB / 216.4 MB, free: 9.262 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2088, allocations: 12.73 kB / 216.4 MB, free: 9.25 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.845e-06/0.2088, allocations: 0 / 216.4 MB, free: 9.25 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.2089, allocations: 7.938 kB / 216.4 MB, free: 9.242 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.2091, allocations: 39.92 kB / 216.5 MB, free: 9.203 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.2091, allocations: 8.188 kB / 216.5 MB, free: 9.195 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2092, allocations: 4 kB / 216.5 MB, free: 9.191 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.2093, allocations: 12 kB / 216.5 MB, free: 9.18 MB / 186.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.0001002/0.2094, allocations: 116.8 kB / 216.6 MB, free: 9.059 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.2094, allocations: 11.91 kB / 216.6 MB, free: 9.047 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.2095, allocations: 12.58 kB / 216.6 MB, free: 9.035 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-06/0.2095, allocations: 0 / 216.6 MB, free: 9.035 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.16e-06/0.2095, allocations: 4 kB / 216.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2095, allocations: 4 kB / 216.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.2102, allocations: 416 kB / 217.1 MB, free: 8.559 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-06/0.2102, allocations: 0 / 217.1 MB, free: 8.559 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.2104, allocations: 23.98 kB / 217.1 MB, free: 8.535 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.2105, allocations: 64 / 217.1 MB, free: 8.535 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2105, allocations: 8 kB / 217.1 MB, free: 8.527 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2105, allocations: 8 kB / 217.1 MB, free: 8.52 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-06/0.2105, allocations: 0 / 217.1 MB, free: 8.52 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.2109, allocations: 256.4 kB / 217.3 MB, free: 8.234 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.211, allocations: 85.05 kB / 217.4 MB, free: 8.133 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.211, allocations: 16.05 kB / 217.4 MB, free: 8.117 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2112, allocations: 4 kB / 217.4 MB, free: 8.113 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.2112, allocations: 4 kB / 217.4 MB, free: 8.109 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.2112, allocations: 3.984 kB / 217.5 MB, free: 8.105 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.2113, allocations: 104.6 kB / 217.6 MB, free: 8.004 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.2114, allocations: 0 / 217.6 MB, free: 8.004 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.2118, allocations: 28 kB / 217.6 MB, free: 7.977 MB / 186.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.0001431/0.2119, allocations: 103.2 kB / 217.7 MB, free: 7.863 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.2121, allocations: 71.88 kB / 217.8 MB, free: 7.793 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.674e-06/0.2121, allocations: 96 / 217.8 MB, free: 7.793 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.2122, allocations: 35.88 kB / 217.8 MB, free: 7.758 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.2125, allocations: 11.98 kB / 217.8 MB, free: 7.746 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.2133, allocations: 310.1 kB / 218.1 MB, free: 7.414 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.2137, allocations: 0.7121 MB / 218.8 MB, free: 6.676 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.2138, allocations: 15.44 kB / 218.8 MB, free: 6.66 MB / 186.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2138, allocations: 0 / 218.8 MB, free: 6.66 MB / 186.7 MB Notification: Performance of Templates: time 0.003372/0.2172, allocations: 1.299 MB / 220.1 MB, free: 5.359 MB / 186.7 MB