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_Synchronous): time 2.04/2.04, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.465e-05/4.484e-05, allocations: 4 kB / 284.3 MB, free: 8.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 50.36 MB / 334.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4083/0.517, allocations: 78.57 MB / 413.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003945/0.5174, allocations: 71.33 kB / 413.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009843/0.5273, allocations: 1.559 MB / 414.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.239e-06/0.5274, allocations: 0 / 414.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.5274, allocations: 4 kB / 414.9 MB, free: 14.32 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.0006135/0.5281, allocations: 362.3 kB / 415.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.5281, allocations: 8.031 kB / 415.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.5282, allocations: 7.906 kB / 415.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.5286, allocations: 214 kB / 415.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.5287, allocations: 11.2 kB / 415.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.5287, allocations: 4 kB / 415.5 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.5292, allocations: 121.6 kB / 415.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5293, allocations: 4 kB / 415.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.5293, allocations: 0 / 415.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.5293, allocations: 7.938 kB / 415.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.5294, allocations: 23.11 kB / 415.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.5301, allocations: 288.2 kB / 415.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.5304, allocations: 88.19 kB / 416 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.5305, allocations: 40.94 kB / 416.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.5306, allocations: 7.984 kB / 416.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.5307, allocations: 42 kB / 416.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.174e-06/0.5307, allocations: 3.938 kB / 416.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003717/0.5311, allocations: 76.5 kB / 416.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.5313, allocations: 136.6 kB / 416.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.5315, allocations: 135.1 kB / 416.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.5316, allocations: 25.7 kB / 416.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.5317, allocations: 90.58 kB / 416.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.5318, allocations: 3.125 kB / 416.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-06/0.5318, allocations: 0 / 416.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.532, allocations: 322.2 kB / 416.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.5321, allocations: 7.438 kB / 416.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.164e-05/0.5322, allocations: 44.47 kB / 416.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.5323, allocations: 19.31 kB / 417 MB, free: 12.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.839e-06/0.5323, allocations: 0 / 417 MB, free: 12.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002817/0.5326, allocations: 73.22 kB / 417 MB, free: 11.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.5327, allocations: 4 kB / 417 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.5327, allocations: 4 kB / 417 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5327, allocations: 0 / 417 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.5329, allocations: 15.98 kB / 417 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.533, allocations: 7.938 kB / 417.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.5331, allocations: 7.062 kB / 417.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.5332, allocations: 4.188 kB / 417.1 MB, free: 11.95 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 0.0001286/0.5333, allocations: 120 kB / 417.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.5336, allocations: 60.53 kB / 417.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.5337, allocations: 18.58 kB / 417.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.876e-06/0.5337, allocations: 0 / 417.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.5337, allocations: 4 kB / 417.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.246e-06/0.5338, allocations: 0 / 417.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.5342, allocations: 180.5 kB / 417.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.035e-06/0.5342, allocations: 11.98 kB / 417.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.5344, allocations: 12 kB / 417.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.5344, allocations: 4 kB / 417.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5345, allocations: 3.438 kB / 417.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.586e-06/0.5345, allocations: 3.984 kB / 417.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.5345, allocations: 4 kB / 417.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.5349, allocations: 220.8 kB / 417.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.5351, allocations: 96.5 kB / 417.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.5351, allocations: 0 / 417.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.5354, allocations: 7.438 kB / 417.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.5355, allocations: 7.984 kB / 417.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.5355, allocations: 4 kB / 417.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.5357, allocations: 122.2 kB / 417.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.198e-06/0.5357, allocations: 0 / 417.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006585/0.5364, allocations: 15.89 kB / 417.9 MB, free: 11.01 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.0001674/0.5366, allocations: 99.19 kB / 418 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.5368, allocations: 26.92 kB / 418.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5368, allocations: 3.938 kB / 418.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.5369, allocations: 11.81 kB / 418.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.5375, allocations: 38.77 kB / 418.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.5381, allocations: 130.7 kB / 418.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.5386, allocations: 0.7037 MB / 419 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.652e-05/0.5387, allocations: 9.016 kB / 419 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.5388, allocations: 15.42 kB / 419 MB, free: 9.938 MB / 346.7 MB Notification: Performance of SimCode: time 2.116e-06/0.5388, allocations: 0 / 419 MB, free: 9.938 MB / 346.7 MB Notification: Performance of Templates: time 0.005928/0.5448, allocations: 0.7331 MB / 419.7 MB, free: 9.223 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