Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.666e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1534, allocations: 50.4 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.00216/0.1556, allocations: 0.5633 MB / 345.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000591/0.1563, allocations: 111.5 kB / 345.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1564, allocations: 11.94 kB / 345.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.1565, allocations: 0 / 345.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.1567, allocations: 4 kB / 345.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.1571, allocations: 35.89 kB / 345.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.1572, allocations: 19.97 kB / 345.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1574, allocations: 15.98 kB / 345.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.1574, allocations: 3.938 kB / 345.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.1575, allocations: 15.92 kB / 345.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.1576, allocations: 4 kB / 345.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1576, allocations: 4 kB / 345.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.1577, allocations: 4 kB / 345.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.1577, allocations: 7.938 kB / 345.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1579, allocations: 35.92 kB / 345.8 MB, free: 8.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1579, allocations: 0 / 345.8 MB, free: 8.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1579, allocations: 0 / 345.8 MB, free: 8.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1579, allocations: 0 / 345.8 MB, free: 8.109 MB / 282.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.0006031/0.1585, allocations: 351.5 kB / 346.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.1586, allocations: 8.031 kB / 346.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.1587, allocations: 11.86 kB / 346.2 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.1591, allocations: 194 kB / 346.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1591, allocations: 4 kB / 346.4 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.1592, allocations: 4 kB / 346.4 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.1597, allocations: 127.2 kB / 346.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1598, allocations: 4 kB / 346.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1598, allocations: 0 / 346.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1598, allocations: 7.953 kB / 346.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.314e-05/0.1599, allocations: 15.98 kB / 346.5 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.1602, allocations: 169.7 kB / 346.7 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1605, allocations: 70.67 kB / 346.8 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1605, allocations: 3.938 kB / 346.8 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.1606, allocations: 46.56 kB / 346.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 3.417e-06/0.1606, allocations: 0 / 346.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003745/0.161, allocations: 85.73 kB / 346.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.1611, allocations: 55.66 kB / 346.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1614, allocations: 132.8 kB / 347.1 MB, free: 6.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1614, allocations: 25.7 kB / 347.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.1615, allocations: 150.6 kB / 347.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.1616, allocations: 8 kB / 347.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.1616, allocations: 0 / 347.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1618, allocations: 318.8 kB / 347.6 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.1618, allocations: 8 kB / 347.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.162, allocations: 54.86 kB / 347.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.828e-05/0.1621, allocations: 23.94 kB / 347.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1621, allocations: 0 / 347.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003033/0.1624, allocations: 81.56 kB / 347.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.1625, allocations: 4.25 kB / 347.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1625, allocations: 8 kB / 347.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.1626, allocations: 0 / 347.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.1626, allocations: 11.92 kB / 347.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.1627, allocations: 7.984 kB / 347.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.557e-05/0.1628, allocations: 4 kB / 347.8 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.1628, allocations: 7.953 kB / 347.8 MB, free: 5.91 MB / 282.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 0.000174/0.163, allocations: 125.7 kB / 347.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.1632, allocations: 69.59 kB / 348 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.1633, allocations: 16.38 kB / 348 MB, free: 5.688 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.1634, allocations: 0 / 348 MB, free: 5.688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1634, allocations: 0 / 348 MB, free: 5.688 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.1634, allocations: 3.984 kB / 348 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.1636, allocations: 173.7 kB / 348.1 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1637, allocations: 4 kB / 348.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.1637, allocations: 3.938 kB / 348.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1637, allocations: 0 / 348.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1638, allocations: 0 / 348.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1638, allocations: 0 / 348.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.1638, allocations: 0 / 348.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.1641, allocations: 120.8 kB / 348.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1642, allocations: 89.09 kB / 348.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.1643, allocations: 4 kB / 348.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.1643, allocations: 0 / 348.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-06/0.1644, allocations: 0 / 348.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1644, allocations: 0 / 348.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1645, allocations: 103.8 kB / 348.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.1646, allocations: 0 / 348.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004638/0.165, allocations: 12 kB / 348.5 MB, free: 5.098 MB / 282.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.0001908/0.1653, allocations: 107.2 kB / 348.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1655, allocations: 39.88 kB / 348.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1656, allocations: 0 / 348.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.1656, allocations: 0 / 348.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.1661, allocations: 47.3 kB / 348.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.1667, allocations: 205 kB / 348.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.1672, allocations: 0.7004 MB / 349.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.1672, allocations: 11.44 kB / 349.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.1673, allocations: 3.938 kB / 349.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of Templates: time 0.003882/0.1712, allocations: 0.7698 MB / 350.4 MB, free: 3.152 MB / 282.7 MB