Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.936e-05/3.953e-05, allocations: 4 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09149, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5021, allocations: 81.32 MB / 424.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.5024, allocations: 82.27 kB / 424.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02536/0.5278, allocations: 6.058 MB / 430.5 MB, free: 7.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.156e-06/0.5278, allocations: 4 kB / 430.5 MB, free: 7.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.911e-05/0.5279, allocations: 4 kB / 430.6 MB, free: 7.809 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.0007728/0.5287, allocations: 0.4931 MB / 431 MB, free: 7.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5287, allocations: 8.031 kB / 431.1 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.5288, allocations: 23.72 kB / 431.1 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.5294, allocations: 294.8 kB / 431.4 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.5294, allocations: 4 kB / 431.4 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.5295, allocations: 7.875 kB / 431.4 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.5298, allocations: 150 kB / 431.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.52e-06/0.5299, allocations: 0 / 431.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.5299, allocations: 11.02 kB / 431.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5299, allocations: 0 / 431.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.5301, allocations: 41.42 kB / 431.6 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.5308, allocations: 393.4 kB / 432 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.531, allocations: 111.5 kB / 432.1 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5312, allocations: 54.77 kB / 432.1 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.5312, allocations: 0 / 432.1 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.5314, allocations: 75.58 kB / 432.2 MB, free: 6.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.825e-06/0.5314, allocations: 4 kB / 432.2 MB, free: 6.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003592/0.5318, allocations: 127.1 kB / 432.3 MB, free: 5.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.5319, allocations: 157.3 kB / 432.5 MB, free: 5.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.5324, allocations: 296.4 kB / 432.8 MB, free: 5.562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.5325, allocations: 25.7 kB / 432.8 MB, free: 5.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5326, allocations: 131.4 kB / 432.9 MB, free: 5.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.5327, allocations: 18.92 kB / 432.9 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-06/0.5327, allocations: 7.938 kB / 432.9 MB, free: 5.406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5329, allocations: 329.2 kB / 433.3 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.5329, allocations: 23.05 kB / 433.3 MB, free: 5.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.5331, allocations: 88.17 kB / 433.4 MB, free: 4.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.18e-05/0.5332, allocations: 33.11 kB / 433.4 MB, free: 4.949 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.5332, allocations: 4 kB / 433.4 MB, free: 4.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002977/0.5335, allocations: 119.8 kB / 433.5 MB, free: 4.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5336, allocations: 4 kB / 433.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.524e-06/0.5336, allocations: 4 kB / 433.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5336, allocations: 4.125 kB / 433.5 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.5338, allocations: 23.92 kB / 433.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.263e-06/0.5338, allocations: 0 / 433.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.534, allocations: 18.95 kB / 433.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.534, allocations: 4 kB / 433.6 MB, free: 4.785 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.0001169/0.5341, allocations: 112.8 kB / 433.7 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.5343, allocations: 65.03 kB / 433.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.5346, allocations: 124.6 kB / 433.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.285e-06/0.5346, allocations: 0 / 433.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.804e-06/0.5346, allocations: 0 / 433.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.052e-06/0.5346, allocations: 4 kB / 433.9 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.535, allocations: 251.2 kB / 434.1 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.535, allocations: 0 / 434.1 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.5351, allocations: 15.94 kB / 434.1 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.5351, allocations: 3.938 kB / 434.1 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.5352, allocations: 11.45 kB / 434.2 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.803e-06/0.5352, allocations: 3.984 kB / 434.2 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.241e-06/0.5352, allocations: 0 / 434.2 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.5355, allocations: 194.2 kB / 434.4 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.5357, allocations: 123.2 kB / 434.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.5358, allocations: 7.984 kB / 434.5 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5359, allocations: 11.88 kB / 434.5 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.536, allocations: 7.984 kB / 434.5 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.5361, allocations: 4 kB / 434.5 MB, free: 3.844 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003448/0.5364, allocations: 239.5 kB / 434.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.5364, allocations: 0 / 434.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.5369, allocations: 47.17 kB / 434.8 MB, free: 3.613 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.001544/0.5384, allocations: 431 kB / 435.2 MB, free: 3.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.5388, allocations: 80.47 kB / 435.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.553e-06/0.5388, allocations: 0 / 435.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.215e-05/0.5389, allocations: 31.17 kB / 435.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.5394, allocations: 57.02 kB / 435.4 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.5401, allocations: 288 kB / 435.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.5406, allocations: 0.7422 MB / 436.4 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.5408, allocations: 29.52 kB / 436.4 MB, free: 2.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.5409, allocations: 26.8 kB / 436.4 MB, free: 2.086 MB / 346.7 MB Notification: Performance of SimCode: time 1.892e-06/0.5409, allocations: 3.938 kB / 436.5 MB, free: 2.082 MB / 346.7 MB Notification: Performance of Templates: time 0.009234/0.5501, allocations: 2.765 MB / 439.2 MB, free: 15.35 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