Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.876e-05, allocations: 9.547 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 50.41 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.5812, allocations: 81.48 MB / 424.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5815, allocations: 80.77 kB / 424.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02935/0.6109, allocations: 6.038 MB / 430.7 MB, free: 7.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.021e-06/0.6109, allocations: 0 / 430.7 MB, free: 7.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.595e-05/0.611, allocations: 8 kB / 430.7 MB, free: 7.574 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.001038/0.6121, allocations: 486.6 kB / 431.2 MB, free: 7.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.6121, allocations: 8.031 kB / 431.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.6123, allocations: 27.77 kB / 431.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/0.6131, allocations: 261.2 kB / 431.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.6131, allocations: 4 kB / 431.5 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.6132, allocations: 11.88 kB / 431.5 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.6138, allocations: 170.7 kB / 431.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.6139, allocations: 0 / 431.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.6139, allocations: 0 / 431.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.614, allocations: 7.953 kB / 431.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.6142, allocations: 42.48 kB / 431.7 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.6151, allocations: 377.3 kB / 432.1 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.6154, allocations: 126.8 kB / 432.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.6155, allocations: 58.92 kB / 432.2 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.6156, allocations: 7.938 kB / 432.2 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.6158, allocations: 73.59 kB / 432.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.341e-06/0.6158, allocations: 0 / 432.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003662/0.6161, allocations: 130.7 kB / 432.4 MB, free: 5.758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.6163, allocations: 165.8 kB / 432.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.6167, allocations: 242.3 kB / 432.8 MB, free: 5.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.6167, allocations: 29.2 kB / 432.9 MB, free: 5.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.6169, allocations: 117.1 kB / 433 MB, free: 5.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.6169, allocations: 23.67 kB / 433 MB, free: 5.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-06/0.6169, allocations: 4.094 kB / 433 MB, free: 5.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6171, allocations: 331.1 kB / 433.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.6172, allocations: 18.56 kB / 433.4 MB, free: 4.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.6173, allocations: 75.67 kB / 433.4 MB, free: 4.785 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.751e-05/0.6174, allocations: 37.14 kB / 433.5 MB, free: 4.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.999e-06/0.6174, allocations: 0 / 433.5 MB, free: 4.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002937/0.6177, allocations: 120.1 kB / 433.6 MB, free: 4.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.6178, allocations: 16.14 kB / 433.6 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.6178, allocations: 0 / 433.6 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.6178, allocations: 7.984 kB / 433.6 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.618, allocations: 12 kB / 433.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.231e-06/0.618, allocations: 0 / 433.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.6181, allocations: 15.17 kB / 433.6 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.6181, allocations: 4 kB / 433.6 MB, free: 4.602 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,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.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.0001187/0.6183, allocations: 116 kB / 433.7 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.6184, allocations: 80.47 kB / 433.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.6187, allocations: 115.8 kB / 433.9 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.224e-06/0.6188, allocations: 4 kB / 433.9 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.305e-06/0.6188, allocations: 4.125 kB / 433.9 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.278e-06/0.6188, allocations: 0 / 433.9 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.6191, allocations: 230.5 kB / 434.2 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.441e-06/0.6191, allocations: 4 kB / 434.2 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.6192, allocations: 15.86 kB / 434.2 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.952e-06/0.6192, allocations: 7.938 kB / 434.2 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.6192, allocations: 4.094 kB / 434.2 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.568e-06/0.6193, allocations: 7.953 kB / 434.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6193, allocations: 0 / 434.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.6196, allocations: 210.1 kB / 434.4 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.6198, allocations: 116.1 kB / 434.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.6198, allocations: 7.438 kB / 434.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.62, allocations: 7.938 kB / 434.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.62, allocations: 11.55 kB / 434.6 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.6201, allocations: 4 kB / 434.6 MB, free: 3.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002836/0.6204, allocations: 198 kB / 434.8 MB, free: 3.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.6204, allocations: 0 / 434.8 MB, free: 3.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004068/0.6208, allocations: 35 kB / 434.8 MB, free: 3.461 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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.001486/0.6223, allocations: 420.9 kB / 435.2 MB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.6226, allocations: 78.23 kB / 435.3 MB, free: 3.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4e-06/0.6226, allocations: 0 / 435.3 MB, free: 3.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.6227, allocations: 22.69 kB / 435.3 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.6232, allocations: 76.3 kB / 435.4 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.6239, allocations: 246.1 kB / 435.6 MB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.6243, allocations: 0.7395 MB / 436.3 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.6245, allocations: 25.48 kB / 436.4 MB, free: 2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.6246, allocations: 23.42 kB / 436.4 MB, free: 1.977 MB / 346.7 MB Notification: Performance of SimCode: time 1.616e-06/0.6246, allocations: 0 / 436.4 MB, free: 1.977 MB / 346.7 MB Notification: Performance of Templates: time 0.008601/0.6332, allocations: 2.55 MB / 438.9 MB, free: 15.47 MB / 362.7 MB "" Variables in the reference:time,sample1.y,shiftSample1.y,backSample1.y Variables in the result:backSample1.backCounter,backSample1.resolution,backSample1.y,backSample1.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.timeEvents,table.combiTimeTable.timeScale,table.combiTimeTable.verboseExtrapolation,table.combiTimeTable.verboseRead,table.extrapolation,table.n,table.realToBoolean.threshold,table.shiftTime,table.startTime,table.startValue,table.table[1],table.table[2],time