Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.043e-05, allocations: 4 kB / 292.1 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09186, allocations: 50.41 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/0.4839, allocations: 76.96 MB / 419.5 MB, free: 1.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/0.4843, allocations: 79.02 kB / 419.6 MB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00755/0.4919, allocations: 1.248 MB / 420.8 MB, free: 72 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.56e-06/0.4919, allocations: 0 / 420.8 MB, free: 72 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.492, allocations: 4 kB / 420.9 MB, free: 68 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.0007179/0.4927, allocations: 358.3 kB / 421.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4928, allocations: 8.031 kB / 421.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.4928, allocations: 11.86 kB / 421.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.4932, allocations: 176.2 kB / 421.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.4932, allocations: 4 kB / 421.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.4933, allocations: 3.375 kB / 421.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.4938, allocations: 134.3 kB / 421.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4938, allocations: 7.875 kB / 421.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4939, allocations: 0 / 421.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4939, allocations: 0 / 421.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.494, allocations: 25.77 kB / 421.6 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.4943, allocations: 161.4 kB / 421.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.4946, allocations: 124.9 kB / 421.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.4948, allocations: 36.09 kB / 421.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.4948, allocations: 0 / 421.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.4949, allocations: 30.56 kB / 421.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.007e-06/0.4949, allocations: 0 / 421.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002955/0.4952, allocations: 64.06 kB / 422 MB, free: 14.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.4953, allocations: 55.41 kB / 422 MB, free: 14.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4955, allocations: 103.9 kB / 422.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.4955, allocations: 29.7 kB / 422.2 MB, free: 14.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.4956, allocations: 86.77 kB / 422.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.4957, allocations: 7.891 kB / 422.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-06/0.4957, allocations: 3.25 kB / 422.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.4959, allocations: 314.8 kB / 422.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.496, allocations: 11.88 kB / 422.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.4961, allocations: 40.84 kB / 422.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.179e-05/0.4962, allocations: 19.36 kB / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.488e-06/0.4962, allocations: 0 / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000242/0.4964, allocations: 71.5 kB / 422.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.4965, allocations: 4 kB / 422.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.388e-06/0.4965, allocations: 0 / 422.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4965, allocations: 4 kB / 422.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.4967, allocations: 16 kB / 422.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.4967, allocations: 3.984 kB / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.4968, allocations: 4 kB / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4968, allocations: 0 / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001349/0.497, allocations: 111.6 kB / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.4972, allocations: 71.47 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.4973, allocations: 8.562 kB / 422.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4973, allocations: 3.984 kB / 422.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.4974, allocations: 4 kB / 422.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.776e-06/0.4974, allocations: 3.938 kB / 422.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.4976, allocations: 162.7 kB / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-06/0.4976, allocations: 0 / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.4978, allocations: 7.984 kB / 423.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.4978, allocations: 4 kB / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.4978, allocations: 3.562 kB / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.351e-06/0.4978, allocations: 4 kB / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4978, allocations: 0 / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.4981, allocations: 86.39 kB / 423.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/0.4982, allocations: 88.94 kB / 423.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.4983, allocations: 3.625 kB / 423.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.4985, allocations: 15.98 kB / 423.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-06/0.4985, allocations: 4 kB / 423.3 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.4985, allocations: 0 / 423.3 MB, free: 13.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.4987, allocations: 90.47 kB / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.035e-06/0.4987, allocations: 0 / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005336/0.4992, allocations: 11.38 kB / 423.4 MB, free: 13.31 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: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.4994, allocations: 99.38 kB / 423.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.4997, allocations: 38.42 kB / 423.5 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.994e-06/0.4997, allocations: 4.312 kB / 423.5 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.412e-06/0.4998, allocations: 4 kB / 423.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.5002, allocations: 39.39 kB / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.5006, allocations: 78.48 kB / 423.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.5011, allocations: 0.6887 MB / 424.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.5012, allocations: 8.109 kB / 424.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.5013, allocations: 18.69 kB / 424.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.927e-06/0.5013, allocations: 0 / 424.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of Templates: time 0.005333/0.5066, allocations: 0.5655 MB / 424.9 MB, free: 11.76 MB / 346.7 MB