Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.162/2.162, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.26e-05/5.277e-05, allocations: 7.984 kB / 284.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09538, allocations: 50.36 MB / 334.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.5576, allocations: 81.98 MB / 416.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5579, allocations: 85.27 kB / 416.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02425/0.5822, allocations: 5.891 MB / 422.7 MB, free: 7.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5822, allocations: 0 / 422.7 MB, free: 7.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.805e-05/0.5823, allocations: 4 kB / 422.7 MB, free: 7.395 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.000711/0.583, allocations: 0.4915 MB / 423.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.583, allocations: 8.031 kB / 423.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.5831, allocations: 23.72 kB / 423.2 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.5837, allocations: 289.2 kB / 423.5 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.5837, allocations: 7.953 kB / 423.5 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.5838, allocations: 10.69 kB / 423.5 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.5841, allocations: 155 kB / 423.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.825e-06/0.5842, allocations: 0 / 423.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.5842, allocations: 3.312 kB / 423.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.88e-06/0.5842, allocations: 4 kB / 423.6 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.5843, allocations: 34.42 kB / 423.7 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.585, allocations: 404.4 kB / 424.1 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.5853, allocations: 107.4 kB / 424.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.5854, allocations: 48.5 kB / 424.2 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5854, allocations: 4 kB / 424.2 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.5856, allocations: 77.03 kB / 424.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 5.465e-06/0.5856, allocations: 3.984 kB / 424.3 MB, free: 5.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003502/0.586, allocations: 123.4 kB / 424.4 MB, free: 5.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.5861, allocations: 165.7 kB / 424.6 MB, free: 5.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.5866, allocations: 294.7 kB / 424.9 MB, free: 5.141 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.5867, allocations: 29.02 kB / 424.9 MB, free: 5.109 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.5869, allocations: 137.1 kB / 425 MB, free: 5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.587, allocations: 19.48 kB / 425.1 MB, free: 4.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.587, allocations: 4 kB / 425.1 MB, free: 4.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002482/0.5873, allocations: 336.7 kB / 425.4 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.5874, allocations: 22.42 kB / 425.4 MB, free: 4.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.5877, allocations: 87.11 kB / 425.5 MB, free: 4.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5878, allocations: 34.36 kB / 425.5 MB, free: 4.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-06/0.5879, allocations: 0 / 425.5 MB, free: 4.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004599/0.5883, allocations: 118.8 kB / 425.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.5884, allocations: 4 kB / 425.6 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5884, allocations: 4 kB / 425.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.5885, allocations: 0 / 425.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.5888, allocations: 23.3 kB / 425.7 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.5888, allocations: 4.062 kB / 425.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.589, allocations: 8 kB / 425.7 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.5891, allocations: 7.984 kB / 425.7 MB, free: 4.363 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,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample.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.0001895/0.5893, allocations: 127.5 kB / 425.8 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.5896, allocations: 61.48 kB / 425.9 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/0.5901, allocations: 125.5 kB / 426 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.5901, allocations: 4 kB / 426 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.5902, allocations: 4.062 kB / 426 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.5902, allocations: 4 kB / 426 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.5907, allocations: 252.7 kB / 426.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.5908, allocations: 0 / 426.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.591, allocations: 15.94 kB / 426.3 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.311e-06/0.591, allocations: 0 / 426.3 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.591, allocations: 7.562 kB / 426.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.5911, allocations: 7.922 kB / 426.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.378e-06/0.5911, allocations: 0 / 426.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.5916, allocations: 191.7 kB / 426.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.5919, allocations: 119.4 kB / 426.6 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.592, allocations: 7.547 kB / 426.6 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.5921, allocations: 4 kB / 426.6 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.5922, allocations: 11.92 kB / 426.6 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.5923, allocations: 8 kB / 426.6 MB, free: 3.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005287/0.5928, allocations: 237.8 kB / 426.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.16e-06/0.5928, allocations: 96 / 426.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007444/0.5936, allocations: 59.62 kB / 426.9 MB, free: 3.176 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,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample.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.002281/0.5959, allocations: 402.7 kB / 427.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005594/0.5965, allocations: 88.53 kB / 427.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.845e-06/0.5966, allocations: 0 / 427.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.5968, allocations: 33.86 kB / 427.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.5976, allocations: 59.3 kB / 427.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.599, allocations: 277.1 kB / 427.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009155/0.5999, allocations: 0.7482 MB / 428.5 MB, free: 1.664 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.6002, allocations: 33.45 kB / 428.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.6004, allocations: 23.23 kB / 428.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of SimCode: time 3.295e-06/0.6005, allocations: 4 kB / 428.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of Templates: time 0.0114/0.6119, allocations: 2.759 MB / 431.3 MB, free: 14.86 MB / 362.7 MB "" Variables in the reference:Time,sample.y,shiftSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample.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