Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.335e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 50.41 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/0.4821, allocations: 76.73 MB / 419.3 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4824, allocations: 73.27 kB / 419.4 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003964/0.4864, allocations: 1.151 MB / 420.5 MB, free: 328 kB / 330.7 MB Notification: Performance of FrontEnd: time 5.516e-06/0.4864, allocations: 0 / 420.5 MB, free: 328 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4865, allocations: 11.94 kB / 420.5 MB, free: 316 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003956/0.4869, allocations: 341.1 kB / 420.9 MB, free: 15.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4869, allocations: 8.031 kB / 420.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.487, allocations: 15.84 kB / 420.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.4872, allocations: 186.9 kB / 421.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.4873, allocations: 7.125 kB / 421.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.4873, allocations: 4 kB / 421.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.4876, allocations: 113.8 kB / 421.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.973e-06/0.4876, allocations: 0 / 421.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.493e-06/0.4876, allocations: 0 / 421.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4876, allocations: 4 kB / 421.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.082e-05/0.4877, allocations: 11.39 kB / 421.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.4881, allocations: 265.1 kB / 421.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.4883, allocations: 130.2 kB / 421.6 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.4884, allocations: 28.02 kB / 421.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.4884, allocations: 4 kB / 421.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.4885, allocations: 30.56 kB / 421.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.47e-06/0.4885, allocations: 4 kB / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000178/0.4887, allocations: 60.23 kB / 421.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.4887, allocations: 81.11 kB / 421.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4889, allocations: 119 kB / 421.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4889, allocations: 25.7 kB / 421.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.489, allocations: 157.8 kB / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.489, allocations: 0 / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-06/0.4891, allocations: 0 / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4892, allocations: 318.8 kB / 422.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.4893, allocations: 7.188 kB / 422.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-05/0.4893, allocations: 31.25 kB / 422.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.4894, allocations: 13.16 kB / 422.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-06/0.4894, allocations: 0 / 422.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000133/0.4895, allocations: 53.06 kB / 422.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4895, allocations: 4 kB / 422.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.316e-06/0.4896, allocations: 0 / 422.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4896, allocations: 7.953 kB / 422.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.4897, allocations: 12.12 kB / 422.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4897, allocations: 7.984 kB / 422.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.4898, allocations: 7.906 kB / 422.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.4898, allocations: 0 / 422.5 MB, free: 14.1 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.76e-05/0.4899, allocations: 112.5 kB / 422.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.49, allocations: 49.25 kB / 422.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.49, allocations: 4.031 kB / 422.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.642e-06/0.4901, allocations: 4 kB / 422.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.646e-06/0.4901, allocations: 7.953 kB / 422.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.625e-06/0.4901, allocations: 0 / 422.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.4903, allocations: 171.9 kB / 422.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-06/0.4903, allocations: 0 / 422.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.885e-05/0.4904, allocations: 12.17 kB / 422.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4904, allocations: 4 kB / 422.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.989e-06/0.4905, allocations: 0 / 422.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4905, allocations: 0 / 422.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.503e-06/0.4905, allocations: 3.984 kB / 422.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.4907, allocations: 172.5 kB / 423.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.4908, allocations: 95.56 kB / 423.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.4908, allocations: 0 / 423.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.4909, allocations: 7.375 kB / 423.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.4909, allocations: 3.953 kB / 423.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.491, allocations: 0 / 423.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.908e-05/0.4911, allocations: 111.5 kB / 423.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.4911, allocations: 0 / 423.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.4914, allocations: 8 kB / 423.3 MB, free: 13.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001182/0.4915, allocations: 99.23 kB / 423.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.263e-05/0.4916, allocations: 19.31 kB / 423.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.308e-06/0.4916, allocations: 3.375 kB / 423.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.9e-05/0.4917, allocations: 4 kB / 423.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.492, allocations: 23.53 kB / 423.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.4923, allocations: 130.7 kB / 423.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.4927, allocations: 0.6957 MB / 424.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.4927, allocations: 7.438 kB / 424.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of SimCode: time 1.348e-06/0.4927, allocations: 0 / 424.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of Templates: time 0.002268/0.495, allocations: 0.6656 MB / 424.9 MB, free: 11.59 MB / 346.7 MB