Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadModel(Modelica_Synchronous): time 2.027/2.027, allocations: 218.4 MB / 231.1 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.747e-05, allocations: 4 kB / 284.4 MB, free: 8.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.09075, allocations: 50.35 MB / 334.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4514, allocations: 79.76 MB / 414.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.4517, allocations: 78.33 kB / 414.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00962/0.4613, allocations: 2.38 MB / 416.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.869e-06/0.4613, allocations: 4 kB / 416.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.4614, allocations: 8 kB / 416.9 MB, free: 12.43 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.0005867/0.462, allocations: 413.4 kB / 417.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.462, allocations: 11.97 kB / 417.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.4621, allocations: 19.72 kB / 417.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.4625, allocations: 236.5 kB / 417.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.4625, allocations: 12.14 kB / 417.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.4626, allocations: 7.438 kB / 417.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.4631, allocations: 266.3 kB / 417.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4632, allocations: 0 / 417.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.4632, allocations: 7.188 kB / 417.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.52e-06/0.4632, allocations: 0 / 417.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.4634, allocations: 45.38 kB / 417.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.4641, allocations: 444.1 kB / 418.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.4646, allocations: 259.6 kB / 418.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.4648, allocations: 96.16 kB / 418.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.4648, allocations: 0 / 418.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4649, allocations: 45.88 kB / 418.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.351e-06/0.4649, allocations: 0 / 418.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004262/0.4653, allocations: 142.8 kB / 418.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.4655, allocations: 195.2 kB / 419.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.4657, allocations: 161.3 kB / 419.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.4657, allocations: 33.14 kB / 419.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.4658, allocations: 106.8 kB / 419.4 MB, free: 9.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4659, allocations: 11.72 kB / 419.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-06/0.4659, allocations: 3.875 kB / 419.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.4661, allocations: 329.6 kB / 419.7 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.4662, allocations: 15.81 kB / 419.7 MB, free: 9.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.4663, allocations: 139.3 kB / 419.9 MB, free: 9.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.4665, allocations: 43.52 kB / 419.9 MB, free: 9.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.548e-06/0.4665, allocations: 3.984 kB / 419.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003538/0.4668, allocations: 151.2 kB / 420.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4669, allocations: 8.094 kB / 420.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4669, allocations: 4 kB / 420.1 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.467, allocations: 11.95 kB / 420.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.4672, allocations: 38.8 kB / 420.1 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.4672, allocations: 4 kB / 420.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.4674, allocations: 15.89 kB / 420.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.4674, allocations: 15.31 kB / 420.2 MB, free: 9.098 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.0001254/0.4676, allocations: 123.8 kB / 420.3 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.468, allocations: 126.5 kB / 420.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.419e-05/0.4681, allocations: 20.66 kB / 420.4 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.4681, allocations: 3.953 kB / 420.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.4682, allocations: 4 kB / 420.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4682, allocations: 3.984 kB / 420.4 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.4688, allocations: 220.8 kB / 420.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.266e-06/0.4689, allocations: 0 / 420.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.4692, allocations: 47.91 kB / 420.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.4693, allocations: 8.031 kB / 420.7 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.4693, allocations: 3.375 kB / 420.7 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.882e-06/0.4693, allocations: 4 kB / 420.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.959e-06/0.4694, allocations: 3.953 kB / 420.7 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.4701, allocations: 384.4 kB / 421.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.4703, allocations: 108.5 kB / 421.2 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.4704, allocations: 6.875 kB / 421.2 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.4707, allocations: 10.94 kB / 421.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.4708, allocations: 11.98 kB / 421.2 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.4709, allocations: 4 kB / 421.2 MB, free: 8.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.4711, allocations: 133.2 kB / 421.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.063e-06/0.4712, allocations: 0 / 421.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008719/0.472, allocations: 26.38 kB / 421.4 MB, free: 7.871 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.0002033/0.4723, allocations: 107.1 kB / 421.5 MB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.4727, allocations: 84.88 kB / 421.6 MB, free: 7.695 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.491e-06/0.4727, allocations: 4.062 kB / 421.6 MB, free: 7.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.4728, allocations: 15.3 kB / 421.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/0.4738, allocations: 85.91 kB / 421.7 MB, free: 7.613 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008789/0.4747, allocations: 224.3 kB / 421.9 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.4753, allocations: 0.736 MB / 422.6 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.4754, allocations: 21.53 kB / 422.6 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.4755, allocations: 18.56 kB / 422.7 MB, free: 6.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.188e-06/0.4756, allocations: 0 / 422.7 MB, free: 6.59 MB / 346.7 MB Notification: Performance of Templates: time 0.008589/0.4842, allocations: 1.532 MB / 424.2 MB, free: 5.078 MB / 346.7 MB "" Variables in the reference:hold.y,sample.y,shiftSample.y,time Variables in the result:hold.bits,hold.compDelay.resolution,hold.compDelay.shiftCounter,hold.computationalDelay,hold.hold1.y_start,hold.limited,hold.limiter.uMax,hold.limiter.uMin,hold.quantized,hold.resolution,hold.shiftCounter,hold.y,hold.yMax,hold.yMin,hold.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample.y,shiftSample.resolution,shiftSample.shiftCounter,shiftSample.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,time