Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 225.8 MB / 239.4 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.891e-05, allocations: 0 / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08804, allocations: 50.41 MB / 343.1 MB, free: 9.055 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.455, allocations: 78.49 MB / 421.6 MB, free: 8.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4552, allocations: 78.23 kB / 421.6 MB, free: 8.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008464/0.4637, allocations: 2.396 MB / 424 MB, free: 7.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.172e-06/0.4638, allocations: 0 / 424 MB, free: 7.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.4638, allocations: 3.969 kB / 424 MB, free: 7.879 MB / 330.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.0004388/0.4642, allocations: 415.4 kB / 424.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4643, allocations: 7.719 kB / 424.5 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.4644, allocations: 19.55 kB / 424.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.4647, allocations: 244 kB / 424.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.4647, allocations: 7.25 kB / 424.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.4647, allocations: 10.91 kB / 424.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.4652, allocations: 243.5 kB / 425 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4652, allocations: 3.938 kB / 425 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.4652, allocations: 7.797 kB / 425 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-06/0.4652, allocations: 0 / 425 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.4654, allocations: 45.16 kB / 425 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.4659, allocations: 437 kB / 425.4 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.4662, allocations: 257.4 kB / 425.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.4664, allocations: 96.52 kB / 425.8 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.4664, allocations: 7.797 kB / 425.8 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4665, allocations: 53.22 kB / 425.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.85e-06/0.4665, allocations: 0 / 425.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004458/0.4669, allocations: 138.6 kB / 426 MB, free: 6.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.467, allocations: 191.4 kB / 426.2 MB, free: 6.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.4672, allocations: 163.6 kB / 426.3 MB, free: 6.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4673, allocations: 33.17 kB / 426.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.4673, allocations: 98.44 kB / 426.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.4674, allocations: 14.64 kB / 426.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.4674, allocations: 7.5 kB / 426.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.4674, allocations: 317.5 kB / 426.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.4675, allocations: 18.72 kB / 426.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.4676, allocations: 130.2 kB / 426.9 MB, free: 5.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.02e-05/0.4677, allocations: 41.2 kB / 427 MB, free: 5.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4677, allocations: 0 / 427 MB, free: 5.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002625/0.468, allocations: 141.1 kB / 427.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.468, allocations: 12.02 kB / 427.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.539e-06/0.468, allocations: 3.719 kB / 427.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4681, allocations: 7.531 kB / 427.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.4683, allocations: 37.14 kB / 427.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.4683, allocations: 7.016 kB / 427.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.4684, allocations: 7.719 kB / 427.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.4685, allocations: 11.28 kB / 427.2 MB, free: 5.414 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.548e-05/0.4686, allocations: 116.3 kB / 427.3 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.4688, allocations: 129.7 kB / 427.4 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.4689, allocations: 26.91 kB / 427.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.043e-06/0.4689, allocations: 3.906 kB / 427.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-06/0.4689, allocations: 3.906 kB / 427.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.485e-06/0.4689, allocations: 0 / 427.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.4693, allocations: 210.8 kB / 427.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.974e-06/0.4693, allocations: 0 / 427.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.4695, allocations: 45.2 kB / 427.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.977e-06/0.4695, allocations: 7.938 kB / 427.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.4696, allocations: 6.875 kB / 427.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.401e-06/0.4696, allocations: 7.859 kB / 427.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.588e-06/0.4696, allocations: 0 / 427.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.4699, allocations: 378.3 kB / 428.1 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.47, allocations: 114.6 kB / 428.2 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.4701, allocations: 7.375 kB / 428.2 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.4703, allocations: 11.28 kB / 428.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.4704, allocations: 7.938 kB / 428.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4704, allocations: 7.031 kB / 428.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.4705, allocations: 134.4 kB / 428.4 MB, free: 4.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.4705, allocations: 0 / 428.4 MB, free: 4.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000446/0.471, allocations: 22.41 kB / 428.4 MB, free: 4.539 MB / 330.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 (17): * Single equations (assignments): 17 * 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.0001106/0.4711, allocations: 106.3 kB / 428.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.4713, allocations: 82.91 kB / 428.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4714, allocations: 4.062 kB / 428.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.4714, allocations: 7.469 kB / 428.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.472, allocations: 88.19 kB / 428.7 MB, free: 4.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4731, allocations: 331.6 kB / 429 MB, free: 4.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.4736, allocations: 0.7272 MB / 429.8 MB, free: 19.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.267e-05/0.4737, allocations: 24.56 kB / 429.8 MB, free: 19.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.4738, allocations: 15.09 kB / 429.8 MB, free: 19.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.848e-06/0.4738, allocations: 0 / 429.8 MB, free: 19.56 MB / 346.7 MB Notification: Performance of Templates: time 0.005459/0.4792, allocations: 1.495 MB / 431.3 MB, free: 19.33 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