Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.575e-05, allocations: 12.16 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4719, allocations: 77.41 MB / 420 MB, free: 392 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4722, allocations: 76.5 kB / 420 MB, free: 348 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006323/0.4785, allocations: 1.628 MB / 421.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.06e-06/0.4786, allocations: 0 / 421.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.4786, allocations: 0 / 421.7 MB, free: 14.93 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004406/0.4791, allocations: 361.8 kB / 422 MB, free: 14.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4791, allocations: 8.031 kB / 422 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.4792, allocations: 15.84 kB / 422.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.4794, allocations: 206.7 kB / 422.3 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4795, allocations: 3.984 kB / 422.3 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.4795, allocations: 7.812 kB / 422.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.4798, allocations: 122.6 kB / 422.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4798, allocations: 4 kB / 422.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4798, allocations: 4 kB / 422.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.4799, allocations: 3.953 kB / 422.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/0.4799, allocations: 30.98 kB / 422.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.4804, allocations: 286.7 kB / 422.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.4806, allocations: 83.16 kB / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.4807, allocations: 35.38 kB / 422.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4807, allocations: 15.73 kB / 422.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.4807, allocations: 34.5 kB / 422.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.494e-06/0.4808, allocations: 0 / 422.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002395/0.481, allocations: 72.98 kB / 422.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.4811, allocations: 144.5 kB / 423.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.4813, allocations: 138.8 kB / 423.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.4813, allocations: 25.7 kB / 423.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.4814, allocations: 92.2 kB / 423.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4814, allocations: 3.906 kB / 423.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-06/0.4814, allocations: 0 / 423.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4816, allocations: 322.6 kB / 423.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.4817, allocations: 7.938 kB / 423.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.4817, allocations: 48.97 kB / 423.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.202e-05/0.4818, allocations: 11.98 kB / 423.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.519e-06/0.4818, allocations: 4 kB / 423.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001619/0.482, allocations: 73.28 kB / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.482, allocations: 4 kB / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.881e-06/0.482, allocations: 4 kB / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.482, allocations: 3.953 kB / 423.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4822, allocations: 15.98 kB / 423.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.602e-06/0.4822, allocations: 0 / 423.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.4823, allocations: 12.19 kB / 423.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.4823, allocations: 3.984 kB / 423.8 MB, free: 12.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.088e-05/0.4824, allocations: 116.6 kB / 424 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.4826, allocations: 57.47 kB / 424 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.4826, allocations: 15.52 kB / 424 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.282e-06/0.4826, allocations: 0 / 424 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4826, allocations: 8.078 kB / 424 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.396e-06/0.4827, allocations: 3.938 kB / 424 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.4829, allocations: 185.4 kB / 424.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.547e-06/0.4829, allocations: 0 / 424.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.466e-05/0.483, allocations: 15.94 kB / 424.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.542e-06/0.4831, allocations: 4 kB / 424.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.295e-06/0.4831, allocations: 0 / 424.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4831, allocations: 3.984 kB / 424.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.336e-06/0.4831, allocations: 4 kB / 424.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.4834, allocations: 226 kB / 424.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.4835, allocations: 100.9 kB / 424.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.4835, allocations: 3.5 kB / 424.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.4836, allocations: 7.984 kB / 424.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.4837, allocations: 8 kB / 424.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-06/0.4837, allocations: 0 / 424.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.4838, allocations: 114.8 kB / 424.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.4838, allocations: 0 / 424.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.4842, allocations: 4 kB / 424.7 MB, free: 11.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001286/0.4843, allocations: 99.25 kB / 424.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.4845, allocations: 39.73 kB / 424.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.808e-06/0.4845, allocations: 4.125 kB / 424.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.4845, allocations: 4 kB / 424.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.4849, allocations: 44.77 kB / 424.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.4853, allocations: 126.9 kB / 425 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.4857, allocations: 0.7044 MB / 425.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.4857, allocations: 12.66 kB / 425.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.4858, allocations: 11.44 kB / 425.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.521e-06/0.4858, allocations: 0 / 425.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of Templates: time 0.003784/0.4896, allocations: 0.7382 MB / 426.5 MB, free: 9.855 MB / 346.7 MB "" Variables in the reference:time,sample1.y,shiftSample1.y,backSample1.y Variables in the result:backSample1.backCounter,backSample1.resolution,backSample1.y,backSample1.y_start,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