Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.932e-05, allocations: 4.984 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 50.41 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.5182, allocations: 76.28 MB / 418.8 MB, free: 1.844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5185, allocations: 73.64 kB / 418.9 MB, free: 1.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002412/0.5209, allocations: 0.7518 MB / 419.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.521, allocations: 0 / 419.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.394e-06/0.521, allocations: 0 / 419.7 MB, free: 1.121 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.0003444/0.5213, allocations: 329 kB / 420 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5214, allocations: 12.03 kB / 420 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.5214, allocations: 7.859 kB / 420 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.5216, allocations: 174.9 kB / 420.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.5217, allocations: 0 / 420.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.5217, allocations: 4 kB / 420.2 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.5219, allocations: 90.28 kB / 420.3 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.522, allocations: 0 / 420.3 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-06/0.522, allocations: 7.812 kB / 420.3 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.522, allocations: 3.984 kB / 420.3 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.5221, allocations: 11.95 kB / 420.3 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.5222, allocations: 153.5 kB / 420.4 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.5224, allocations: 38.25 kB / 420.5 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.5224, allocations: 20.7 kB / 420.5 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.5225, allocations: 0 / 420.5 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5225, allocations: 46.31 kB / 420.5 MB, free: 120 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.5225, allocations: 0 / 420.5 MB, free: 120 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001427/0.5227, allocations: 49.02 kB / 420.6 MB, free: 68 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.5227, allocations: 55.41 kB / 420.6 MB, free: 0 / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.5229, allocations: 96.78 kB / 420.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.5229, allocations: 25.7 kB / 420.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.523, allocations: 154.4 kB / 420.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.523, allocations: 7.984 kB / 420.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.523, allocations: 4 kB / 420.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5232, allocations: 314.8 kB / 421.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.5232, allocations: 7.562 kB / 421.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.5233, allocations: 27.38 kB / 421.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.5233, allocations: 15.94 kB / 421.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-06/0.5233, allocations: 0 / 421.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001175/0.5234, allocations: 53.44 kB / 421.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.5235, allocations: 4 kB / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.24e-06/0.5235, allocations: 4 kB / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.5235, allocations: 48 / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.5236, allocations: 7.984 kB / 421.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.881e-06/0.5236, allocations: 4.359 kB / 421.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.5236, allocations: 7.875 kB / 421.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-06/0.5236, allocations: 4 kB / 421.4 MB, free: 15.26 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.712e-05/0.5237, allocations: 111.5 kB / 421.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.5238, allocations: 53.5 kB / 421.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.5239, allocations: 7.188 kB / 421.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-06/0.5239, allocations: 0 / 421.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.185e-06/0.5239, allocations: 4 kB / 421.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.242e-06/0.5239, allocations: 0 / 421.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.5241, allocations: 157.2 kB / 421.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-06/0.5241, allocations: 3.938 kB / 421.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.5241, allocations: 7.984 kB / 421.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.226e-06/0.5242, allocations: 4 kB / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-06/0.5242, allocations: 0 / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-06/0.5242, allocations: 0 / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-06/0.5242, allocations: 0 / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.5243, allocations: 84.73 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.5244, allocations: 77.11 kB / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.5244, allocations: 0 / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.5245, allocations: 15.92 kB / 421.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-06/0.5245, allocations: 0 / 421.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-06/0.5245, allocations: 3.938 kB / 421.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.5246, allocations: 79.28 kB / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.5246, allocations: 4 kB / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000248/0.5249, allocations: 7.938 kB / 422 MB, free: 14.57 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.0001209/0.525, allocations: 99.25 kB / 422.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.155e-05/0.5251, allocations: 27.86 kB / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.546e-06/0.5251, allocations: 0 / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.375e-06/0.5251, allocations: 0 / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.5253, allocations: 27.8 kB / 422.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.5255, allocations: 90.56 kB / 422.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.5259, allocations: 0.6809 MB / 422.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.5259, allocations: 7.438 kB / 422.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of SimCode: time 3.612e-06/0.5259, allocations: 0 / 422.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of Templates: time 0.001995/0.5279, allocations: 0.5823 MB / 423.5 MB, free: 13.02 MB / 346.7 MB