Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.057e-05, allocations: 7.984 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09026, allocations: 50.4 MB / 343.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.4963, allocations: 81.5 MB / 424.6 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4966, allocations: 80.95 kB / 424.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0396/0.5362, allocations: 6.191 MB / 430.9 MB, free: 7.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.038e-06/0.5363, allocations: 0 / 430.9 MB, free: 7.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.124e-05/0.5363, allocations: 12 kB / 430.9 MB, free: 7.48 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001049/0.5374, allocations: 0.4903 MB / 431.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.5375, allocations: 12.03 kB / 431.4 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.5376, allocations: 23.72 kB / 431.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/0.5385, allocations: 293.2 kB / 431.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.5386, allocations: 7.375 kB / 431.7 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.5387, allocations: 8 kB / 431.7 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.5393, allocations: 171.9 kB / 431.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5393, allocations: 0 / 431.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.5394, allocations: 6.875 kB / 431.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5394, allocations: 3.953 kB / 431.9 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.5396, allocations: 38.61 kB / 431.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.5408, allocations: 412.4 kB / 432.3 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.5412, allocations: 140.5 kB / 432.4 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.5414, allocations: 55.36 kB / 432.5 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.5415, allocations: 11.2 kB / 432.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.5418, allocations: 73.7 kB / 432.6 MB, free: 5.695 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 9.032e-06/0.5418, allocations: 0 / 432.6 MB, free: 5.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006025/0.5424, allocations: 141.7 kB / 432.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.5426, allocations: 187.4 kB / 432.9 MB, free: 5.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007981/0.5435, allocations: 304.1 kB / 433.2 MB, free: 5.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.5435, allocations: 29.7 kB / 433.2 MB, free: 5.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.5437, allocations: 130.5 kB / 433.4 MB, free: 4.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.5438, allocations: 22.81 kB / 433.4 MB, free: 4.945 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.5438, allocations: 0 / 433.4 MB, free: 4.945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.5441, allocations: 338.5 kB / 433.7 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.5442, allocations: 23.5 kB / 433.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.5445, allocations: 108.1 kB / 433.8 MB, free: 4.477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.5447, allocations: 43.36 kB / 433.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.364e-06/0.5447, allocations: 0 / 433.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005229/0.5452, allocations: 126.6 kB / 434 MB, free: 4.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.5453, allocations: 7.953 kB / 434 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5453, allocations: 4 kB / 434 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.5454, allocations: 4 kB / 434 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.5456, allocations: 23.92 kB / 434 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.5457, allocations: 4 kB / 434 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.5459, allocations: 19.62 kB / 434.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.546, allocations: 7.984 kB / 434.1 MB, free: 4.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001691/0.5462, allocations: 112.7 kB / 434.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.5465, allocations: 75.72 kB / 434.3 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.547, allocations: 123.8 kB / 434.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.547, allocations: 4 kB / 434.4 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.842e-06/0.5471, allocations: 4.094 kB / 434.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5471, allocations: 3.984 kB / 434.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.5476, allocations: 250.1 kB / 434.6 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.5476, allocations: 7.984 kB / 434.6 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.5479, allocations: 15.25 kB / 434.7 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.5e-06/0.5479, allocations: 0 / 434.7 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.5479, allocations: 7.984 kB / 434.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.548, allocations: 7.891 kB / 434.7 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.122e-06/0.548, allocations: 4 kB / 434.7 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.5486, allocations: 221.5 kB / 434.9 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.5489, allocations: 122.1 kB / 435 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.549, allocations: 7.375 kB / 435 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.5492, allocations: 8 kB / 435 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.5493, allocations: 11.17 kB / 435 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.5494, allocations: 12.05 kB / 435.1 MB, free: 3.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005811/0.55, allocations: 241 kB / 435.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.075e-06/0.55, allocations: 0 / 435.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007939/0.5508, allocations: 58.56 kB / 435.3 MB, free: 3.031 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.002325/0.5532, allocations: 424.4 kB / 435.8 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.5537, allocations: 91.95 kB / 435.8 MB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.06e-06/0.5537, allocations: 7.312 kB / 435.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.5539, allocations: 27.69 kB / 435.9 MB, free: 2.637 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007682/0.5547, allocations: 71.09 kB / 436 MB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.5558, allocations: 299.4 kB / 436.2 MB, free: 2.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.5565, allocations: 0.7631 MB / 437 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000227/0.5567, allocations: 29.53 kB / 437 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.5569, allocations: 23.42 kB / 437.1 MB, free: 1.457 MB / 346.7 MB Notification: Performance of SimCode: time 2.381e-06/0.5569, allocations: 3.938 kB / 437.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Templates: time 0.01452/0.5714, allocations: 2.947 MB / 440 MB, free: 14.55 MB / 362.7 MB "" Variables in the reference:time,sample1.y,shiftSample1.y,backSample1.y Variables in the result:backSample1.backCounter,backSample1.resolution,backSample1.y,backSample1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,shiftSample1.y,table.combiTimeTable.columns[1],table.combiTimeTable.extrapolation,table.combiTimeTable.nout,table.combiTimeTable.offset[1],table.combiTimeTable.p_offset[1],table.combiTimeTable.shiftTime,table.combiTimeTable.smoothness,table.combiTimeTable.startTime,table.combiTimeTable.t_max,table.combiTimeTable.t_maxScaled,table.combiTimeTable.t_min,table.combiTimeTable.t_minScaled,table.combiTimeTable.tableOnFile,table.combiTimeTable.table[1,1],table.combiTimeTable.table[1,2],table.combiTimeTable.table[2,1],table.combiTimeTable.table[2,2],table.combiTimeTable.table[3,1],table.combiTimeTable.table[3,2],table.combiTimeTable.table[4,1],table.combiTimeTable.table[4,2],table.combiTimeTable.table[5,1],table.combiTimeTable.table[5,2],table.combiTimeTable.timeEvents,table.combiTimeTable.timeScale,table.combiTimeTable.verboseExtrapolation,table.combiTimeTable.verboseRead,table.extrapolation,table.n,table.shiftTime,table.startTime,table.table[1,1],table.table[1,2],table.table[2,1],table.table[2,2],table.table[3,1],table.table[3,2],table.table[4,1],table.table[4,2],table.table[5,1],table.table[5,2],time