Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.192e-05/6.217e-05, allocations: 9.562 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09438, allocations: 50.41 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/0.4475, allocations: 76.74 MB / 419.3 MB, free: 1.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.4477, allocations: 75.45 kB / 419.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003891/0.4517, allocations: 1.154 MB / 420.5 MB, free: 284 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.885e-06/0.4517, allocations: 0 / 420.5 MB, free: 284 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.542e-06/0.4517, allocations: 0 / 420.5 MB, free: 284 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.000391/0.4521, allocations: 353.3 kB / 420.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4522, allocations: 8.031 kB / 420.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.4522, allocations: 11.86 kB / 420.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.4524, allocations: 182.1 kB / 421.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4525, allocations: 4 kB / 421.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.4525, allocations: 0 / 421.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.4528, allocations: 117.9 kB / 421.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.328e-06/0.4528, allocations: 0 / 421.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.352e-06/0.4528, allocations: 0 / 421.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-06/0.4528, allocations: 0 / 421.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.4529, allocations: 15.02 kB / 421.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.4533, allocations: 264.1 kB / 421.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.4535, allocations: 134.4 kB / 421.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.4536, allocations: 25.66 kB / 421.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4536, allocations: 0 / 421.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.4536, allocations: 34.56 kB / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.956e-06/0.4537, allocations: 0 / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001819/0.4538, allocations: 68.44 kB / 421.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.4539, allocations: 77.11 kB / 421.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.4541, allocations: 125.2 kB / 421.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.4541, allocations: 29.7 kB / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.4542, allocations: 154.1 kB / 422.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.4542, allocations: 0 / 422.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-06/0.4542, allocations: 7.969 kB / 422.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4544, allocations: 313.9 kB / 422.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.4544, allocations: 4 kB / 422.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.934e-05/0.4545, allocations: 34.75 kB / 422.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.4545, allocations: 13.14 kB / 422.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-06/0.4546, allocations: 0 / 422.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001081/0.4547, allocations: 48.89 kB / 422.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4547, allocations: 8 kB / 422.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.261e-06/0.4547, allocations: 3.984 kB / 422.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4548, allocations: 7.953 kB / 422.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.4548, allocations: 11.25 kB / 422.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.4549, allocations: 7.984 kB / 422.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.4549, allocations: 12.03 kB / 422.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-06/0.4549, allocations: 0 / 422.5 MB, free: 14.05 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: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * 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 9.336e-05/0.4551, allocations: 108.9 kB / 422.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4552, allocations: 44.94 kB / 422.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.4552, allocations: 7.781 kB / 422.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.723e-06/0.4552, allocations: 3.984 kB / 422.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.496e-06/0.4553, allocations: 7.953 kB / 422.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-06/0.4553, allocations: 0 / 422.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.4555, allocations: 168.5 kB / 422.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-06/0.4555, allocations: 4 kB / 422.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.4556, allocations: 8 kB / 422.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/0.4556, allocations: 4 kB / 422.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-06/0.4556, allocations: 3.812 kB / 422.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4556, allocations: 0 / 422.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.659e-06/0.4556, allocations: 0 / 422.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.4558, allocations: 172.8 kB / 423.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.4559, allocations: 96.5 kB / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.456, allocations: 0 / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.4561, allocations: 7.984 kB / 423.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.4561, allocations: 3.953 kB / 423.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.4561, allocations: 0 / 423.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.4562, allocations: 106.1 kB / 423.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.4562, allocations: 0 / 423.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.4566, allocations: 6.812 kB / 423.3 MB, free: 13.24 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * 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.0001158/0.4567, allocations: 103.2 kB / 423.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.602e-05/0.4568, allocations: 19.25 kB / 423.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.156e-06/0.4568, allocations: 0 / 423.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.4568, allocations: 4 kB / 423.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.4571, allocations: 33.98 kB / 423.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.4574, allocations: 134.5 kB / 423.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.4578, allocations: 0.6887 MB / 424.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.4578, allocations: 7.438 kB / 424.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.366e-06/0.4578, allocations: 4 kB / 424.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of Templates: time 0.002225/0.4601, allocations: 0.6596 MB / 424.9 MB, free: 11.55 MB / 346.7 MB