Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 2.2/2.2, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.661e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1467, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.5143, allocations: 81.31 MB / 423.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5146, allocations: 78.7 kB / 424 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02468/0.5393, allocations: 5.919 MB / 429.9 MB, free: 7.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.5393, allocations: 0 / 429.9 MB, free: 7.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.5394, allocations: 4 kB / 429.9 MB, free: 7.895 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.0006812/0.54, allocations: 473.4 kB / 430.3 MB, free: 7.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5401, allocations: 8.031 kB / 430.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/0.5402, allocations: 19.81 kB / 430.4 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.5407, allocations: 270.3 kB / 430.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.5408, allocations: 3.938 kB / 430.6 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.5408, allocations: 7.312 kB / 430.6 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.5412, allocations: 146.1 kB / 430.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.751e-06/0.5412, allocations: 4 kB / 430.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.5412, allocations: 0 / 430.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5412, allocations: 7.953 kB / 430.8 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.5413, allocations: 30.98 kB / 430.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.542, allocations: 362.4 kB / 431.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.5422, allocations: 104.2 kB / 431.3 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.5423, allocations: 39.95 kB / 431.3 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.5424, allocations: 7.938 kB / 431.3 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.5426, allocations: 76.08 kB / 431.4 MB, free: 6.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.5426, allocations: 3.938 kB / 431.4 MB, free: 6.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003332/0.5429, allocations: 105.5 kB / 431.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.5431, allocations: 139.4 kB / 431.6 MB, free: 6.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.5434, allocations: 245.6 kB / 431.9 MB, free: 5.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.5435, allocations: 32.45 kB / 431.9 MB, free: 5.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.5436, allocations: 116.5 kB / 432 MB, free: 5.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.5436, allocations: 15.31 kB / 432 MB, free: 5.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.5437, allocations: 3.438 kB / 432 MB, free: 5.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5438, allocations: 333 kB / 432.4 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.5439, allocations: 23.36 kB / 432.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.544, allocations: 64.2 kB / 432.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.732e-05/0.5441, allocations: 22.98 kB / 432.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.914e-06/0.5441, allocations: 3.938 kB / 432.5 MB, free: 5.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002642/0.5444, allocations: 114.6 kB / 432.6 MB, free: 5.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5445, allocations: 7.953 kB / 432.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.274e-06/0.5445, allocations: 0 / 432.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5445, allocations: 4 kB / 432.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.5446, allocations: 11.5 kB / 432.6 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.5447, allocations: 7.984 kB / 432.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.5448, allocations: 7.938 kB / 432.6 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.5448, allocations: 7.938 kB / 432.6 MB, free: 5.105 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,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample1.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.0001126/0.5449, allocations: 116.5 kB / 432.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.5451, allocations: 64.84 kB / 432.8 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.5454, allocations: 115.1 kB / 432.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5454, allocations: 4 kB / 432.9 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.5454, allocations: 0 / 432.9 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.978e-06/0.5454, allocations: 0 / 432.9 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.5457, allocations: 233.2 kB / 433.2 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-06/0.5457, allocations: 0 / 433.2 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.5458, allocations: 8 kB / 433.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.422e-06/0.5458, allocations: 64 / 433.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.5458, allocations: 7.984 kB / 433.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.24e-06/0.5458, allocations: 7.953 kB / 433.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.454e-06/0.5459, allocations: 3.938 kB / 433.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.5462, allocations: 167.6 kB / 433.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.5463, allocations: 123.1 kB / 433.5 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.5464, allocations: 7.688 kB / 433.5 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5465, allocations: 4 kB / 433.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.5466, allocations: 11.92 kB / 433.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.5466, allocations: 8.031 kB / 433.5 MB, free: 4.215 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002695/0.5469, allocations: 198 kB / 433.7 MB, free: 4.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.5469, allocations: 0 / 433.7 MB, free: 4.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.5473, allocations: 35.44 kB / 433.7 MB, free: 4.023 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (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.001498/0.5488, allocations: 415.3 kB / 434.1 MB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.5491, allocations: 72.98 kB / 434.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.298e-06/0.5492, allocations: 0 / 434.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.354e-05/0.5493, allocations: 26.94 kB / 434.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.5497, allocations: 54.72 kB / 434.3 MB, free: 3.613 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.5503, allocations: 231.7 kB / 434.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.5508, allocations: 0.7326 MB / 435.2 MB, free: 2.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.5509, allocations: 21.08 kB / 435.3 MB, free: 2.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.551, allocations: 23.38 kB / 435.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of SimCode: time 1.628e-06/0.551, allocations: 0 / 435.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of Templates: time 0.008097/0.5591, allocations: 2.37 MB / 437.7 MB, free: 256 kB / 346.7 MB