Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.865e-05, allocations: 5.562 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.0913, allocations: 50.41 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3549/0.4462, allocations: 76.84 MB / 419.4 MB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.4465, allocations: 75.95 kB / 419.5 MB, free: 1.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004725/0.4513, allocations: 1.302 MB / 420.8 MB, free: 48 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.017e-06/0.4513, allocations: 4 kB / 420.8 MB, free: 44 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4513, allocations: 0 / 420.8 MB, free: 44 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004144/0.4518, allocations: 346.1 kB / 421.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4518, allocations: 8.031 kB / 421.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.4519, allocations: 11.86 kB / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.4521, allocations: 194.4 kB / 421.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.4522, allocations: 2.938 kB / 421.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.4522, allocations: 4 kB / 421.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.4525, allocations: 143.3 kB / 421.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-06/0.4526, allocations: 0 / 421.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-06/0.4526, allocations: 0 / 421.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.4526, allocations: 7.953 kB / 421.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.4527, allocations: 22.88 kB / 421.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.4529, allocations: 176.7 kB / 421.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.4531, allocations: 84.09 kB / 421.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.178e-05/0.4532, allocations: 40.06 kB / 421.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.4532, allocations: 4 kB / 421.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4532, allocations: 30.56 kB / 421.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.087e-06/0.4532, allocations: 0 / 421.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002016/0.4535, allocations: 76.33 kB / 421.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.4535, allocations: 66.89 kB / 422 MB, free: 14.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.4537, allocations: 137.6 kB / 422.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4537, allocations: 29.64 kB / 422.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.4538, allocations: 157.3 kB / 422.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.4539, allocations: 4 kB / 422.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.4539, allocations: 3.438 kB / 422.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.454, allocations: 314.8 kB / 422.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.4541, allocations: 11.25 kB / 422.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.4542, allocations: 56.94 kB / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.058e-05/0.4542, allocations: 23.23 kB / 422.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.157e-06/0.4542, allocations: 0 / 422.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001699/0.4544, allocations: 84.22 kB / 422.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4544, allocations: 4 kB / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.078e-06/0.4545, allocations: 4 kB / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4545, allocations: 256 / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.4546, allocations: 23.98 kB / 422.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.476e-06/0.4546, allocations: 0 / 422.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.4547, allocations: 14.7 kB / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4547, allocations: 4 kB / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001023/0.4548, allocations: 114.7 kB / 422.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.455, allocations: 82.27 kB / 423 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.455, allocations: 8.25 kB / 423 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.307e-06/0.455, allocations: 4 kB / 423 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.042e-06/0.4551, allocations: 4 kB / 423 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.595e-06/0.4551, allocations: 0 / 423 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.4552, allocations: 175.5 kB / 423.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4552, allocations: 0 / 423.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.4553, allocations: 12 kB / 423.2 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.186e-06/0.4554, allocations: 0 / 423.2 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-06/0.4554, allocations: 3.938 kB / 423.2 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.959e-06/0.4554, allocations: 4 kB / 423.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.665e-06/0.4554, allocations: 3.984 kB / 423.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.4556, allocations: 107.1 kB / 423.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.4557, allocations: 100.7 kB / 423.4 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.4557, allocations: 4 kB / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.614e-05/0.4558, allocations: 5.984 kB / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-06/0.4558, allocations: 0 / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-06/0.4558, allocations: 0 / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.715e-05/0.4559, allocations: 109.1 kB / 423.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.13e-07/0.4559, allocations: 0 / 423.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002886/0.4562, allocations: 11.94 kB / 423.6 MB, free: 13.12 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001432/0.4564, allocations: 106.7 kB / 423.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.4566, allocations: 50.72 kB / 423.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4566, allocations: 0 / 423.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.404e-06/0.4566, allocations: 0 / 423.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.4569, allocations: 46.47 kB / 423.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.4572, allocations: 145.1 kB / 423.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4576, allocations: 0.7076 MB / 424.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.4577, allocations: 11.44 kB / 424.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of SimCode: time 1.309e-06/0.4577, allocations: 0 / 424.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of Templates: time 0.002582/0.4603, allocations: 0.858 MB / 425.5 MB, free: 11.18 MB / 346.7 MB