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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.179e-05/4.207e-05, allocations: 1.562 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 50.41 MB / 343.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5554, allocations: 81.57 MB / 424.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5558, allocations: 82.2 kB / 424.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02635/0.5821, allocations: 6.184 MB / 430.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.925e-06/0.5822, allocations: 0 / 430.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.5822, allocations: 7.984 kB / 430.9 MB, free: 7.422 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.0007725/0.583, allocations: 494.5 kB / 431.4 MB, free: 6.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5831, allocations: 12.03 kB / 431.4 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.5831, allocations: 23.72 kB / 431.4 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.5837, allocations: 295.3 kB / 431.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.5838, allocations: 7.25 kB / 431.7 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.5838, allocations: 10.44 kB / 431.7 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.5842, allocations: 164.5 kB / 431.9 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5843, allocations: 0 / 431.9 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.5843, allocations: 4 kB / 431.9 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.5843, allocations: 3.953 kB / 431.9 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.5844, allocations: 48.23 kB / 432 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.5853, allocations: 486.9 kB / 432.4 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.5856, allocations: 139.5 kB / 432.6 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.5857, allocations: 58.48 kB / 432.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.5857, allocations: 7.953 kB / 432.6 MB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.586, allocations: 95.41 kB / 432.7 MB, free: 5.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.226e-06/0.586, allocations: 0 / 432.7 MB, free: 5.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003862/0.5864, allocations: 130.6 kB / 432.9 MB, free: 5.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.5865, allocations: 195.8 kB / 433 MB, free: 5.199 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.587, allocations: 296.5 kB / 433.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.5871, allocations: 28.89 kB / 433.4 MB, free: 4.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.5872, allocations: 124.7 kB / 433.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.5873, allocations: 27.23 kB / 433.5 MB, free: 4.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-06/0.5873, allocations: 7.812 kB / 433.5 MB, free: 4.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.5875, allocations: 325.1 kB / 433.8 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.5876, allocations: 34.98 kB / 433.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.5877, allocations: 97.84 kB / 434 MB, free: 4.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.5879, allocations: 33.73 kB / 434 MB, free: 4.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.964e-06/0.5879, allocations: 0 / 434 MB, free: 4.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003213/0.5882, allocations: 138.9 kB / 434.1 MB, free: 4.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5882, allocations: 11.95 kB / 434.1 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5883, allocations: 0 / 434.1 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.5883, allocations: 4 kB / 434.1 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.5885, allocations: 24.14 kB / 434.2 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5885, allocations: 7.938 kB / 434.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.5887, allocations: 7.906 kB / 434.2 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.5887, allocations: 7.5 kB / 434.2 MB, free: 4.141 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.0001252/0.5888, allocations: 116.3 kB / 434.3 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.589, allocations: 69.25 kB / 434.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.5893, allocations: 124.8 kB / 434.5 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.5894, allocations: 8.062 kB / 434.5 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.5894, allocations: 3.984 kB / 434.5 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-06/0.5894, allocations: 4 kB / 434.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.5898, allocations: 252.7 kB / 434.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5898, allocations: 0 / 434.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.5899, allocations: 12 kB / 434.8 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.5899, allocations: 7.938 kB / 434.8 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.59, allocations: 3.984 kB / 434.8 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.581e-06/0.59, allocations: 7.953 kB / 434.8 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.563e-06/0.59, allocations: 0 / 434.8 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.5904, allocations: 222.8 kB / 435 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.5906, allocations: 122.8 kB / 435.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.5907, allocations: 8 kB / 435.1 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5908, allocations: 6.562 kB / 435.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.5909, allocations: 11.05 kB / 435.2 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.5909, allocations: 11.92 kB / 435.2 MB, free: 3.148 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003551/0.5913, allocations: 242.5 kB / 435.4 MB, free: 2.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.066e-06/0.5913, allocations: 0 / 435.4 MB, free: 2.957 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004483/0.5918, allocations: 50.69 kB / 435.5 MB, free: 2.914 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.001498/0.5933, allocations: 425 kB / 435.9 MB, free: 2.605 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.5936, allocations: 94.95 kB / 436 MB, free: 2.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.438e-06/0.5937, allocations: 4.312 kB / 436 MB, free: 2.531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.5938, allocations: 40.8 kB / 436 MB, free: 2.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.5943, allocations: 64.42 kB / 436.1 MB, free: 2.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.5951, allocations: 296 kB / 436.4 MB, free: 2.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.5955, allocations: 0.7559 MB / 437.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.5957, allocations: 21.7 kB / 437.1 MB, free: 1.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.5958, allocations: 26.44 kB / 437.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of SimCode: time 1.799e-06/0.5958, allocations: 0 / 437.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of Templates: time 0.009262/0.6051, allocations: 2.832 MB / 440 MB, free: 14.56 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