Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.518/2.518, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09744/0.09744, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.542e-05/4.533e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3845, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002405/0.3869, allocations: 1.553 MB / 460.7 MB, free: 27.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.3886, allocations: 0.8588 MB / 461.6 MB, free: 26.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.3888, allocations: 4 kB / 461.6 MB, free: 26.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006491/0.3894, allocations: 151.7 kB / 461.8 MB, free: 26.03 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.3897, allocations: 87.67 kB / 461.8 MB, free: 25.94 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.3903, allocations: 135.6 kB / 462 MB, free: 25.81 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3905, allocations: 87.83 kB / 462.1 MB, free: 25.72 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.3906, allocations: 12 kB / 462.1 MB, free: 25.71 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3907, allocations: 63.77 kB / 462.1 MB, free: 25.65 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3908, allocations: 47.83 kB / 462.2 MB, free: 25.6 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3909, allocations: 31.98 kB / 462.2 MB, free: 25.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.391, allocations: 8 kB / 462.2 MB, free: 25.56 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.3911, allocations: 35.83 kB / 462.3 MB, free: 25.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.3911, allocations: 8 kB / 462.3 MB, free: 25.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.3914, allocations: 154.3 kB / 462.4 MB, free: 25.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3914, allocations: 0 / 462.4 MB, free: 25.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3914, allocations: 4 kB / 462.4 MB, free: 25.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.3914, allocations: 0 / 462.4 MB, free: 25.37 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005787/0.392, allocations: 452.6 kB / 462.9 MB, free: 24.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.392, allocations: 12.03 kB / 462.9 MB, free: 24.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.3921, allocations: 19.77 kB / 462.9 MB, free: 24.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.3925, allocations: 261.7 kB / 463.1 MB, free: 24.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.3925, allocations: 0 / 463.1 MB, free: 24.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.3926, allocations: 8 kB / 463.2 MB, free: 24.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.393, allocations: 154.7 kB / 463.3 MB, free: 24.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.393, allocations: 4 kB / 463.3 MB, free: 24.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.393, allocations: 0 / 463.3 MB, free: 24.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.393, allocations: 7.891 kB / 463.3 MB, free: 24.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3932, allocations: 31.92 kB / 463.3 MB, free: 24.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.3937, allocations: 362.4 kB / 463.7 MB, free: 23.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.394, allocations: 107.9 kB / 463.8 MB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.394, allocations: 8.062 kB / 463.8 MB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.3942, allocations: 79.41 kB / 463.9 MB, free: 23.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.895e-06/0.3942, allocations: 3.984 kB / 463.9 MB, free: 23.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004341/0.3947, allocations: 141.4 kB / 464 MB, free: 23.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3948, allocations: 136.4 kB / 464.2 MB, free: 23.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.3951, allocations: 252 kB / 464.4 MB, free: 23.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3951, allocations: 29.7 kB / 464.4 MB, free: 23.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.3952, allocations: 112.1 kB / 464.6 MB, free: 22.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.3952, allocations: 15.81 kB / 464.6 MB, free: 22.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.3952, allocations: 4.25 kB / 464.6 MB, free: 22.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.3953, allocations: 330.8 kB / 464.9 MB, free: 22.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/0.3954, allocations: 23.94 kB / 464.9 MB, free: 22.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3955, allocations: 65.98 kB / 465 MB, free: 22.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-05/0.3957, allocations: 35.97 kB / 465 MB, free: 22.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3957, allocations: 0 / 465 MB, free: 22.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002656/0.3959, allocations: 109.4 kB / 465.1 MB, free: 22.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.396, allocations: 9.094 kB / 465.1 MB, free: 22.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.396, allocations: 3.953 kB / 465.1 MB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.396, allocations: 4 kB / 465.1 MB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3961, allocations: 11.94 kB / 465.2 MB, free: 22.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3962, allocations: 12.11 kB / 465.2 MB, free: 22.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3963, allocations: 7.906 kB / 465.2 MB, free: 22.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3963, allocations: 8 kB / 465.2 MB, free: 22.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001251/0.3964, allocations: 146.1 kB / 465.3 MB, free: 22.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/0.3966, allocations: 65.44 kB / 465.4 MB, free: 22.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.3966, allocations: 21.72 kB / 465.4 MB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3966, allocations: 7.938 kB / 465.4 MB, free: 22.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3967, allocations: 4.062 kB / 465.4 MB, free: 22.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3967, allocations: 4 kB / 465.4 MB, free: 22.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3969, allocations: 217.6 kB / 465.6 MB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3969, allocations: 0 / 465.6 MB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.3969, allocations: 4 kB / 465.6 MB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.397, allocations: 0 / 465.6 MB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.397, allocations: 8 kB / 465.6 MB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.397, allocations: 7.922 kB / 465.7 MB, free: 21.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.397, allocations: 3.953 kB / 465.7 MB, free: 21.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3973, allocations: 181.9 kB / 465.8 MB, free: 21.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.3974, allocations: 112.8 kB / 465.9 MB, free: 21.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.3975, allocations: 4 kB / 466 MB, free: 21.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.3976, allocations: 4 kB / 466 MB, free: 21.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.3976, allocations: 7.984 kB / 466 MB, free: 21.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3977, allocations: 15.94 kB / 466 MB, free: 21.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.3979, allocations: 192.5 kB / 466.2 MB, free: 21.19 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3979, allocations: 0 / 466.2 MB, free: 21.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.3982, allocations: 24 kB / 466.2 MB, free: 21.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (9): * Single equations (assignments): 7 * 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.001029/0.3993, allocations: 392.9 kB / 466.6 MB, free: 20.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3996, allocations: 64.05 kB / 466.6 MB, free: 20.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3996, allocations: 0 / 466.6 MB, free: 20.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3997, allocations: 31.92 kB / 466.7 MB, free: 20.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.4002, allocations: 64.48 kB / 466.7 MB, free: 20.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.4008, allocations: 332.4 kB / 467.1 MB, free: 20.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.401, allocations: 0.7322 MB / 467.8 MB, free: 19.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.4011, allocations: 25.53 kB / 467.8 MB, free: 19.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.4012, allocations: 19.44 kB / 467.8 MB, free: 19.53 MB / 346.7 MB Notification: Performance of SimCode: time 7.02e-07/0.4012, allocations: 0 / 467.8 MB, free: 19.53 MB / 346.7 MB Notification: Performance of Templates: time 0.007527/0.4087, allocations: 2.269 MB / 470.1 MB, free: 17.27 MB / 346.7 MB