Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.982e-05/4.988e-05, allocations: 0 / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1446, allocations: 50.42 MB / 342.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.489, allocations: 76.29 MB / 418.8 MB, free: 1.801 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4893, allocations: 74.45 kB / 418.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002532/0.4919, allocations: 0.7841 MB / 419.7 MB, free: 1.047 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.905e-06/0.4919, allocations: 0 / 419.7 MB, free: 1.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.4919, allocations: 4 kB / 419.7 MB, free: 1.043 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003614/0.4923, allocations: 332.1 kB / 420 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4923, allocations: 8.031 kB / 420 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.4924, allocations: 11.86 kB / 420 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.4926, allocations: 171 kB / 420.2 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.4926, allocations: 3.938 kB / 420.2 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.4927, allocations: 4 kB / 420.2 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.4929, allocations: 98.64 kB / 420.3 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.69e-06/0.4929, allocations: 0 / 420.3 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-06/0.4929, allocations: 0 / 420.3 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-06/0.493, allocations: 4 kB / 420.3 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.493, allocations: 15.75 kB / 420.3 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.4932, allocations: 153.6 kB / 420.5 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4933, allocations: 42.41 kB / 420.5 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.4934, allocations: 24.81 kB / 420.5 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.4934, allocations: 0 / 420.5 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4935, allocations: 34.5 kB / 420.6 MB, free: 36 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.963e-06/0.4935, allocations: 0 / 420.6 MB, free: 36 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001681/0.4937, allocations: 53.41 kB / 420.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.4937, allocations: 55.03 kB / 420.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.355e-05/0.4938, allocations: 100.8 kB / 420.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.4939, allocations: 25.7 kB / 420.8 MB, free: 15.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.494, allocations: 154.6 kB / 421 MB, free: 15.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.494, allocations: 0 / 421 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-06/0.494, allocations: 7.875 kB / 421 MB, free: 15.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4942, allocations: 318.8 kB / 421.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.4942, allocations: 4 kB / 421.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.4942, allocations: 26.69 kB / 421.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.4943, allocations: 15.81 kB / 421.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4943, allocations: 0 / 421.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001171/0.4944, allocations: 57.5 kB / 421.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4945, allocations: 4 kB / 421.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4945, allocations: 0 / 421.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.4945, allocations: 4 kB / 421.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.4946, allocations: 8 kB / 421.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.791e-06/0.4946, allocations: 8.109 kB / 421.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.4946, allocations: 48 / 421.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.4947, allocations: 8.359 kB / 421.4 MB, free: 15.17 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.956e-05/0.4947, allocations: 112.8 kB / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.4949, allocations: 53.34 kB / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.4949, allocations: 7.906 kB / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4949, allocations: 0 / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.554e-06/0.4949, allocations: 4 kB / 421.6 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-06/0.4949, allocations: 0 / 421.6 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.4951, allocations: 161.6 kB / 421.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-06/0.4951, allocations: 7.922 kB / 421.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.4952, allocations: 8 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.369e-06/0.4952, allocations: 4 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.4952, allocations: 0 / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.163e-06/0.4952, allocations: 0 / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.599e-06/0.4953, allocations: 0 / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.4954, allocations: 80.58 kB / 421.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.4955, allocations: 89 kB / 421.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.4955, allocations: 3.938 kB / 421.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.4956, allocations: 4 kB / 421.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-06/0.4956, allocations: 0 / 421.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.4956, allocations: 4 kB / 421.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.23e-05/0.4957, allocations: 87.08 kB / 422 MB, free: 14.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.4957, allocations: 0 / 422 MB, free: 14.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.4959, allocations: 4 kB / 422 MB, free: 14.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0001252/0.4961, allocations: 103.2 kB / 422.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.406e-05/0.4962, allocations: 23.44 kB / 422.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.825e-06/0.4962, allocations: 0 / 422.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.579e-06/0.4962, allocations: 3.938 kB / 422.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4964, allocations: 19.52 kB / 422.2 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.4967, allocations: 98.41 kB / 422.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.497, allocations: 0.6848 MB / 423 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.4971, allocations: 11.62 kB / 423 MB, free: 13.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.361e-06/0.4971, allocations: 4 kB / 423 MB, free: 13.48 MB / 346.7 MB Notification: Performance of Templates: time 0.002037/0.4991, allocations: 0.6066 MB / 423.6 MB, free: 12.88 MB / 346.7 MB