Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.448e-05, allocations: 3.797 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.0931, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.4688, allocations: 76.74 MB / 419.3 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.4691, allocations: 76.52 kB / 419.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004211/0.4734, allocations: 1.243 MB / 420.6 MB, free: 296 kB / 330.7 MB Notification: Performance of FrontEnd: time 6.838e-06/0.4734, allocations: 0 / 420.6 MB, free: 296 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.862e-06/0.4734, allocations: 3.938 kB / 420.6 MB, free: 292 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.0003714/0.4738, allocations: 342.9 kB / 421 MB, free: 15.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4739, allocations: 12.03 kB / 421 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.4739, allocations: 11.86 kB / 421 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.4742, allocations: 188.7 kB / 421.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4742, allocations: 3.812 kB / 421.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.4742, allocations: 4 kB / 421.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.4745, allocations: 127.1 kB / 421.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.921e-06/0.4745, allocations: 0 / 421.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.215e-06/0.4746, allocations: 0 / 421.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4746, allocations: 7.953 kB / 421.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.4746, allocations: 14.5 kB / 421.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.4748, allocations: 167.8 kB / 421.5 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.475, allocations: 62.66 kB / 421.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.4751, allocations: 34.97 kB / 421.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4751, allocations: 3.938 kB / 421.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.4752, allocations: 34.56 kB / 421.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.264e-06/0.4752, allocations: 0 / 421.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001909/0.4754, allocations: 78.77 kB / 421.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.4755, allocations: 63.05 kB / 421.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4756, allocations: 119.9 kB / 421.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4757, allocations: 29.7 kB / 421.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.4757, allocations: 83.52 kB / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.4757, allocations: 11.56 kB / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-06/0.4758, allocations: 0 / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4759, allocations: 322.6 kB / 422.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.476, allocations: 8 kB / 422.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/0.476, allocations: 61.5 kB / 422.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.4761, allocations: 12 kB / 422.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.743e-06/0.4761, allocations: 0 / 422.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001732/0.4763, allocations: 86.02 kB / 422.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4763, allocations: 4 kB / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.372e-06/0.4763, allocations: 4.25 kB / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4764, allocations: 8 kB / 422.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.187e-05/0.4764, allocations: 3.938 kB / 422.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.4764, allocations: 4 kB / 422.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.4765, allocations: 15.38 kB / 422.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.4765, allocations: 7.984 kB / 422.5 MB, free: 14.27 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 8.807e-05/0.4766, allocations: 106.1 kB / 422.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.4768, allocations: 68.73 kB / 422.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.4768, allocations: 15.48 kB / 422.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-06/0.4768, allocations: 8 kB / 422.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.151e-06/0.4769, allocations: 4 kB / 422.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-06/0.4769, allocations: 0 / 422.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.477, allocations: 168.5 kB / 422.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-06/0.4771, allocations: 0 / 422.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.4771, allocations: 3.984 kB / 422.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.142e-06/0.4771, allocations: 0 / 422.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-06/0.4771, allocations: 7.688 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.392e-06/0.4771, allocations: 0 / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-06/0.4771, allocations: 0 / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.4773, allocations: 106.9 kB / 423 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.4774, allocations: 92.38 kB / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.4775, allocations: 0 / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.4775, allocations: 2.938 kB / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-06/0.4775, allocations: 4 kB / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.4775, allocations: 0 / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.395e-05/0.4776, allocations: 105.8 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.17e-06/0.4776, allocations: 0 / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.4779, allocations: 7.938 kB / 423.2 MB, free: 13.54 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.0001315/0.4781, allocations: 110.9 kB / 423.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.4782, allocations: 38.61 kB / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.802e-06/0.4782, allocations: 3.938 kB / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.356e-06/0.4782, allocations: 0 / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4785, allocations: 44.81 kB / 423.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.4788, allocations: 111.2 kB / 423.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.4792, allocations: 0.7043 MB / 424.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.4792, allocations: 0 / 424.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.4793, allocations: 11.44 kB / 424.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.354e-06/0.4793, allocations: 0 / 424.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of Templates: time 0.004309/0.4836, allocations: 0.5478 MB / 424.8 MB, free: 11.96 MB / 346.7 MB