Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.21/2.21, allocations: 218.4 MB / 231.1 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.409e-05, allocations: 4 kB / 284.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.0955, allocations: 50.36 MB / 334.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4597, allocations: 82.08 MB / 416.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.46, allocations: 78.27 kB / 416.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02402/0.484, allocations: 5.872 MB / 422.7 MB, free: 7.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.14e-06/0.4841, allocations: 4 kB / 422.7 MB, free: 7.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.4841, allocations: 0 / 422.7 MB, free: 7.262 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.0006714/0.4848, allocations: 485.1 kB / 423.2 MB, free: 6.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4849, allocations: 8.031 kB / 423.2 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.4849, allocations: 27.66 kB / 423.2 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.4855, allocations: 267.2 kB / 423.5 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.4855, allocations: 7.625 kB / 423.5 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.4855, allocations: 14.77 kB / 423.5 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.4859, allocations: 171.5 kB / 423.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.793e-06/0.486, allocations: 3.938 kB / 423.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.486, allocations: 0 / 423.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.762e-06/0.486, allocations: 0 / 423.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.4861, allocations: 34.75 kB / 423.7 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.4868, allocations: 382.5 kB / 424.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.487, allocations: 124.4 kB / 424.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4872, allocations: 54.3 kB / 424.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.4872, allocations: 3.312 kB / 424.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.4874, allocations: 81.02 kB / 424.4 MB, free: 5.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.838e-06/0.4874, allocations: 0 / 424.4 MB, free: 5.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004055/0.4878, allocations: 122.1 kB / 424.5 MB, free: 5.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.488, allocations: 162.2 kB / 424.6 MB, free: 5.258 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.4883, allocations: 245.6 kB / 424.9 MB, free: 5.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4884, allocations: 37.64 kB / 424.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.4885, allocations: 116.4 kB / 425 MB, free: 4.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.4886, allocations: 23 kB / 425 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-06/0.4886, allocations: 0 / 425 MB, free: 4.902 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4888, allocations: 334.1 kB / 425.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.4888, allocations: 24.31 kB / 425.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.489, allocations: 84.84 kB / 425.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.4891, allocations: 30.17 kB / 425.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.992e-06/0.4891, allocations: 0 / 425.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002781/0.4894, allocations: 126 kB / 425.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4894, allocations: 8 kB / 425.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.799e-06/0.4894, allocations: 3.938 kB / 425.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4894, allocations: 4 kB / 425.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4896, allocations: 8.125 kB / 425.7 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.4896, allocations: 7.984 kB / 425.7 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.4897, allocations: 11.69 kB / 425.7 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.4898, allocations: 12 kB / 425.7 MB, free: 4.277 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.0001235/0.4899, allocations: 120 kB / 425.8 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.4901, allocations: 72.69 kB / 425.9 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.4904, allocations: 112.3 kB / 426 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-06/0.4904, allocations: 0 / 426 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4904, allocations: 4 kB / 426 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.615e-06/0.4904, allocations: 3.938 kB / 426 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.4907, allocations: 248 kB / 426.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-06/0.4908, allocations: 0 / 426.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.4908, allocations: 11.94 kB / 426.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.298e-06/0.4909, allocations: 0 / 426.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.4909, allocations: 7.938 kB / 426.3 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.922e-06/0.4909, allocations: 3.984 kB / 426.3 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.441e-06/0.4909, allocations: 4 kB / 426.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.4913, allocations: 206.2 kB / 426.5 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.4914, allocations: 117.7 kB / 426.6 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.4915, allocations: 4 kB / 426.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.4916, allocations: 11.05 kB / 426.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.4917, allocations: 8 kB / 426.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.4917, allocations: 11.94 kB / 426.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002824/0.492, allocations: 195.6 kB / 426.8 MB, free: 3.164 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.492, allocations: 3.938 kB / 426.8 MB, free: 3.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003994/0.4924, allocations: 43.25 kB / 426.8 MB, free: 3.121 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.001421/0.4939, allocations: 393.1 kB / 427.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.4942, allocations: 71.3 kB / 427.3 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.333e-06/0.4942, allocations: 0 / 427.3 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.4943, allocations: 29.17 kB / 427.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.4947, allocations: 62.59 kB / 427.4 MB, free: 2.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.4954, allocations: 259.8 kB / 427.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.4959, allocations: 0.7399 MB / 428.4 MB, free: 1.656 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.496, allocations: 17.55 kB / 428.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.4961, allocations: 19.44 kB / 428.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of SimCode: time 1.562e-06/0.4961, allocations: 7.938 kB / 428.4 MB, free: 1.613 MB / 346.7 MB Notification: Performance of Templates: time 0.008503/0.5046, allocations: 2.543 MB / 431 MB, free: 15.09 MB / 362.7 MB "" Variables in the reference:backSample1.y,sample.y,shiftSample1.y,time 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.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