Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 225.8 MB / 239.4 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.06e-05, allocations: 7.938 kB / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1162, allocations: 50.41 MB / 343.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.5035, allocations: 81.06 MB / 424.1 MB, free: 8.211 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5038, allocations: 82.34 kB / 424.2 MB, free: 8.211 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03552/0.5393, allocations: 5.927 MB / 430.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.391e-06/0.5394, allocations: 0 / 430.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.584e-05/0.5395, allocations: 3.844 kB / 430.1 MB, free: 6.777 MB / 330.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.0008024/0.5403, allocations: 471.6 kB / 430.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.5404, allocations: 11.56 kB / 430.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.5405, allocations: 18.94 kB / 430.6 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.5412, allocations: 267.3 kB / 430.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.5413, allocations: 7.219 kB / 430.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.5413, allocations: 11.09 kB / 430.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.5419, allocations: 142.6 kB / 431 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.5419, allocations: 0 / 431 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.542, allocations: 3.062 kB / 431.1 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.656e-06/0.542, allocations: 7.703 kB / 431.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.5422, allocations: 28.62 kB / 431.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008226/0.543, allocations: 365.1 kB / 431.4 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.5434, allocations: 102.4 kB / 431.5 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.5435, allocations: 44.62 kB / 431.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.5436, allocations: 11.2 kB / 431.6 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.5438, allocations: 68.83 kB / 431.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 4.696e-06/0.5439, allocations: 0 / 431.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005043/0.5444, allocations: 117.3 kB / 431.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.5445, allocations: 136.5 kB / 431.9 MB, free: 5.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.545, allocations: 238.6 kB / 432.1 MB, free: 5.137 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5451, allocations: 25.7 kB / 432.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5452, allocations: 120.7 kB / 432.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.5453, allocations: 16.44 kB / 432.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.5453, allocations: 1.312 kB / 432.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5455, allocations: 329.7 kB / 432.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.5456, allocations: 22.73 kB / 432.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.5458, allocations: 67.67 kB / 432.7 MB, free: 4.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.5459, allocations: 22.58 kB / 432.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.599e-06/0.5459, allocations: 3.844 kB / 432.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004247/0.5464, allocations: 117.2 kB / 432.9 MB, free: 4.559 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.5464, allocations: 11.36 kB / 432.9 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.524e-06/0.5465, allocations: 3.938 kB / 432.9 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.5465, allocations: 3.844 kB / 432.9 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.5467, allocations: 14.84 kB / 432.9 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.5467, allocations: 3.984 kB / 432.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.547, allocations: 7.781 kB / 432.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.547, allocations: 3.688 kB / 432.9 MB, free: 4.543 MB / 330.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.0001134/0.5471, allocations: 120.3 kB / 433 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.5473, allocations: 64.09 kB / 433.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.5478, allocations: 113.2 kB / 433.2 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.211e-06/0.5478, allocations: 3.984 kB / 433.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.5479, allocations: 0 / 433.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.868e-06/0.5479, allocations: 3.688 kB / 433.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.5483, allocations: 233.1 kB / 433.4 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.837e-06/0.5483, allocations: 4 kB / 433.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.5484, allocations: 11.75 kB / 433.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.5484, allocations: 0 / 433.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.5485, allocations: 0 / 433.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.5485, allocations: 11.75 kB / 433.5 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.782e-06/0.5485, allocations: 0 / 433.5 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.549, allocations: 179.6 kB / 433.6 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.5492, allocations: 119.2 kB / 433.7 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.5493, allocations: 3.688 kB / 433.8 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.5495, allocations: 3.844 kB / 433.8 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.5496, allocations: 11.3 kB / 433.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.5496, allocations: 11.56 kB / 433.8 MB, free: 3.836 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004122/0.5501, allocations: 193.5 kB / 434 MB, free: 3.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.148e-06/0.5501, allocations: 0 / 434 MB, free: 3.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000763/0.5509, allocations: 42.16 kB / 434 MB, free: 3.73 MB / 330.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.002432/0.5533, allocations: 410.7 kB / 434.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.5538, allocations: 67.92 kB / 434.5 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.937e-06/0.5538, allocations: 0 / 434.5 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.554, allocations: 26.38 kB / 434.5 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.5547, allocations: 52.98 kB / 434.6 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008914/0.5556, allocations: 229.3 kB / 434.8 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.5562, allocations: 0.7346 MB / 435.5 MB, free: 18.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.5564, allocations: 28.36 kB / 435.5 MB, free: 18.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.5565, allocations: 18.97 kB / 435.6 MB, free: 18.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.369e-06/0.5565, allocations: 0 / 435.6 MB, free: 18.59 MB / 346.7 MB Notification: Performance of Templates: time 0.01192/0.5685, allocations: 2.359 MB / 437.9 MB, free: 17.41 MB / 346.7 MB