Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.542e-05, allocations: 7.938 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09339, allocations: 50.4 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.4784, allocations: 81.56 MB / 424.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4787, allocations: 82.52 kB / 424.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02598/0.5046, allocations: 6.185 MB / 430.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.451e-06/0.5047, allocations: 0 / 430.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.914e-05/0.5047, allocations: 4 kB / 430.4 MB, free: 7.406 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.0007858/0.5055, allocations: 493.2 kB / 430.9 MB, free: 6.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5056, allocations: 8.031 kB / 430.9 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.364e-05/0.5057, allocations: 23.72 kB / 430.9 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.5063, allocations: 296.4 kB / 431.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.5063, allocations: 19.31 kB / 431.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.5064, allocations: 7.188 kB / 431.2 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.5068, allocations: 159.7 kB / 431.4 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5068, allocations: 8 kB / 431.4 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.5069, allocations: 0 / 431.4 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.205e-06/0.5069, allocations: 3.953 kB / 431.4 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.507, allocations: 48.61 kB / 431.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/0.5079, allocations: 486.6 kB / 431.9 MB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.5082, allocations: 134.6 kB / 432 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.5083, allocations: 58.11 kB / 432.1 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.5084, allocations: 11.58 kB / 432.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.5086, allocations: 95.28 kB / 432.2 MB, free: 5.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.271e-06/0.5086, allocations: 0 / 432.2 MB, free: 5.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004142/0.5091, allocations: 144 kB / 432.3 MB, free: 5.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.5092, allocations: 186.7 kB / 432.5 MB, free: 5.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.5097, allocations: 297.7 kB / 432.8 MB, free: 4.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.5098, allocations: 28.89 kB / 432.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.5099, allocations: 125.2 kB / 433 MB, free: 4.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.51, allocations: 22.61 kB / 433 MB, free: 4.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-06/0.51, allocations: 3 kB / 433 MB, free: 4.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5102, allocations: 331.7 kB / 433.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.5103, allocations: 27.3 kB / 433.3 MB, free: 4.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.5105, allocations: 98.03 kB / 433.4 MB, free: 4.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.5106, allocations: 34.05 kB / 433.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.534e-06/0.5106, allocations: 0 / 433.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003412/0.511, allocations: 136.6 kB / 433.6 MB, free: 4.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.511, allocations: 15.89 kB / 433.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.319e-06/0.511, allocations: 0 / 433.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.511, allocations: 8.156 kB / 433.6 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.5112, allocations: 19.98 kB / 433.7 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.5113, allocations: 4 kB / 433.7 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.5114, allocations: 7.906 kB / 433.7 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.5114, allocations: 7.25 kB / 433.7 MB, free: 4.133 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample1.u,shiftSample1.y,hold1.u,hold1.y,shiftSample1.u,sample1.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.000129/0.5116, allocations: 120.3 kB / 433.8 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.5117, allocations: 60.38 kB / 433.8 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.5121, allocations: 139.2 kB / 434 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.152e-06/0.5121, allocations: 4 kB / 434 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.363e-06/0.5121, allocations: 4.125 kB / 434 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5122, allocations: 0 / 434 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.5125, allocations: 252.5 kB / 434.2 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.249e-06/0.5125, allocations: 4 kB / 434.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.5127, allocations: 12 kB / 434.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.395e-06/0.5127, allocations: 0 / 434.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.5127, allocations: 11.23 kB / 434.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.182e-06/0.5127, allocations: 7.891 kB / 434.3 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.872e-06/0.5128, allocations: 8.078 kB / 434.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.5132, allocations: 218.3 kB / 434.5 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.5134, allocations: 128.4 kB / 434.6 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.5134, allocations: 7.25 kB / 434.6 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.5136, allocations: 11.73 kB / 434.6 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.5136, allocations: 7.984 kB / 434.6 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.5137, allocations: 4 kB / 434.6 MB, free: 3.133 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003695/0.5141, allocations: 237.6 kB / 434.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.5141, allocations: 0 / 434.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004451/0.5145, allocations: 59.55 kB / 434.9 MB, free: 2.891 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.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample1.u,hold1.y,hold1.u,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 (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.001533/0.5161, allocations: 425.7 kB / 435.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.5165, allocations: 95.33 kB / 435.4 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5165, allocations: 0 / 435.4 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.5166, allocations: 42.48 kB / 435.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.5171, allocations: 55.64 kB / 435.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.5179, allocations: 295 kB / 435.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.5184, allocations: 0.7628 MB / 436.6 MB, free: 1.379 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.5185, allocations: 29.69 kB / 436.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.5186, allocations: 19.44 kB / 436.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of SimCode: time 1.939e-06/0.5186, allocations: 0 / 436.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of Templates: time 0.009396/0.528, allocations: 2.833 MB / 439.5 MB, free: 14.54 MB / 362.7 MB "" Variables in the reference:time,sample1.y,shiftSample1.y,hold1.y Variables in the result:hold1.y,hold1.y_start,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