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_Synchronous): time 2.158/2.158, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.361e-05, allocations: 4 kB / 284.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09022, allocations: 50.37 MB / 334.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4544, allocations: 82.08 MB / 416.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.4547, allocations: 78.64 kB / 416.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02594/0.4807, allocations: 6.01 MB / 422.9 MB, free: 7.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.4807, allocations: 4 kB / 422.9 MB, free: 7.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.908e-05/0.4808, allocations: 11.94 kB / 422.9 MB, free: 7.117 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.0007691/0.4816, allocations: 0.4971 MB / 423.4 MB, free: 6.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4816, allocations: 8.031 kB / 423.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.4817, allocations: 23.72 kB / 423.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.4823, allocations: 294.2 kB / 423.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.4824, allocations: 11.95 kB / 423.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.4824, allocations: 7.375 kB / 423.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.4829, allocations: 184.3 kB / 423.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4829, allocations: 4 kB / 423.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.4829, allocations: 0 / 423.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4829, allocations: 4 kB / 423.9 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.4831, allocations: 45.98 kB / 424 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.4839, allocations: 406.2 kB / 424.4 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.4842, allocations: 138.4 kB / 424.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.4843, allocations: 57.3 kB / 424.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.4843, allocations: 11.94 kB / 424.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.4845, allocations: 70.39 kB / 424.6 MB, free: 5.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.817e-06/0.4845, allocations: 4 kB / 424.6 MB, free: 5.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003974/0.485, allocations: 130.2 kB / 424.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.4851, allocations: 195.5 kB / 424.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.4856, allocations: 302.9 kB / 425.2 MB, free: 4.723 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.4857, allocations: 25.7 kB / 425.3 MB, free: 4.691 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4858, allocations: 131.5 kB / 425.4 MB, free: 4.586 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.4858, allocations: 23.75 kB / 425.4 MB, free: 4.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-06/0.4859, allocations: 3.188 kB / 425.4 MB, free: 4.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.4861, allocations: 334.3 kB / 425.7 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.4862, allocations: 26.06 kB / 425.8 MB, free: 4.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.4863, allocations: 106.6 kB / 425.9 MB, free: 4.102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.4865, allocations: 38.48 kB / 425.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.44e-06/0.4865, allocations: 0 / 425.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003419/0.4868, allocations: 127.1 kB / 426 MB, free: 3.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4869, allocations: 8 kB / 426 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.698e-06/0.4869, allocations: 0 / 426 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4869, allocations: 4 kB / 426.1 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.4871, allocations: 27.67 kB / 426.1 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.4871, allocations: 7.984 kB / 426.1 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.4873, allocations: 15.86 kB / 426.1 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.4873, allocations: 4 kB / 426.1 MB, free: 3.898 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,sample.u,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.0001511/0.4875, allocations: 124 kB / 426.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.4877, allocations: 76.09 kB / 426.3 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.488, allocations: 123.1 kB / 426.4 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.909e-06/0.488, allocations: 7.938 kB / 426.4 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4881, allocations: 4 kB / 426.4 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.537e-06/0.4881, allocations: 3.984 kB / 426.4 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.4884, allocations: 259.3 kB / 426.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-06/0.4884, allocations: 0 / 426.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.4886, allocations: 15.94 kB / 426.7 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-06/0.4886, allocations: 7.938 kB / 426.7 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.4886, allocations: 3.984 kB / 426.7 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.046e-06/0.4886, allocations: 4 kB / 426.7 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4887, allocations: 0 / 426.7 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.4891, allocations: 219.9 kB / 426.9 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.4893, allocations: 124.2 kB / 427.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.4893, allocations: 7.188 kB / 427.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.4895, allocations: 4 kB / 427.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.4896, allocations: 23.8 kB / 427.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.4896, allocations: 7.984 kB / 427.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003677/0.49, allocations: 238.8 kB / 427.3 MB, free: 2.703 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.49, allocations: 3.938 kB / 427.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004319/0.4904, allocations: 51.06 kB / 427.4 MB, free: 2.656 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,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (12): * Single equations (assignments): 10 * 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.001478/0.4919, allocations: 411.4 kB / 427.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.4923, allocations: 89.58 kB / 427.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.633e-06/0.4923, allocations: 0 / 427.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4924, allocations: 31 kB / 427.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.493, allocations: 68.12 kB / 428 MB, free: 2.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007648/0.4938, allocations: 308.9 kB / 428.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.4943, allocations: 0.7547 MB / 429 MB, free: 1.094 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.4945, allocations: 33.69 kB / 429.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.526e-05/0.4946, allocations: 27.23 kB / 429.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of SimCode: time 1.79e-06/0.4946, allocations: 0 / 429.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of Templates: time 0.009757/0.5043, allocations: 2.947 MB / 432 MB, free: 14.11 MB / 362.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