Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.406e-05, allocations: 6.812 kB / 292.7 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.08892, allocations: 50.42 MB / 343.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.45, allocations: 77.21 MB / 420.3 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4503, allocations: 77.83 kB / 420.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006033/0.4563, allocations: 1.515 MB / 421.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.491e-06/0.4564, allocations: 0 / 421.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.4564, allocations: 0 / 421.9 MB, free: 15.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000423/0.4568, allocations: 354 kB / 422.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4569, allocations: 8.031 kB / 422.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.4569, allocations: 11.86 kB / 422.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.4572, allocations: 194.6 kB / 422.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4572, allocations: 8 kB / 422.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.4573, allocations: 0 / 422.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.4575, allocations: 105.2 kB / 422.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.822e-06/0.4576, allocations: 0 / 422.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4576, allocations: 7.953 kB / 422.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.4576, allocations: 0 / 422.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.051e-05/0.4577, allocations: 15.75 kB / 422.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.4581, allocations: 274.2 kB / 422.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.4582, allocations: 72.62 kB / 422.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.4583, allocations: 30.52 kB / 422.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4584, allocations: 3.953 kB / 422.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4584, allocations: 30.56 kB / 423 MB, free: 14.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.227e-06/0.4584, allocations: 0 / 423 MB, free: 14.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002154/0.4586, allocations: 69.09 kB / 423 MB, free: 14.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.4587, allocations: 102.8 kB / 423.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4589, allocations: 131.4 kB / 423.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.4589, allocations: 25.7 kB / 423.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.459, allocations: 87.64 kB / 423.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.459, allocations: 3.906 kB / 423.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-06/0.4591, allocations: 3.938 kB / 423.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4592, allocations: 326.9 kB / 423.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.4593, allocations: 7.938 kB / 423.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.4593, allocations: 27.38 kB / 423.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.4594, allocations: 7.875 kB / 423.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4594, allocations: 4 kB / 423.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001412/0.4595, allocations: 65.3 kB / 423.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4596, allocations: 4 kB / 423.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.942e-06/0.4596, allocations: 7.922 kB / 423.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4596, allocations: 4 kB / 423.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.4597, allocations: 8 kB / 423.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.4597, allocations: 0 / 423.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.336e-05/0.4598, allocations: 7.938 kB / 423.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.4598, allocations: 12.11 kB / 423.9 MB, free: 13.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.354e-05/0.4599, allocations: 108.6 kB / 424 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.4601, allocations: 49.44 kB / 424 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.4601, allocations: 11.64 kB / 424 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.4601, allocations: 4 kB / 424 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.622e-06/0.4602, allocations: 0 / 424 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.745e-06/0.4602, allocations: 0 / 424 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.4604, allocations: 176.5 kB / 424.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-06/0.4604, allocations: 4.062 kB / 424.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.4605, allocations: 11.98 kB / 424.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.205e-06/0.4605, allocations: 0 / 424.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.4606, allocations: 11.89 kB / 424.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.908e-06/0.4606, allocations: 4 kB / 424.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.461e-06/0.4606, allocations: 0 / 424.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.4608, allocations: 192.1 kB / 424.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.4609, allocations: 89 kB / 424.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.461, allocations: 11.92 kB / 424.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4611, allocations: 4 kB / 424.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.4611, allocations: 0 / 424.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-06/0.4612, allocations: 0 / 424.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.4613, allocations: 109.9 kB / 424.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.4613, allocations: 4 kB / 424.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.4616, allocations: 8 kB / 424.6 MB, free: 12.6 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001289/0.4618, allocations: 103.1 kB / 424.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.4619, allocations: 27.8 kB / 424.8 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4619, allocations: 0 / 424.8 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-05/0.4619, allocations: 7.938 kB / 424.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.4622, allocations: 28 kB / 424.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.4626, allocations: 114.6 kB / 424.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.463, allocations: 0.6926 MB / 425.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.4631, allocations: 8.172 kB / 425.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.4631, allocations: 15.38 kB / 425.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.444e-06/0.4631, allocations: 0 / 425.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of Templates: time 0.003344/0.4665, allocations: 0.563 MB / 426.2 MB, free: 11.02 MB / 346.7 MB "" Variables in the reference:time,sample1.y,shiftSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,shiftSample1.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time