Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.595e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.0898, allocations: 50.42 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3997/0.4895, allocations: 77.29 MB / 419.8 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4898, allocations: 82.38 kB / 419.9 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008449/0.4983, allocations: 2.112 MB / 422 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.841e-06/0.4983, allocations: 0 / 422 MB, free: 15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4984, allocations: 0 / 422 MB, free: 15 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004357/0.4988, allocations: 358.2 kB / 422.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4989, allocations: 12.03 kB / 422.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.4989, allocations: 11.86 kB / 422.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.4992, allocations: 198.7 kB / 422.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4992, allocations: 4 kB / 422.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.4992, allocations: 0 / 422.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.4995, allocations: 105.2 kB / 422.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4995, allocations: 7.984 kB / 422.7 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4996, allocations: 3.953 kB / 422.7 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-06/0.4996, allocations: 0 / 422.7 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.4996, allocations: 15.75 kB / 422.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.5001, allocations: 278.2 kB / 423 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.5003, allocations: 71.47 kB / 423.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.5003, allocations: 26.45 kB / 423.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.5004, allocations: 7.953 kB / 423.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.5004, allocations: 30.56 kB / 423.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.192e-06/0.5004, allocations: 0 / 423.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002043/0.5007, allocations: 61.34 kB / 423.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.5008, allocations: 110.7 kB / 423.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.5009, allocations: 135.3 kB / 423.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.501, allocations: 29.64 kB / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.501, allocations: 154.4 kB / 423.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.5011, allocations: 3.906 kB / 423.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-06/0.5011, allocations: 3.938 kB / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5013, allocations: 314.8 kB / 423.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.5013, allocations: 7.75 kB / 424 MB, free: 12.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.835e-05/0.5014, allocations: 35.38 kB / 424 MB, free: 12.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.5014, allocations: 7.984 kB / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-06/0.5014, allocations: 0 / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001284/0.5016, allocations: 57.33 kB / 424 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5016, allocations: 4 kB / 424.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.234e-06/0.5016, allocations: 4.125 kB / 424.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5016, allocations: 4 kB / 424.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.5017, allocations: 8 kB / 424.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.5018, allocations: 7.938 kB / 424.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.5018, allocations: 7.984 kB / 424.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.5019, allocations: 4 kB / 424.1 MB, free: 12.77 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.607e-05/0.502, allocations: 104.9 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.5021, allocations: 53.31 kB / 424.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.5021, allocations: 19.64 kB / 424.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.274e-06/0.5022, allocations: 0 / 424.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5022, allocations: 0 / 424.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-06/0.5022, allocations: 0 / 424.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.5024, allocations: 172 kB / 424.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-06/0.5024, allocations: 3.938 kB / 424.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.5025, allocations: 11.98 kB / 424.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.918e-06/0.5026, allocations: 4 kB / 424.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.868e-05/0.5026, allocations: 3.953 kB / 424.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.416e-06/0.5026, allocations: 0 / 424.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.025e-06/0.5026, allocations: 8 kB / 424.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.5028, allocations: 189.2 kB / 424.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.5029, allocations: 96.06 kB / 424.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.503, allocations: 0 / 424.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5031, allocations: 8 kB / 424.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.5031, allocations: 3.938 kB / 424.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.974e-06/0.5032, allocations: 4 kB / 424.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.5033, allocations: 110.6 kB / 424.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.5033, allocations: 0 / 424.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.5036, allocations: 4 kB / 424.9 MB, free: 11.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001278/0.5038, allocations: 106 kB / 425 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.5039, allocations: 23.06 kB / 425 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.641e-06/0.5039, allocations: 3.938 kB / 425 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.5039, allocations: 7.562 kB / 425 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.5043, allocations: 31.16 kB / 425 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.5046, allocations: 133 kB / 425.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.505, allocations: 0.7037 MB / 425.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.5051, allocations: 7.438 kB / 425.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5051, allocations: 0 / 425.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of Templates: time 0.00259/0.5077, allocations: 0.794 MB / 426.7 MB, free: 10.08 MB / 346.7 MB