Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.334/2.334, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09905/0.09905, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.158e-05/4.13e-05, allocations: 8 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.0018/0.4015, allocations: 1.287 MB / 460.5 MB, free: 27.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008714/0.4024, allocations: 488 kB / 461 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.852e-05/0.4026, allocations: 0 / 461 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.4026, allocations: 3.938 kB / 461 MB, free: 26.83 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.4027, allocations: 7.984 kB / 461 MB, free: 26.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.403, allocations: 39.83 kB / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.537e-05/0.4031, allocations: 27.91 kB / 461 MB, free: 26.76 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.896e-05/0.4032, allocations: 15.97 kB / 461 MB, free: 26.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.4033, allocations: 12 kB / 461.1 MB, free: 26.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.4034, allocations: 15.92 kB / 461.1 MB, free: 26.71 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.4034, allocations: 4 kB / 461.1 MB, free: 26.71 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.4034, allocations: 0 / 461.1 MB, free: 26.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.23e-05/0.4035, allocations: 11.92 kB / 461.1 MB, free: 26.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.4035, allocations: 4 kB / 461.1 MB, free: 26.7 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.398e-05/0.4036, allocations: 31.94 kB / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.4036, allocations: 7.938 kB / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4036, allocations: 4 kB / 461.1 MB, free: 26.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4036, allocations: 0 / 461.1 MB, free: 26.65 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.0004071/0.404, allocations: 353.9 kB / 461.5 MB, free: 26.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4041, allocations: 12.02 kB / 461.5 MB, free: 26.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.4041, allocations: 11.86 kB / 461.5 MB, free: 26.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.4043, allocations: 188.8 kB / 461.7 MB, free: 26.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4044, allocations: 7.984 kB / 461.7 MB, free: 26.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.4044, allocations: 4 kB / 461.7 MB, free: 26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.4047, allocations: 117.9 kB / 461.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4047, allocations: 0 / 461.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4048, allocations: 0 / 461.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.4048, allocations: 7.953 kB / 461.8 MB, free: 25.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4049, allocations: 31.92 kB / 461.9 MB, free: 25.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.4053, allocations: 274.5 kB / 462.1 MB, free: 25.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.4054, allocations: 71.78 kB / 462.2 MB, free: 25.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.4054, allocations: 4.062 kB / 462.2 MB, free: 25.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4055, allocations: 34.5 kB / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.4055, allocations: 3.938 kB / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003607/0.4058, allocations: 97.56 kB / 462.3 MB, free: 25.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.4059, allocations: 110.8 kB / 462.4 MB, free: 25.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.406, allocations: 126.3 kB / 462.6 MB, free: 24.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.4061, allocations: 25.7 kB / 462.6 MB, free: 24.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.4061, allocations: 96.41 kB / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.4061, allocations: 0 / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.4062, allocations: 4 kB / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.4062, allocations: 318.8 kB / 463 MB, free: 24.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.4063, allocations: 12 kB / 463 MB, free: 24.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.222e-05/0.4064, allocations: 35.36 kB / 463 MB, free: 24.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.153e-05/0.4065, allocations: 16 kB / 463.1 MB, free: 24.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4065, allocations: 0 / 463.1 MB, free: 24.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001952/0.4067, allocations: 73.52 kB / 463.1 MB, free: 24.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4067, allocations: 12.12 kB / 463.1 MB, free: 24.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4067, allocations: 3.953 kB / 463.1 MB, free: 24.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4068, allocations: 0 / 463.1 MB, free: 24.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.4069, allocations: 23.92 kB / 463.2 MB, free: 24.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4069, allocations: 4 kB / 463.2 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.407, allocations: 0 / 463.2 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.407, allocations: 4 kB / 463.2 MB, free: 24.34 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 7.227e-05/0.4071, allocations: 117.8 kB / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.3e-05/0.4072, allocations: 57.55 kB / 463.3 MB, free: 24.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.4072, allocations: 11.95 kB / 463.4 MB, free: 24.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4073, allocations: 11.94 kB / 463.4 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4073, allocations: 0 / 463.4 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4073, allocations: 0 / 463.4 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.4075, allocations: 169.7 kB / 463.5 MB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4075, allocations: 0 / 463.5 MB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.076e-05/0.4076, allocations: 11.98 kB / 463.5 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4076, allocations: 4 kB / 463.6 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.4076, allocations: 0 / 463.6 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4076, allocations: 4.062 kB / 463.6 MB, free: 23.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4076, allocations: 3.953 kB / 463.6 MB, free: 23.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.4079, allocations: 208.5 kB / 463.8 MB, free: 23.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.4079, allocations: 96.95 kB / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.408, allocations: 0 / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4081, allocations: 7.984 kB / 463.9 MB, free: 23.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.4081, allocations: 3.938 kB / 463.9 MB, free: 23.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.4081, allocations: 4 kB / 463.9 MB, free: 23.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.4082, allocations: 110.5 kB / 464 MB, free: 23.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4082, allocations: 0 / 464 MB, free: 23.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.4085, allocations: 11.94 kB / 464 MB, free: 23.41 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 9.628e-05/0.4087, allocations: 103.2 kB / 464.1 MB, free: 23.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.4089, allocations: 35.92 kB / 464.1 MB, free: 23.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4089, allocations: 0 / 464.1 MB, free: 23.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.297e-05/0.409, allocations: 11.98 kB / 464.1 MB, free: 23.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.4093, allocations: 32.27 kB / 464.2 MB, free: 23.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.4097, allocations: 198.6 kB / 464.4 MB, free: 22.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.4099, allocations: 0.6967 MB / 465.1 MB, free: 22.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.4099, allocations: 4.188 kB / 465.1 MB, free: 22.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.41, allocations: 11.44 kB / 465.1 MB, free: 22.25 MB / 346.7 MB Notification: Performance of SimCode: time 8.91e-07/0.41, allocations: 0 / 465.1 MB, free: 22.25 MB / 346.7 MB Notification: Performance of Templates: time 0.003389/0.4134, allocations: 0.5709 MB / 465.7 MB, free: 21.69 MB / 346.7 MB "" Variables in the reference:Time,sample.y,shiftSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample.y,shiftSample1.resolution,shiftSample1.shiftCounter,shiftSample1.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,time