Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|backSample1.y|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.298/2.298, allocations: 251.5 MB / 266 MB, free: 0.6914 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09805/0.09805, allocations: 12.6 MB / 336.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.22e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.393, allocations: 59.43 MB / 459.2 MB, free: 28.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample): time 0.002999/0.3961, allocations: 1.573 MB / 460.8 MB, free: 27.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3984, allocations: 0.9289 MB / 461.7 MB, free: 26.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.3986, allocations: 7.938 kB / 461.7 MB, free: 26.1 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.399, allocations: 59.78 kB / 461.8 MB, free: 26.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.3993, allocations: 71.77 kB / 461.8 MB, free: 25.97 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.4003, allocations: 179.5 kB / 462 MB, free: 25.79 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.4006, allocations: 91.72 kB / 462.1 MB, free: 25.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4007, allocations: 19.98 kB / 462.1 MB, free: 25.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.4009, allocations: 55.83 kB / 462.2 MB, free: 25.63 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.401, allocations: 63.75 kB / 462.2 MB, free: 25.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.4012, allocations: 35.98 kB / 462.3 MB, free: 25.53 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.4013, allocations: 4 kB / 462.3 MB, free: 25.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.4014, allocations: 47.83 kB / 462.3 MB, free: 25.48 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.4015, allocations: 12 kB / 462.3 MB, free: 25.47 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.4019, allocations: 182.2 kB / 462.5 MB, free: 25.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4019, allocations: 4 kB / 462.5 MB, free: 25.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4019, allocations: 0 / 462.5 MB, free: 25.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.4019, allocations: 0 / 462.5 MB, free: 25.29 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.0007754/0.4027, allocations: 476.5 kB / 463 MB, free: 24.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4028, allocations: 11.97 kB / 463 MB, free: 24.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/0.4029, allocations: 31.67 kB / 463 MB, free: 24.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.4035, allocations: 274.5 kB / 463.3 MB, free: 24.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.4035, allocations: 4 kB / 463.3 MB, free: 24.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.4035, allocations: 8 kB / 463.3 MB, free: 24.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.404, allocations: 180.4 kB / 463.5 MB, free: 24.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4041, allocations: 0 / 463.5 MB, free: 24.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.4041, allocations: 0 / 463.5 MB, free: 24.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4041, allocations: 11.95 kB / 463.5 MB, free: 24.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.4043, allocations: 43.91 kB / 463.5 MB, free: 24.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.4049, allocations: 391.2 kB / 463.9 MB, free: 23.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.4053, allocations: 150.5 kB / 464.1 MB, free: 23.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.4053, allocations: 4 kB / 464.1 MB, free: 23.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.4056, allocations: 87.39 kB / 464.2 MB, free: 23.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/0.4056, allocations: 0 / 464.2 MB, free: 23.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005484/0.4062, allocations: 165.3 kB / 464.3 MB, free: 23.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.4062, allocations: 188.2 kB / 464.5 MB, free: 23.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.4066, allocations: 305.8 kB / 464.8 MB, free: 22.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4067, allocations: 29.64 kB / 464.8 MB, free: 22.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.4068, allocations: 140.2 kB / 465 MB, free: 22.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.4068, allocations: 15.81 kB / 465 MB, free: 22.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.4068, allocations: 0 / 465 MB, free: 22.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.4069, allocations: 334.8 kB / 465.3 MB, free: 22.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.4071, allocations: 23.98 kB / 465.3 MB, free: 22.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.4072, allocations: 104.6 kB / 465.4 MB, free: 22.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.4074, allocations: 35.94 kB / 465.5 MB, free: 22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4074, allocations: 0 / 465.5 MB, free: 22 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003399/0.4077, allocations: 133.3 kB / 465.6 MB, free: 21.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4078, allocations: 9.094 kB / 465.6 MB, free: 21.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4078, allocations: 3.953 kB / 465.6 MB, free: 21.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4078, allocations: 4 kB / 465.6 MB, free: 21.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.408, allocations: 23.92 kB / 465.6 MB, free: 21.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.408, allocations: 4.188 kB / 465.6 MB, free: 21.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.4082, allocations: 15.84 kB / 465.7 MB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.4082, allocations: 4 kB / 465.7 MB, free: 21.8 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,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample.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.0001489/0.4084, allocations: 162 kB / 465.8 MB, free: 21.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.4085, allocations: 81.34 kB / 465.9 MB, free: 21.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.4086, allocations: 29.7 kB / 465.9 MB, free: 21.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4086, allocations: 7.953 kB / 465.9 MB, free: 21.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4086, allocations: 4.094 kB / 465.9 MB, free: 21.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4086, allocations: 8.031 kB / 466 MB, free: 21.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.4088, allocations: 241.6 kB / 466.2 MB, free: 21.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.4089, allocations: 4 kB / 466.2 MB, free: 21.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.409, allocations: 16 kB / 466.2 MB, free: 21.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.409, allocations: 0 / 466.2 MB, free: 21.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.409, allocations: 7.984 kB / 466.2 MB, free: 21.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4091, allocations: 0 / 466.2 MB, free: 21.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4091, allocations: 3.953 kB / 466.2 MB, free: 21.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.4094, allocations: 224.4 kB / 466.4 MB, free: 20.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.4096, allocations: 120.7 kB / 466.6 MB, free: 20.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.4096, allocations: 4 kB / 466.6 MB, free: 20.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.4098, allocations: 7.984 kB / 466.6 MB, free: 20.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.4098, allocations: 12 kB / 466.6 MB, free: 20.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.4099, allocations: 7.984 kB / 466.6 MB, free: 20.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002857/0.4102, allocations: 241.9 kB / 466.8 MB, free: 20.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4102, allocations: 0 / 466.8 MB, free: 20.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.4105, allocations: 35.98 kB / 466.9 MB, free: 20.48 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (11): * Single equations (assignments): 9 * 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.001061/0.4116, allocations: 405.7 kB / 467.3 MB, free: 20.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.4119, allocations: 83.89 kB / 467.3 MB, free: 20.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4119, allocations: 4 kB / 467.3 MB, free: 20.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.4121, allocations: 31.92 kB / 467.4 MB, free: 20.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.4126, allocations: 71.28 kB / 467.4 MB, free: 19.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.4133, allocations: 417.7 kB / 467.8 MB, free: 19.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.4135, allocations: 0.7479 MB / 468.6 MB, free: 18.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.4137, allocations: 33.52 kB / 468.6 MB, free: 18.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.4137, allocations: 23.44 kB / 468.7 MB, free: 18.67 MB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.4137, allocations: 3.938 kB / 468.7 MB, free: 18.67 MB / 346.7 MB Notification: Performance of Templates: time 0.008387/0.4221, allocations: 2.809 MB / 471.5 MB, free: 15.88 MB / 346.7 MB "" Variables in the reference:Time,backSample1.y,sample.y,shiftSample1.y Variables in the result:backSample1.backCounter,backSample1.resolution,backSample1.y,backSample1.y_start,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