Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.87e-05, allocations: 4.984 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08838/0.08843, allocations: 50.41 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4574, allocations: 76.56 MB / 419.1 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4577, allocations: 72.52 kB / 419.2 MB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003693/0.4614, allocations: 1.1 MB / 420.3 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.4614, allocations: 0 / 420.3 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.4615, allocations: 0 / 420.3 MB, free: 0.5117 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000358/0.4618, allocations: 346 kB / 420.6 MB, free: 136 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4619, allocations: 8.031 kB / 420.6 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.4619, allocations: 7.953 kB / 420.6 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.4622, allocations: 182.8 kB / 420.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.4622, allocations: 0 / 420.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4622, allocations: 8.859 kB / 420.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.4625, allocations: 83.94 kB / 420.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.128e-06/0.4625, allocations: 8 kB / 420.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.155e-06/0.4625, allocations: 0 / 420.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-06/0.4625, allocations: 0 / 420.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.4626, allocations: 11.7 kB / 420.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.463, allocations: 257.4 kB / 421.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.92e-05/0.463, allocations: 45.72 kB / 421.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.4631, allocations: 17.78 kB / 421.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.4631, allocations: 0 / 421.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.4632, allocations: 34.12 kB / 421.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.952e-06/0.4632, allocations: 0 / 421.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.4633, allocations: 53.5 kB / 421.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.4634, allocations: 84.73 kB / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.4636, allocations: 122.5 kB / 421.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4636, allocations: 25.7 kB / 421.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.4637, allocations: 154.5 kB / 421.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.4637, allocations: 3.906 kB / 421.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-06/0.4638, allocations: 4 kB / 421.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4639, allocations: 310.8 kB / 422 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.4639, allocations: 4 kB / 422 MB, free: 14.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.464, allocations: 17.66 kB / 422 MB, free: 14.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.464, allocations: 9.094 kB / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-06/0.464, allocations: 0 / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.788e-05/0.4641, allocations: 41.5 kB / 422.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4642, allocations: 4 kB / 422.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.756e-06/0.4642, allocations: 128 / 422.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4642, allocations: 11.95 kB / 422.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.4643, allocations: 4 kB / 422.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4643, allocations: 0 / 422.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.4644, allocations: 11.92 kB / 422.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-06/0.4644, allocations: 0 / 422.1 MB, free: 14.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.903e-05/0.4645, allocations: 111.3 kB / 422.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.4646, allocations: 33.61 kB / 422.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.4646, allocations: 15.56 kB / 422.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.4646, allocations: 0 / 422.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4647, allocations: 3.953 kB / 422.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.579e-06/0.4647, allocations: 3.984 kB / 422.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.4649, allocations: 169.3 kB / 422.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-06/0.4649, allocations: 0 / 422.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.465, allocations: 7.984 kB / 422.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.465, allocations: 0 / 422.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.465, allocations: 4 kB / 422.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.465, allocations: 0 / 422.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-06/0.465, allocations: 0 / 422.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4652, allocations: 157.7 kB / 422.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.4653, allocations: 92.88 kB / 422.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.4653, allocations: 0 / 422.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.4654, allocations: 7.984 kB / 422.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.4655, allocations: 11.97 kB / 422.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-06/0.4655, allocations: 4 kB / 422.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.315e-05/0.4656, allocations: 104.2 kB / 422.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4656, allocations: 4 kB / 422.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000288/0.4659, allocations: 0 / 422.8 MB, free: 13.7 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001203/0.4661, allocations: 103.2 kB / 422.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.657e-05/0.4661, allocations: 15.75 kB / 422.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.26e-06/0.4662, allocations: 0 / 422.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.4662, allocations: 8.125 kB / 423 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.4665, allocations: 15.83 kB / 423 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.4668, allocations: 115.2 kB / 423.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.4672, allocations: 0.6924 MB / 423.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.4672, allocations: 11.42 kB / 423.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.408e-06/0.4672, allocations: 4 kB / 423.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of Templates: time 0.002166/0.4694, allocations: 0.6068 MB / 424.4 MB, free: 12.09 MB / 346.7 MB