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_Synchronous): time 2.059/2.059, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.252e-05/5.276e-05, allocations: 0 / 284.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 50.36 MB / 334.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4088/0.5291, allocations: 81.97 MB / 416.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.5294, allocations: 86.12 kB / 416.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02374/0.5532, allocations: 5.753 MB / 422.5 MB, free: 7.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.979e-06/0.5532, allocations: 0 / 422.5 MB, free: 7.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.5533, allocations: 0 / 422.5 MB, free: 7.461 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.0006651/0.554, allocations: 471.1 kB / 423 MB, free: 6.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.554, allocations: 12.03 kB / 423 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.5541, allocations: 23.7 kB / 423 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.5546, allocations: 257.5 kB / 423.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.5546, allocations: 15.08 kB / 423.3 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.5547, allocations: 4 kB / 423.3 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.555, allocations: 154.4 kB / 423.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.246e-06/0.5551, allocations: 0 / 423.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.5551, allocations: 3.375 kB / 423.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.524e-06/0.5551, allocations: 0 / 423.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.5552, allocations: 35.09 kB / 423.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.5559, allocations: 372.4 kB / 423.8 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.5561, allocations: 97.78 kB / 423.9 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.5562, allocations: 44.2 kB / 424 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.5562, allocations: 4 kB / 424 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.5565, allocations: 73.48 kB / 424 MB, free: 5.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.574e-06/0.5565, allocations: 0 / 424 MB, free: 5.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005472/0.5571, allocations: 110.6 kB / 424.1 MB, free: 5.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.5572, allocations: 148 kB / 424.3 MB, free: 5.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.5578, allocations: 234.6 kB / 424.5 MB, free: 5.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.5579, allocations: 25.7 kB / 424.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.5581, allocations: 118.7 kB / 424.7 MB, free: 5.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.5581, allocations: 11.16 kB / 424.7 MB, free: 5.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.5582, allocations: 7.312 kB / 424.7 MB, free: 5.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.5584, allocations: 333.6 kB / 425 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.5586, allocations: 23.19 kB / 425 MB, free: 4.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.5588, allocations: 67.89 kB / 425.1 MB, free: 4.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.559, allocations: 23.75 kB / 425.1 MB, free: 4.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.825e-06/0.559, allocations: 0 / 425.1 MB, free: 4.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004849/0.5595, allocations: 112.7 kB / 425.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.5596, allocations: 8 kB / 425.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5596, allocations: 0 / 425.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.5596, allocations: 0 / 425.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.5598, allocations: 19.86 kB / 425.2 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.5599, allocations: 0 / 425.2 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.5601, allocations: 11.91 kB / 425.3 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.5602, allocations: 4 kB / 425.3 MB, free: 4.68 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.0001793/0.5604, allocations: 132.7 kB / 425.4 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.5606, allocations: 61.44 kB / 425.5 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.561, allocations: 113.2 kB / 425.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.93e-06/0.5611, allocations: 0 / 425.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5611, allocations: 4 kB / 425.6 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.355e-06/0.5611, allocations: 0 / 425.6 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.5615, allocations: 232 kB / 425.8 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-06/0.5616, allocations: 0 / 425.8 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.5617, allocations: 12.05 kB / 425.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-06/0.5617, allocations: 0 / 425.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.5617, allocations: 7.75 kB / 425.8 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.5617, allocations: 80 / 425.8 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.231e-06/0.5618, allocations: 7.984 kB / 425.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.5623, allocations: 182.1 kB / 426 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.5625, allocations: 112.8 kB / 426.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.5626, allocations: 0 / 426.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.5628, allocations: 7.984 kB / 426.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.5628, allocations: 11.56 kB / 426.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.5629, allocations: 4 kB / 426.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004915/0.5634, allocations: 195.6 kB / 426.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.106e-06/0.5634, allocations: 0 / 426.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000703/0.5641, allocations: 47.3 kB / 426.4 MB, free: 3.578 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.002248/0.5664, allocations: 397.8 kB / 426.8 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.5668, allocations: 63.36 kB / 426.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.831e-06/0.5669, allocations: 0 / 426.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.567, allocations: 30 kB / 426.8 MB, free: 3.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.5677, allocations: 60.59 kB / 426.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.5687, allocations: 230.9 kB / 427.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.5693, allocations: 0.7317 MB / 427.9 MB, free: 2.145 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.5695, allocations: 29.47 kB / 427.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5696, allocations: 19.42 kB / 427.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of SimCode: time 2.215e-06/0.5696, allocations: 0 / 427.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of Templates: time 0.01343/0.5831, allocations: 2.364 MB / 430.3 MB, free: 15.75 MB / 362.7 MB