Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.759e-05, allocations: 7.984 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09053, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3655/0.456, allocations: 76.67 MB / 419.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4563, allocations: 77.33 kB / 419.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004102/0.4605, allocations: 1.155 MB / 421 MB, free: 400 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4605, allocations: 0 / 421 MB, free: 400 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.4605, allocations: 4 kB / 421 MB, free: 396 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.0003988/0.4609, allocations: 342.1 kB / 421.3 MB, free: 12 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.461, allocations: 12.03 kB / 421.3 MB, free: 0 / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.4611, allocations: 12.78 kB / 421.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.4613, allocations: 180.4 kB / 421.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.4613, allocations: 6.688 kB / 421.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.4614, allocations: 0 / 421.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.4616, allocations: 117.1 kB / 421.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.302e-06/0.4617, allocations: 0 / 421.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.705e-06/0.4617, allocations: 0 / 421.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-06/0.4617, allocations: 0 / 421.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.4618, allocations: 15.14 kB / 421.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.4622, allocations: 269.9 kB / 421.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.4624, allocations: 134.1 kB / 422.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.4625, allocations: 27.09 kB / 422.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4625, allocations: 0 / 422.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.4626, allocations: 30.56 kB / 422.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.4626, allocations: 0 / 422.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000192/0.4628, allocations: 68.02 kB / 422.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.4629, allocations: 77.11 kB / 422.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.463, allocations: 123.9 kB / 422.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.4631, allocations: 32.77 kB / 422.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.4631, allocations: 83.2 kB / 422.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.4632, allocations: 3.938 kB / 422.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-06/0.4632, allocations: 0 / 422.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4633, allocations: 322.2 kB / 422.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.4634, allocations: 4.031 kB / 422.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.4634, allocations: 38.38 kB / 422.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.4635, allocations: 5.156 kB / 422.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-06/0.4635, allocations: 0 / 422.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001288/0.4636, allocations: 63.59 kB / 422.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4637, allocations: 4 kB / 422.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.906e-06/0.4637, allocations: 4 kB / 422.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4637, allocations: 3.953 kB / 422.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.4638, allocations: 8 kB / 422.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.4638, allocations: 3.984 kB / 422.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.4639, allocations: 7.984 kB / 422.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4639, allocations: 4 kB / 423 MB, free: 14.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.512e-05/0.464, allocations: 112.1 kB / 423.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4641, allocations: 48.78 kB / 423.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.4642, allocations: 11.28 kB / 423.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.603e-06/0.4642, allocations: 192 / 423.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4642, allocations: 3.953 kB / 423.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-06/0.4642, allocations: 3.984 kB / 423.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4645, allocations: 168.6 kB / 423.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-06/0.4645, allocations: 0 / 423.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.4646, allocations: 8 kB / 423.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.587e-06/0.4646, allocations: 4 kB / 423.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4646, allocations: 3.984 kB / 423.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.155e-06/0.4646, allocations: 4 kB / 423.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.141e-06/0.4647, allocations: 0 / 423.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.4648, allocations: 175.6 kB / 423.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.4649, allocations: 89 kB / 423.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.465, allocations: 8 kB / 423.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.4651, allocations: 3.312 kB / 423.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.4651, allocations: 7.953 kB / 423.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.249e-06/0.4651, allocations: 0 / 423.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.778e-05/0.4652, allocations: 106.1 kB / 423.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.4653, allocations: 0 / 423.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.4656, allocations: 4 kB / 423.7 MB, free: 13.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001258/0.4657, allocations: 106.6 kB / 423.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.4658, allocations: 23.23 kB / 423.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4659, allocations: 0 / 423.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.4659, allocations: 4 kB / 423.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.4662, allocations: 19.47 kB / 423.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.4665, allocations: 107.4 kB / 424 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.4669, allocations: 0.6929 MB / 424.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.955e-05/0.4669, allocations: 7.984 kB / 424.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.467, allocations: 7.438 kB / 424.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.608e-06/0.467, allocations: 0 / 424.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of Templates: time 0.002967/0.47, allocations: 429.5 kB / 425.1 MB, free: 12.01 MB / 346.7 MB