Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.377e-05, allocations: 4 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09365, allocations: 50.43 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.4796, allocations: 78.73 MB / 421.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.4799, allocations: 78.02 kB / 421.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009502/0.4894, allocations: 2.455 MB / 424.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.639e-06/0.4894, allocations: 0 / 424.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.4895, allocations: 8 kB / 424.4 MB, free: 13.34 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005443/0.49, allocations: 412.3 kB / 424.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4901, allocations: 8.031 kB / 424.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.4902, allocations: 19.77 kB / 424.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.4905, allocations: 242.4 kB / 425 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.4906, allocations: 11.94 kB / 425 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.4906, allocations: 8 kB / 425 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.4912, allocations: 252.2 kB / 425.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4912, allocations: 4 kB / 425.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.4912, allocations: 3.062 kB / 425.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-06/0.4913, allocations: 4 kB / 425.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.4914, allocations: 52.8 kB / 425.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.4921, allocations: 437.9 kB / 425.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.4925, allocations: 263.6 kB / 426 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.4927, allocations: 97.59 kB / 426.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.4928, allocations: 3.984 kB / 426.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.4928, allocations: 41.31 kB / 426.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.121e-06/0.4929, allocations: 4 kB / 426.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004064/0.4933, allocations: 136.7 kB / 426.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.4934, allocations: 194 kB / 426.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.4937, allocations: 165.8 kB / 426.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.4937, allocations: 29.69 kB / 426.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4938, allocations: 105 kB / 426.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.4939, allocations: 18.89 kB / 426.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.4939, allocations: 2.562 kB / 426.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.4941, allocations: 325.1 kB / 427.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.509e-05/0.4943, allocations: 23.02 kB / 427.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.4945, allocations: 136.2 kB / 427.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.4947, allocations: 38.45 kB / 427.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.154e-06/0.4947, allocations: 4 kB / 427.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003452/0.4951, allocations: 152.7 kB / 427.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4951, allocations: 8.531 kB / 427.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4951, allocations: 8 kB / 427.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4952, allocations: 8 kB / 427.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.4954, allocations: 39.91 kB / 427.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.4954, allocations: 4 kB / 427.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.4956, allocations: 19.59 kB / 427.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.4956, allocations: 8 kB / 427.6 MB, free: 10.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001139/0.4957, allocations: 123.3 kB / 427.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.496, allocations: 121.6 kB / 427.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.4961, allocations: 27.95 kB / 427.8 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.552e-06/0.4961, allocations: 4 kB / 427.8 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.4962, allocations: 4 kB / 427.9 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.274e-06/0.4962, allocations: 0 / 427.9 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.4966, allocations: 222.4 kB / 428.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-06/0.4966, allocations: 0 / 428.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.4968, allocations: 39.05 kB / 428.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/0.4969, allocations: 7.984 kB / 428.1 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4969, allocations: 7.969 kB / 428.1 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.4969, allocations: 4 kB / 428.1 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.52e-06/0.4969, allocations: 0 / 428.1 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.4974, allocations: 377.7 kB / 428.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.4975, allocations: 107.4 kB / 428.6 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.4976, allocations: 11.14 kB / 428.6 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.4978, allocations: 15.8 kB / 428.6 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.4978, allocations: 7.938 kB / 428.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.4979, allocations: 12 kB / 428.6 MB, free: 8.938 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001573/0.498, allocations: 135.7 kB / 428.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4981, allocations: 0 / 428.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004944/0.4986, allocations: 31 kB / 428.8 MB, free: 8.797 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001556/0.4987, allocations: 99.25 kB / 428.9 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.499, allocations: 98.02 kB / 429 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.408e-06/0.499, allocations: 4.312 kB / 429 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.4991, allocations: 12 kB / 429 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.4997, allocations: 84.75 kB / 429.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.5003, allocations: 219.5 kB / 429.3 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.5007, allocations: 0.7282 MB / 430 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.218e-05/0.5008, allocations: 21.77 kB / 430.1 MB, free: 7.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.5009, allocations: 19.12 kB / 430.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of SimCode: time 1.579e-06/0.5009, allocations: 0 / 430.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of Templates: time 0.005938/0.5069, allocations: 1.538 MB / 431.6 MB, free: 6.02 MB / 346.7 MB "" Variables in the reference:time,sample1.y,hold1.y,// shiftSample1.y Variables in the result:hold1.bits,hold1.compDelay.resolution,hold1.compDelay.shiftCounter,hold1.computationalDelay,hold1.hold1.y_start,hold1.limited,hold1.limiter.uMax,hold1.limiter.uMin,hold1.quantized,hold1.resolution,hold1.shiftCounter,hold1.y,hold1.yMax,hold1.yMin,hold1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time