Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadModel(Modelica): time 2.133/2.133, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/3.005e-05, allocations: 0 / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09097, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5487, allocations: 77.73 MB / 420.8 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.549, allocations: 78.39 kB / 420.9 MB, free: 424 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01911/0.5681, allocations: 4.457 MB / 425.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.5681, allocations: 0 / 425.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.5682, allocations: 4 kB / 425.4 MB, free: 12.72 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005287/0.5687, allocations: 389.7 kB / 425.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5688, allocations: 12.03 kB / 425.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.5688, allocations: 19.77 kB / 425.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.5691, allocations: 213.6 kB / 426 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.5692, allocations: 7.25 kB / 426 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.5692, allocations: 11.75 kB / 426 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.5698, allocations: 248 kB / 426.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.965e-06/0.5698, allocations: 0 / 426.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.5698, allocations: 15.77 kB / 426.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.5698, allocations: 3.984 kB / 426.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.57, allocations: 38.06 kB / 426.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.5705, allocations: 306 kB / 426.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.5708, allocations: 136.9 kB / 426.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.5709, allocations: 66.97 kB / 426.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.571, allocations: 4.328 kB / 426.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.571, allocations: 46.2 kB / 426.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.535e-06/0.571, allocations: 4 kB / 426.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003733/0.5714, allocations: 121.4 kB / 427 MB, free: 11.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5715, allocations: 118.2 kB / 427.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.5717, allocations: 139.3 kB / 427.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.5718, allocations: 28.83 kB / 427.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.5718, allocations: 90.08 kB / 427.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.5719, allocations: 18.33 kB / 427.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-06/0.5719, allocations: 7.406 kB / 427.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5721, allocations: 325.8 kB / 427.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.32e-05/0.5721, allocations: 22.5 kB / 427.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.5723, allocations: 127.8 kB / 427.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.909e-05/0.5724, allocations: 41.8 kB / 427.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.539e-06/0.5724, allocations: 4 kB / 427.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003398/0.5728, allocations: 154.2 kB / 428 MB, free: 9.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5728, allocations: 8 kB / 428 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5728, allocations: 7.953 kB / 428 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/0.5729, allocations: 4.531 kB / 428 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.5731, allocations: 43.78 kB / 428.1 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.5731, allocations: 4 kB / 428.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.5732, allocations: 15.84 kB / 428.1 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.5733, allocations: 11.38 kB / 428.1 MB, free: 9.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.00011/0.5734, allocations: 119.9 kB / 428.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.5737, allocations: 114.4 kB / 428.3 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.5737, allocations: 19.62 kB / 428.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.5738, allocations: 7.938 kB / 428.4 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.834e-06/0.5738, allocations: 8 kB / 428.4 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.858e-06/0.5738, allocations: 0 / 428.4 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.5741, allocations: 196.6 kB / 428.6 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.122e-06/0.5741, allocations: 0 / 428.6 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.5743, allocations: 27.92 kB / 428.6 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.102e-06/0.5743, allocations: 4 kB / 428.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5743, allocations: 3.188 kB / 428.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5743, allocations: 4 kB / 428.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.34e-06/0.5744, allocations: 3.953 kB / 428.6 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.5747, allocations: 257.3 kB / 428.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.5748, allocations: 108.2 kB / 429 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.5749, allocations: 7.5 kB / 429 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.575, allocations: 10.98 kB / 429 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.5751, allocations: 8 kB / 429 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.5751, allocations: 4 kB / 429 MB, free: 9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.5753, allocations: 112.3 kB / 429.1 MB, free: 8.898 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.5753, allocations: 0 / 429.1 MB, free: 8.898 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004095/0.5757, allocations: 22.25 kB / 429.1 MB, free: 8.883 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001502/0.5759, allocations: 106.6 kB / 429.2 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.5761, allocations: 93.62 kB / 429.3 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.998e-06/0.5761, allocations: 0 / 429.3 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.5762, allocations: 4 kB / 429.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.5766, allocations: 80.25 kB / 429.4 MB, free: 8.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.5771, allocations: 174 kB / 429.6 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.5776, allocations: 0.7278 MB / 430.3 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.5776, allocations: 13.2 kB / 430.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.5777, allocations: 15.44 kB / 430.3 MB, free: 7.68 MB / 346.7 MB Notification: Performance of SimCode: time 2.119e-06/0.5777, allocations: 0 / 430.3 MB, free: 7.68 MB / 346.7 MB Notification: Performance of Templates: time 0.004669/0.5824, allocations: 1.051 MB / 431.4 MB, free: 6.648 MB / 346.7 MB