Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.41/2.41, allocations: 251.5 MB / 266 MB, free: 0.6914 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09867/0.09867, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.538e-05/4.54e-05, allocations: 8 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3732, allocations: 59.43 MB / 459.2 MB, free: 28.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.001797/0.375, allocations: 1.311 MB / 460.5 MB, free: 27.31 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.376, allocations: 0.4921 MB / 461 MB, free: 26.81 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.3761, allocations: 4 kB / 461 MB, free: 26.8 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.3762, allocations: 11.92 kB / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3763, allocations: 7.984 kB / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.3766, allocations: 43.83 kB / 461.1 MB, free: 26.74 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.13e-05/0.3767, allocations: 35.89 kB / 461.1 MB, free: 26.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.198e-05/0.3768, allocations: 7.984 kB / 461.1 MB, free: 26.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.316e-05/0.3769, allocations: 19.92 kB / 461.1 MB, free: 26.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.3769, allocations: 19.92 kB / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.377, allocations: 0 / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.377, allocations: 11.92 kB / 461.2 MB, free: 26.65 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.377, allocations: 15.94 kB / 461.2 MB, free: 26.63 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.3771, allocations: 4 kB / 461.2 MB, free: 26.63 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.183e-05/0.3772, allocations: 42.59 kB / 461.2 MB, free: 26.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3772, allocations: 0 / 461.2 MB, free: 26.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3772, allocations: 0 / 461.2 MB, free: 26.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3772, allocations: 0 / 461.2 MB, free: 26.59 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.0003858/0.3776, allocations: 355.2 kB / 461.6 MB, free: 26.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3776, allocations: 8.031 kB / 461.6 MB, free: 26.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.3777, allocations: 23.7 kB / 461.6 MB, free: 26.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.3779, allocations: 204.2 kB / 461.8 MB, free: 25.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3779, allocations: 4 kB / 461.8 MB, free: 25.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.378, allocations: 4 kB / 461.8 MB, free: 25.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.3783, allocations: 150.6 kB / 461.9 MB, free: 25.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3783, allocations: 0 / 461.9 MB, free: 25.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3783, allocations: 4 kB / 462 MB, free: 25.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3784, allocations: 0 / 462 MB, free: 25.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3785, allocations: 35.91 kB / 462 MB, free: 25.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.3788, allocations: 283.5 kB / 462.3 MB, free: 25.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.379, allocations: 94.42 kB / 462.4 MB, free: 25.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.379, allocations: 11.92 kB / 462.4 MB, free: 25.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.379, allocations: 38.56 kB / 462.4 MB, free: 25.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.379, allocations: 0 / 462.4 MB, free: 25.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000386/0.3794, allocations: 105.9 kB / 462.5 MB, free: 25.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.3795, allocations: 144.5 kB / 462.7 MB, free: 24.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3796, allocations: 132.3 kB / 462.8 MB, free: 24.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.3797, allocations: 25.7 kB / 462.8 MB, free: 24.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.3797, allocations: 96.23 kB / 462.9 MB, free: 24.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.3797, allocations: 3.984 kB / 462.9 MB, free: 24.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.3798, allocations: 8.094 kB / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.3798, allocations: 314.8 kB / 463.2 MB, free: 24.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.3799, allocations: 15.98 kB / 463.2 MB, free: 24.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.38, allocations: 53.08 kB / 463.3 MB, free: 24.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.3801, allocations: 24 kB / 463.3 MB, free: 24.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3801, allocations: 0 / 463.3 MB, free: 24.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002221/0.3804, allocations: 93.48 kB / 463.4 MB, free: 24.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3804, allocations: 5.094 kB / 463.4 MB, free: 24.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3804, allocations: 0 / 463.4 MB, free: 24.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3804, allocations: 4 kB / 463.4 MB, free: 24.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3806, allocations: 15.98 kB / 463.4 MB, free: 24.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3806, allocations: 0 / 463.4 MB, free: 24.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.3807, allocations: 11.89 kB / 463.4 MB, free: 24.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3807, allocations: 7.938 kB / 463.4 MB, free: 24.06 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 8.358e-05/0.3808, allocations: 125.9 kB / 463.6 MB, free: 23.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.3809, allocations: 69.53 kB / 463.6 MB, free: 23.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.381, allocations: 11.88 kB / 463.6 MB, free: 23.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.381, allocations: 0 / 463.6 MB, free: 23.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.381, allocations: 0 / 463.6 MB, free: 23.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.381, allocations: 4 kB / 463.7 MB, free: 23.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.3812, allocations: 181.6 kB / 463.8 MB, free: 23.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3812, allocations: 0 / 463.8 MB, free: 23.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3813, allocations: 16.08 kB / 463.8 MB, free: 23.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3814, allocations: 4 kB / 463.8 MB, free: 23.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3814, allocations: 4 kB / 463.9 MB, free: 23.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3814, allocations: 0 / 463.9 MB, free: 23.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3814, allocations: 3.938 kB / 463.9 MB, free: 23.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.3817, allocations: 239 kB / 464.1 MB, free: 23.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.3817, allocations: 96.98 kB / 464.2 MB, free: 23.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3818, allocations: 8.141 kB / 464.2 MB, free: 23.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.3819, allocations: 8 kB / 464.2 MB, free: 23.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.382, allocations: 0 / 464.2 MB, free: 23.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.382, allocations: 8 kB / 464.2 MB, free: 23.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.359e-05/0.3821, allocations: 116.2 kB / 464.3 MB, free: 23.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3821, allocations: 0 / 464.3 MB, free: 23.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000296/0.3824, allocations: 12 kB / 464.3 MB, free: 23.05 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 9.258e-05/0.3825, allocations: 99.19 kB / 464.4 MB, free: 22.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3827, allocations: 52.22 kB / 464.5 MB, free: 22.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3827, allocations: 0 / 464.5 MB, free: 22.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.3828, allocations: 8 kB / 464.5 MB, free: 22.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3832, allocations: 47.95 kB / 464.5 MB, free: 22.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.3836, allocations: 227.9 kB / 464.8 MB, free: 22.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.3838, allocations: 0.7004 MB / 465.5 MB, free: 21.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.3838, allocations: 12.66 kB / 465.5 MB, free: 21.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.3839, allocations: 11.44 kB / 465.5 MB, free: 21.83 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3839, allocations: 0 / 465.5 MB, free: 21.83 MB / 346.7 MB Notification: Performance of Templates: time 0.003746/0.3876, allocations: 0.7401 MB / 466.2 MB, free: 21.11 MB / 346.7 MB "" Variables in the reference:backSample1.y,sample.y,shiftSample1.y,time Variables in the result:backSample1.backCounter,backSample1.resolution,backSample1.y,backSample1.y_start,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