Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadModel(Modelica): time 2.245/2.245, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.641e-05, allocations: 0 / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09174, allocations: 50.43 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4392/0.531, allocations: 81.92 MB / 425 MB, free: 12.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5313, allocations: 84.55 kB / 425.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03906/0.5704, allocations: 9.034 MB / 434.1 MB, free: 4.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.31e-06/0.5705, allocations: 0 / 434.1 MB, free: 4.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.415e-05/0.5705, allocations: 8 kB / 434.1 MB, free: 4.77 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008793/0.5714, allocations: 0.5293 MB / 434.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5715, allocations: 8.031 kB / 434.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.85e-05/0.5716, allocations: 35.62 kB / 434.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.5722, allocations: 307 kB / 435 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.5722, allocations: 7.125 kB / 435 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.5723, allocations: 18.56 kB / 435 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.573, allocations: 306.6 kB / 435.3 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.573, allocations: 0 / 435.3 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.5731, allocations: 7.828 kB / 435.3 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.024e-06/0.5731, allocations: 4 kB / 435.3 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.5733, allocations: 62.09 kB / 435.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.5741, allocations: 438.6 kB / 435.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.5745, allocations: 191 kB / 436 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.5747, allocations: 85.69 kB / 436.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.5747, allocations: 4 kB / 436.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.5749, allocations: 81.12 kB / 436.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 4.125e-06/0.575, allocations: 0 / 436.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005328/0.5755, allocations: 205.5 kB / 436.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.5757, allocations: 165.2 kB / 436.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.5762, allocations: 316.3 kB / 436.9 MB, free: 2.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.5762, allocations: 28.83 kB / 436.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.5764, allocations: 128.8 kB / 437 MB, free: 2.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.5764, allocations: 34.77 kB / 437 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.5765, allocations: 7.938 kB / 437 MB, free: 1.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5766, allocations: 333.1 kB / 437.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.5768, allocations: 51.14 kB / 437.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.577, allocations: 184.5 kB / 437.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.5772, allocations: 66.41 kB / 437.7 MB, free: 1.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.608e-06/0.5772, allocations: 4 kB / 437.7 MB, free: 1.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005057/0.5777, allocations: 220.5 kB / 437.9 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.5778, allocations: 8 kB / 437.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.5778, allocations: 4.531 kB / 437.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/0.5779, allocations: 4 kB / 437.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.5783, allocations: 51.84 kB / 438 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/0.5783, allocations: 7.938 kB / 438 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.5787, allocations: 11.91 kB / 438 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.5787, allocations: 15.83 kB / 438 MB, free: 1.062 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sum.y,sum.u[2],sum.u[1],upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001755/0.5789, allocations: 141.8 kB / 438.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.5792, allocations: 134.9 kB / 438.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.5796, allocations: 142 kB / 438.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1e-05/0.5796, allocations: 4 kB / 438.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5797, allocations: 0 / 438.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.84e-06/0.5797, allocations: 0 / 438.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.58, allocations: 272.8 kB / 438.7 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.58, allocations: 0 / 438.7 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.5803, allocations: 32.11 kB / 438.7 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.29e-06/0.5803, allocations: 0 / 438.7 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.5803, allocations: 15.27 kB / 438.7 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.995e-06/0.5804, allocations: 7.984 kB / 438.7 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.842e-06/0.5804, allocations: 0 / 438.7 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.5809, allocations: 272.6 kB / 439 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.5811, allocations: 131 kB / 439.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.5812, allocations: 7.5 kB / 439.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.5814, allocations: 19.48 kB / 439.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.5814, allocations: 7.984 kB / 439.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.5815, allocations: 11.5 kB / 439.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003633/0.5819, allocations: 242.9 kB / 439.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5819, allocations: 0 / 439.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005159/0.5824, allocations: 65.98 kB / 439.5 MB, free: 15.69 MB / 362.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: 20 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001533/0.5839, allocations: 434.8 kB / 439.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.5845, allocations: 154.3 kB / 440 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.407e-06/0.5845, allocations: 8 kB / 440 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.5846, allocations: 27.31 kB / 440.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.5852, allocations: 109.8 kB / 440.2 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.5861, allocations: 354 kB / 440.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.5866, allocations: 0.779 MB / 441.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.5868, allocations: 34.06 kB / 441.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.5869, allocations: 27.42 kB / 441.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.734e-06/0.5869, allocations: 3.938 kB / 441.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Templates: time 0.01426/0.6012, allocations: 3.327 MB / 444.7 MB, free: 10.66 MB / 362.7 MB