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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.955e-05, allocations: 4 kB / 292.1 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.0916, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4714, allocations: 81.51 MB / 424.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.4717, allocations: 82.45 kB / 424.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02642/0.4982, allocations: 6.189 MB / 430.3 MB, free: 7.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.519e-06/0.4982, allocations: 0 / 430.3 MB, free: 7.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.592e-05/0.4983, allocations: 8 kB / 430.3 MB, free: 7.461 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.0007734/0.499, allocations: 496.1 kB / 430.8 MB, free: 6.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4991, allocations: 8.031 kB / 430.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.4992, allocations: 23.72 kB / 430.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.4998, allocations: 294.1 kB / 431.1 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.4999, allocations: 11.19 kB / 431.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.4999, allocations: 11.94 kB / 431.2 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.5004, allocations: 170.1 kB / 431.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5004, allocations: 0 / 431.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.5004, allocations: 11.97 kB / 431.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.5004, allocations: 7.953 kB / 431.4 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.5006, allocations: 37.06 kB / 431.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.5014, allocations: 405.9 kB / 431.8 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.5017, allocations: 142.4 kB / 431.9 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.5018, allocations: 51.81 kB / 432 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.5018, allocations: 15.25 kB / 432 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.502, allocations: 73.2 kB / 432.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.361e-06/0.5021, allocations: 0 / 432.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004364/0.5025, allocations: 140 kB / 432.2 MB, free: 5.555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.5027, allocations: 191.3 kB / 432.4 MB, free: 5.328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.5035, allocations: 300.9 kB / 432.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.5036, allocations: 32.58 kB / 432.7 MB, free: 5.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.5038, allocations: 128.4 kB / 432.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.5039, allocations: 23.67 kB / 432.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.5039, allocations: 0 / 432.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.5042, allocations: 338 kB / 433.2 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.5043, allocations: 26.56 kB / 433.2 MB, free: 4.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.5046, allocations: 106.4 kB / 433.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.5048, allocations: 38.73 kB / 433.4 MB, free: 4.434 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.5048, allocations: 4 kB / 433.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000602/0.5054, allocations: 123.4 kB / 433.5 MB, free: 4.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.5055, allocations: 7.953 kB / 433.5 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5055, allocations: 4 kB / 433.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.5056, allocations: 4.188 kB / 433.5 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.5059, allocations: 31.36 kB / 433.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5059, allocations: 0 / 433.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.5062, allocations: 11.91 kB / 433.5 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.5063, allocations: 7.984 kB / 433.5 MB, free: 4.258 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.0002013/0.5065, allocations: 115.6 kB / 433.7 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.5069, allocations: 75.72 kB / 433.7 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.5074, allocations: 132.9 kB / 433.9 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.5075, allocations: 4 kB / 433.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5075, allocations: 0 / 433.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.09e-06/0.5075, allocations: 0 / 433.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.508, allocations: 249.4 kB / 434.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.755e-06/0.5081, allocations: 4 kB / 434.1 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.5083, allocations: 15.98 kB / 434.1 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.571e-06/0.5083, allocations: 0 / 434.1 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.5084, allocations: 7.438 kB / 434.1 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.5084, allocations: 7.891 kB / 434.1 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-06/0.5084, allocations: 8 kB / 434.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.509, allocations: 218.3 kB / 434.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.5093, allocations: 130.7 kB / 434.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/0.5094, allocations: 4 kB / 434.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.5096, allocations: 7.312 kB / 434.5 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/0.5097, allocations: 7.984 kB / 434.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.5098, allocations: 8.062 kB / 434.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005767/0.5103, allocations: 246.9 kB / 434.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.184e-06/0.5104, allocations: 0 / 434.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008663/0.5113, allocations: 54.81 kB / 434.8 MB, free: 3.02 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.002345/0.5136, allocations: 434.5 kB / 435.2 MB, free: 2.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005407/0.5142, allocations: 92.47 kB / 435.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.5143, allocations: 0 / 435.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.5144, allocations: 33.48 kB / 435.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.5153, allocations: 70.72 kB / 435.4 MB, free: 2.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.5165, allocations: 301.8 kB / 435.7 MB, free: 2.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.5172, allocations: 0.7557 MB / 436.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002554/0.5175, allocations: 29.67 kB / 436.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.5176, allocations: 26.56 kB / 436.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of SimCode: time 6.251e-06/0.5176, allocations: 0 / 436.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of Templates: time 0.01619/0.5339, allocations: 2.956 MB / 439.5 MB, free: 14.53 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