Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadModel(Modelica): time 2.076/2.076, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.554e-05/4.574e-05, allocations: 4 kB / 292.7 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09109, allocations: 50.42 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4489, allocations: 76.75 MB / 419.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4492, allocations: 75.94 kB / 419.9 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004335/0.4535, allocations: 1.242 MB / 421.1 MB, free: 320 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.217e-06/0.4536, allocations: 3.938 kB / 421.1 MB, free: 316 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.4536, allocations: 4.844 kB / 421.2 MB, free: 312 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.0003957/0.454, allocations: 342.2 kB / 421.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4541, allocations: 8.031 kB / 421.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.4541, allocations: 11.86 kB / 421.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.4544, allocations: 187.9 kB / 421.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4544, allocations: 3.062 kB / 421.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.4544, allocations: 4 kB / 421.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.4547, allocations: 136.8 kB / 421.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.302e-06/0.4548, allocations: 0 / 421.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4548, allocations: 4 kB / 421.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.318e-06/0.4548, allocations: 3.953 kB / 421.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.407e-05/0.4549, allocations: 17.31 kB / 421.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.4551, allocations: 171.2 kB / 422 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.4552, allocations: 55.59 kB / 422.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.4553, allocations: 46.16 kB / 422.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.4554, allocations: 0 / 422.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4554, allocations: 33.62 kB / 422.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.076e-06/0.4554, allocations: 3.938 kB / 422.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001845/0.4556, allocations: 70.72 kB / 422.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.4557, allocations: 58.8 kB / 422.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.4559, allocations: 119.5 kB / 422.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.4559, allocations: 29.7 kB / 422.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.456, allocations: 91.64 kB / 422.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.456, allocations: 3.984 kB / 422.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-06/0.456, allocations: 3.375 kB / 422.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4562, allocations: 314.8 kB / 422.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.4562, allocations: 7.062 kB / 422.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.4563, allocations: 61.44 kB / 422.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.4564, allocations: 15.98 kB / 422.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.062e-06/0.4564, allocations: 0 / 422.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001777/0.4566, allocations: 87.59 kB / 423 MB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4566, allocations: 7.984 kB / 423 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.519e-06/0.4566, allocations: 4 kB / 423 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4566, allocations: 0 / 423 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.514e-05/0.4567, allocations: 7.938 kB / 423 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4567, allocations: 4 kB / 423 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.4567, allocations: 4.203 kB / 423 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.4568, allocations: 8 kB / 423 MB, free: 14.3 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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 9.638e-05/0.4569, allocations: 117.5 kB / 423.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.4571, allocations: 71.8 kB / 423.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.4571, allocations: 15.19 kB / 423.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-06/0.4572, allocations: 0 / 423.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.008e-06/0.4572, allocations: 0 / 423.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.176e-06/0.4572, allocations: 4 kB / 423.2 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.4574, allocations: 171.5 kB / 423.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-06/0.4574, allocations: 0 / 423.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.4574, allocations: 4 kB / 423.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.398e-06/0.4574, allocations: 0 / 423.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4574, allocations: 3.75 kB / 423.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.446e-06/0.4574, allocations: 4 kB / 423.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.825e-06/0.4575, allocations: 0 / 423.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.4576, allocations: 99.3 kB / 423.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.4577, allocations: 92.44 kB / 423.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.4578, allocations: 3.984 kB / 423.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.4578, allocations: 4.188 kB / 423.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-06/0.4578, allocations: 0 / 423.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.4579, allocations: 11.12 kB / 423.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.287e-05/0.458, allocations: 97.89 kB / 423.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.04e-07/0.458, allocations: 7.938 kB / 423.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.4583, allocations: 4 kB / 423.7 MB, free: 13.55 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,xor.u1,xor.u2,xor.y,integerConstant.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.0001284/0.4584, allocations: 102 kB / 423.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.4586, allocations: 42.5 kB / 423.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4586, allocations: 0 / 423.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.4586, allocations: 0 / 423.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.4589, allocations: 53.89 kB / 423.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.4592, allocations: 107.3 kB / 424 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.4596, allocations: 0.6965 MB / 424.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.618e-05/0.4596, allocations: 12.48 kB / 424.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.4597, allocations: 11.44 kB / 424.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of SimCode: time 1.332e-06/0.4597, allocations: 0 / 424.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of Templates: time 0.003158/0.4629, allocations: 0.5424 MB / 425.3 MB, free: 11.98 MB / 346.7 MB