Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/4.02e-05, allocations: 12 kB / 292.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09431, allocations: 50.4 MB / 342.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5135, allocations: 81.32 MB / 423.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5138, allocations: 84.31 kB / 424 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02549/0.5393, allocations: 6.066 MB / 430 MB, free: 7.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.309e-06/0.5394, allocations: 0 / 430 MB, free: 7.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.979e-05/0.5394, allocations: 4 kB / 430 MB, free: 7.762 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007571/0.5402, allocations: 0.4886 MB / 430.5 MB, free: 7.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.5402, allocations: 8.031 kB / 430.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.5403, allocations: 23.72 kB / 430.5 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.5409, allocations: 292.6 kB / 430.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.5409, allocations: 7.375 kB / 430.8 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.541, allocations: 11.94 kB / 430.9 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.5414, allocations: 148 kB / 431 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5414, allocations: 4 kB / 431 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.5414, allocations: 3.953 kB / 431 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-06/0.5415, allocations: 3.984 kB / 431 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.5416, allocations: 41.06 kB / 431 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.5423, allocations: 391.7 kB / 431.4 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.5426, allocations: 112.3 kB / 431.5 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.5427, allocations: 52.2 kB / 431.6 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.5428, allocations: 0 / 431.6 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.543, allocations: 86.75 kB / 431.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.735e-06/0.543, allocations: 0 / 431.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003774/0.5434, allocations: 127.2 kB / 431.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.5435, allocations: 154.2 kB / 432 MB, free: 5.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.544, allocations: 299.1 kB / 432.2 MB, free: 5.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.5441, allocations: 25.7 kB / 432.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5442, allocations: 130.3 kB / 432.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.5442, allocations: 19.25 kB / 432.4 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.5443, allocations: 3.938 kB / 432.4 MB, free: 5.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.5445, allocations: 331.8 kB / 432.7 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.867e-05/0.5445, allocations: 22.69 kB / 432.8 MB, free: 5.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.5447, allocations: 89.7 kB / 432.9 MB, free: 4.926 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.514e-05/0.5448, allocations: 37.98 kB / 432.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5448, allocations: 0 / 432.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002897/0.5451, allocations: 114.8 kB / 433 MB, free: 4.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5452, allocations: 8 kB / 433 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.5452, allocations: 0 / 433 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5452, allocations: 4.125 kB / 433 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.5454, allocations: 27.23 kB / 433 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.5454, allocations: 4 kB / 433 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.5456, allocations: 7.906 kB / 433.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.5456, allocations: 4 kB / 433.1 MB, free: 4.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001257/0.5457, allocations: 117 kB / 433.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.5459, allocations: 70.45 kB / 433.2 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.5462, allocations: 122.8 kB / 433.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-06/0.5463, allocations: 3.984 kB / 433.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.327e-06/0.5463, allocations: 4 kB / 433.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.141e-06/0.5463, allocations: 0 / 433.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.5466, allocations: 246.2 kB / 433.6 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.672e-06/0.5467, allocations: 4 kB / 433.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.5468, allocations: 15.92 kB / 433.6 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.088e-06/0.5468, allocations: 7.938 kB / 433.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5468, allocations: 7.891 kB / 433.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.309e-06/0.5468, allocations: 0 / 433.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.716e-06/0.5469, allocations: 8 kB / 433.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.5472, allocations: 186.6 kB / 433.8 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.5474, allocations: 120.3 kB / 433.9 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.5475, allocations: 4 kB / 434 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.5476, allocations: 15.92 kB / 434 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.5477, allocations: 4 kB / 434 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.5477, allocations: 7.984 kB / 434 MB, free: 3.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003552/0.5481, allocations: 237.8 kB / 434.2 MB, free: 3.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.5481, allocations: 0 / 434.2 MB, free: 3.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004211/0.5485, allocations: 46.31 kB / 434.3 MB, free: 3.57 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (10): * Single equations (assignments): 8 * 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.00152/0.5501, allocations: 438.2 kB / 434.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.5504, allocations: 80.7 kB / 434.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.891e-06/0.5505, allocations: 4 kB / 434.8 MB, free: 3.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.5506, allocations: 27.44 kB / 434.8 MB, free: 3.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.5511, allocations: 59.28 kB / 434.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.5518, allocations: 286.6 kB / 435.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.5523, allocations: 0.7475 MB / 435.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.5524, allocations: 29.33 kB / 435.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.5525, allocations: 19.44 kB / 435.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of SimCode: time 2.026e-06/0.5526, allocations: 0 / 435.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of Templates: time 0.009232/0.5618, allocations: 2.771 MB / 438.7 MB, free: 15.3 MB / 362.7 MB "" Variables in the reference:time,sample1.y,shiftSample1.y Variables in the result: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