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_LinearSystems2): time 2.378/2.378, allocations: 251.5 MB / 266 MB, free: 0.6914 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.0996/0.0996, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.164e-05, allocations: 4 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3746, allocations: 59.43 MB / 459.2 MB, free: 28.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample): time 0.002335/0.377, allocations: 1.58 MB / 460.8 MB, free: 27.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.3787, allocations: 0.886 MB / 461.7 MB, free: 26.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.3788, allocations: 7.938 kB / 461.7 MB, free: 26.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.3794, allocations: 143.7 kB / 461.8 MB, free: 26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.3797, allocations: 95.67 kB / 461.9 MB, free: 25.9 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.3803, allocations: 139.6 kB / 462 MB, free: 25.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3804, allocations: 91.83 kB / 462.1 MB, free: 25.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.3805, allocations: 22.64 kB / 462.1 MB, free: 25.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3807, allocations: 63.77 kB / 462.2 MB, free: 25.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.3808, allocations: 47.78 kB / 462.3 MB, free: 25.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3809, allocations: 39.98 kB / 462.3 MB, free: 25.51 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.3809, allocations: 7.938 kB / 462.3 MB, free: 25.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.381, allocations: 31.91 kB / 462.3 MB, free: 25.47 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.3811, allocations: 8 kB / 462.3 MB, free: 25.46 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3813, allocations: 159.6 kB / 462.5 MB, free: 25.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.3813, allocations: 0 / 462.5 MB, free: 25.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3813, allocations: 0 / 462.5 MB, free: 25.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3814, allocations: 0 / 462.5 MB, free: 25.3 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.0005661/0.3819, allocations: 464.6 kB / 463 MB, free: 24.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.382, allocations: 8.031 kB / 463 MB, free: 24.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.3821, allocations: 27.67 kB / 463 MB, free: 24.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.3824, allocations: 261.7 kB / 463.2 MB, free: 24.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3825, allocations: 7.938 kB / 463.3 MB, free: 24.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3825, allocations: 11.98 kB / 463.3 MB, free: 24.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.3829, allocations: 165.5 kB / 463.4 MB, free: 24.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3829, allocations: 0 / 463.4 MB, free: 24.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3829, allocations: 8 kB / 463.4 MB, free: 24.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.383, allocations: 7.891 kB / 463.4 MB, free: 24.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3831, allocations: 35.92 kB / 463.5 MB, free: 24.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.3836, allocations: 387.2 kB / 463.9 MB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3839, allocations: 134.5 kB / 464 MB, free: 23.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3839, allocations: 0 / 464 MB, free: 23.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.3841, allocations: 79.41 kB / 464.1 MB, free: 23.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.3842, allocations: 0 / 464.1 MB, free: 23.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004636/0.3846, allocations: 161.3 kB / 464.2 MB, free: 23.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.3847, allocations: 158.2 kB / 464.4 MB, free: 23.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.385, allocations: 252.1 kB / 464.6 MB, free: 22.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3851, allocations: 29.7 kB / 464.6 MB, free: 22.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.3851, allocations: 128.3 kB / 464.8 MB, free: 22.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.3852, allocations: 16.12 kB / 464.8 MB, free: 22.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-06/0.3852, allocations: 8 kB / 464.8 MB, free: 22.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.689e-05/0.3853, allocations: 330.8 kB / 465.1 MB, free: 22.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.3854, allocations: 20 kB / 465.1 MB, free: 22.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.3855, allocations: 83.64 kB / 465.2 MB, free: 22.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.3856, allocations: 28.03 kB / 465.3 MB, free: 22.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3857, allocations: 0 / 465.3 MB, free: 22.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002913/0.386, allocations: 129.6 kB / 465.4 MB, free: 22.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.386, allocations: 8.188 kB / 465.4 MB, free: 22.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.386, allocations: 7.953 kB / 465.4 MB, free: 22.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.386, allocations: 7.938 kB / 465.4 MB, free: 22.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3861, allocations: 15.98 kB / 465.4 MB, free: 22.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3862, allocations: 0 / 465.4 MB, free: 22.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.3863, allocations: 19.89 kB / 465.4 MB, free: 22.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3863, allocations: 4 kB / 465.4 MB, free: 22.04 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.0001248/0.3865, allocations: 145.8 kB / 465.6 MB, free: 21.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3866, allocations: 81.44 kB / 465.7 MB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.3867, allocations: 21.72 kB / 465.7 MB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3867, allocations: 3.953 kB / 465.7 MB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3867, allocations: 4 kB / 465.7 MB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3867, allocations: 3.984 kB / 465.7 MB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.3869, allocations: 233.5 kB / 465.9 MB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3869, allocations: 0 / 465.9 MB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.387, allocations: 11.92 kB / 465.9 MB, free: 21.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.387, allocations: 0 / 465.9 MB, free: 21.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.387, allocations: 8 kB / 465.9 MB, free: 21.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.387, allocations: 4.094 kB / 465.9 MB, free: 21.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.387, allocations: 11.89 kB / 466 MB, free: 21.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3873, allocations: 204.5 kB / 466.2 MB, free: 21.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.454e-05/0.3875, allocations: 112.8 kB / 466.3 MB, free: 21.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.3875, allocations: 4 kB / 466.3 MB, free: 21.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3876, allocations: 8 kB / 466.3 MB, free: 21.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.3877, allocations: 7.984 kB / 466.3 MB, free: 21.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.3877, allocations: 4 kB / 466.3 MB, free: 21.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.3879, allocations: 196.5 kB / 466.5 MB, free: 20.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3879, allocations: 0 / 466.5 MB, free: 20.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003148/0.3883, allocations: 36 kB / 466.5 MB, free: 20.82 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001026/0.3893, allocations: 401.7 kB / 466.9 MB, free: 20.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.3896, allocations: 71.91 kB / 467 MB, free: 20.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3896, allocations: 4 kB / 467 MB, free: 20.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.3897, allocations: 20.31 kB / 467 MB, free: 20.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3902, allocations: 80.62 kB / 467.1 MB, free: 20.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.3908, allocations: 364.9 kB / 467.4 MB, free: 19.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.3911, allocations: 0.744 MB / 468.2 MB, free: 19.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.3912, allocations: 17.55 kB / 468.2 MB, free: 19.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.3912, allocations: 23.42 kB / 468.2 MB, free: 19.11 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3913, allocations: 0 / 468.2 MB, free: 19.11 MB / 346.7 MB Notification: Performance of Templates: time 0.007689/0.399, allocations: 2.435 MB / 470.7 MB, free: 16.7 MB / 346.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