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_LinearSystems2): time 2.301/2.301, allocations: 251.5 MB / 266 MB, free: 0.6914 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1033/0.1033, allocations: 12.59 MB / 336.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.065e-05, allocations: 4 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3725, allocations: 59.43 MB / 459.2 MB, free: 28.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002401/0.3749, allocations: 1.541 MB / 460.7 MB, free: 26.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.377, allocations: 0.925 MB / 461.7 MB, free: 26.01 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.3772, allocations: 11.94 kB / 461.7 MB, free: 26 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.3776, allocations: 47.8 kB / 461.7 MB, free: 25.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.3779, allocations: 71.75 kB / 461.8 MB, free: 25.88 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.3789, allocations: 171.5 kB / 462 MB, free: 25.71 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3791, allocations: 87.78 kB / 462 MB, free: 25.63 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.3792, allocations: 19.98 kB / 462.1 MB, free: 25.61 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3793, allocations: 55.77 kB / 462.1 MB, free: 25.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.3795, allocations: 51.84 kB / 462.2 MB, free: 25.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.3797, allocations: 47.89 kB / 462.2 MB, free: 25.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.3797, allocations: 4 kB / 462.2 MB, free: 25.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.3798, allocations: 35.91 kB / 462.3 MB, free: 25.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.3799, allocations: 8 kB / 462.3 MB, free: 25.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.3801, allocations: 174.3 kB / 462.4 MB, free: 25.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3802, allocations: 4 kB / 462.4 MB, free: 25.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3802, allocations: 0 / 462.4 MB, free: 25.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3802, allocations: 3.938 kB / 462.4 MB, free: 25.23 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.000622/0.3808, allocations: 464.5 kB / 462.9 MB, free: 24.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3809, allocations: 12.03 kB / 462.9 MB, free: 24.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.3809, allocations: 23.67 kB / 462.9 MB, free: 24.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.3813, allocations: 274.5 kB / 463.2 MB, free: 24.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3814, allocations: 4 kB / 463.2 MB, free: 24.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.3814, allocations: 12 kB / 463.2 MB, free: 24.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.3818, allocations: 155.5 kB / 463.4 MB, free: 24.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3818, allocations: 0 / 463.4 MB, free: 24.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.3819, allocations: 4 kB / 463.4 MB, free: 24.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3819, allocations: 7.953 kB / 463.4 MB, free: 24.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.382, allocations: 39.97 kB / 463.4 MB, free: 24.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.3826, allocations: 374.4 kB / 463.8 MB, free: 23.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.383, allocations: 115.9 kB / 463.9 MB, free: 23.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.383, allocations: 4.062 kB / 463.9 MB, free: 23.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.3832, allocations: 95.39 kB / 464 MB, free: 23.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.3832, allocations: 4 kB / 464 MB, free: 23.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005311/0.3838, allocations: 149.3 kB / 464.1 MB, free: 23.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.3839, allocations: 162.2 kB / 464.3 MB, free: 23.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.3843, allocations: 293.8 kB / 464.6 MB, free: 22.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3843, allocations: 33.64 kB / 464.6 MB, free: 22.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.3844, allocations: 124 kB / 464.7 MB, free: 22.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.3844, allocations: 27.98 kB / 464.8 MB, free: 22.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.3844, allocations: 3.938 kB / 464.8 MB, free: 22.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.3845, allocations: 330.8 kB / 465.1 MB, free: 22.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3846, allocations: 23.98 kB / 465.1 MB, free: 22.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3848, allocations: 86.78 kB / 465.2 MB, free: 22.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3849, allocations: 32 kB / 465.2 MB, free: 22.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3849, allocations: 0 / 465.2 MB, free: 22.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003155/0.3852, allocations: 121.3 kB / 465.3 MB, free: 22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3853, allocations: 8 kB / 465.4 MB, free: 22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3853, allocations: 3.953 kB / 465.4 MB, free: 21.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3853, allocations: 8.125 kB / 465.4 MB, free: 21.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3855, allocations: 27.86 kB / 465.4 MB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3855, allocations: 4 kB / 465.4 MB, free: 21.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3857, allocations: 4 kB / 465.4 MB, free: 21.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3857, allocations: 4 kB / 465.4 MB, free: 21.95 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,table.y,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.0001483/0.3858, allocations: 157.8 kB / 465.6 MB, free: 21.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/0.3859, allocations: 65.36 kB / 465.6 MB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.386, allocations: 21.77 kB / 465.6 MB, free: 21.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.386, allocations: 7.953 kB / 465.7 MB, free: 21.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3861, allocations: 4 kB / 465.7 MB, free: 21.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3861, allocations: 0 / 465.7 MB, free: 21.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.3863, allocations: 245.4 kB / 465.9 MB, free: 21.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3863, allocations: 0 / 465.9 MB, free: 21.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3864, allocations: 12 kB / 465.9 MB, free: 21.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3864, allocations: 4 kB / 465.9 MB, free: 21.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3865, allocations: 0 / 465.9 MB, free: 21.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3865, allocations: 8.297 kB / 465.9 MB, free: 21.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3865, allocations: 3.953 kB / 465.9 MB, free: 21.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.3868, allocations: 182 kB / 466.1 MB, free: 21.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.387, allocations: 120.8 kB / 466.2 MB, free: 21.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.387, allocations: 11.92 kB / 466.2 MB, free: 21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3871, allocations: 8 kB / 466.2 MB, free: 20.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.3872, allocations: 7.984 kB / 466.2 MB, free: 20.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3872, allocations: 8 kB / 466.3 MB, free: 20.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003031/0.3876, allocations: 233.9 kB / 466.5 MB, free: 20.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3876, allocations: 0 / 466.5 MB, free: 20.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003359/0.3879, allocations: 39.98 kB / 466.5 MB, free: 20.71 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001038/0.389, allocations: 400.2 kB / 466.9 MB, free: 20.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.3893, allocations: 71.91 kB / 467 MB, free: 20.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3893, allocations: 0 / 467 MB, free: 20.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3894, allocations: 31.92 kB / 467 MB, free: 20.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.3899, allocations: 68.77 kB / 467.1 MB, free: 20.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.3906, allocations: 392.7 kB / 467.5 MB, free: 19.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3908, allocations: 0.7439 MB / 468.2 MB, free: 19.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.391, allocations: 21.55 kB / 468.2 MB, free: 19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.3911, allocations: 27.42 kB / 468.3 MB, free: 18.97 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3911, allocations: 0 / 468.3 MB, free: 18.97 MB / 346.7 MB Notification: Performance of Templates: time 0.008047/0.3991, allocations: 2.639 MB / 470.9 MB, free: 16.35 MB / 346.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