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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.432e-05, allocations: 8.219 kB / 292.2 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.08958, allocations: 50.41 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4571/0.5468, allocations: 78.73 MB / 421.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5471, allocations: 79.89 kB / 421.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009697/0.5568, allocations: 2.459 MB / 423.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.178e-06/0.5568, allocations: 4 kB / 423.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.5569, allocations: 0 / 423.8 MB, free: 13.27 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.0005741/0.5574, allocations: 419 kB / 424.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.5575, allocations: 8.031 kB / 424.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.5576, allocations: 23.77 kB / 424.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.558, allocations: 236 kB / 424.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.558, allocations: 8.172 kB / 424.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.558, allocations: 7.875 kB / 424.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.5586, allocations: 258.3 kB / 424.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5586, allocations: 0 / 424.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.5586, allocations: 3.688 kB / 424.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.49e-06/0.5587, allocations: 4 kB / 424.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.5588, allocations: 47.11 kB / 424.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.5595, allocations: 441.5 kB / 425.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.56, allocations: 265.1 kB / 425.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.5602, allocations: 91.34 kB / 425.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.5602, allocations: 7.984 kB / 425.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.5603, allocations: 46.19 kB / 425.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.406e-06/0.5603, allocations: 0 / 425.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004169/0.5607, allocations: 135.8 kB / 425.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.5609, allocations: 195.9 kB / 426 MB, free: 11.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.5611, allocations: 165.6 kB / 426.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.5612, allocations: 29.7 kB / 426.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.5612, allocations: 107.8 kB / 426.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.5613, allocations: 15.77 kB / 426.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-06/0.5613, allocations: 3.812 kB / 426.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5615, allocations: 326.3 kB / 426.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.5615, allocations: 19.89 kB / 426.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.5617, allocations: 127.1 kB / 426.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.5618, allocations: 51.33 kB / 426.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.68e-06/0.5618, allocations: 0 / 426.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000345/0.5622, allocations: 152.7 kB / 427 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5622, allocations: 8 kB / 427 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5623, allocations: 4 kB / 427 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.5623, allocations: 4 kB / 427 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.5625, allocations: 47.78 kB / 427 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.5625, allocations: 4 kB / 427 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.5627, allocations: 15.84 kB / 427 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.5627, allocations: 12.16 kB / 427.1 MB, free: 9.957 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.0001125/0.5629, allocations: 120.6 kB / 427.2 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.5632, allocations: 125 kB / 427.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.5633, allocations: 25.2 kB / 427.3 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.5633, allocations: 4 kB / 427.3 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.389e-06/0.5633, allocations: 4 kB / 427.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.5633, allocations: 4 kB / 427.3 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.5637, allocations: 228 kB / 427.6 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.964e-06/0.5638, allocations: 0 / 427.6 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.564, allocations: 43.95 kB / 427.6 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.316e-06/0.564, allocations: 0 / 427.6 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.564, allocations: 11.92 kB / 427.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.812e-06/0.5641, allocations: 0 / 427.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.636e-06/0.5641, allocations: 4 kB / 427.6 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.5645, allocations: 374.2 kB / 428 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.5647, allocations: 108.6 kB / 428.1 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.5647, allocations: 11.89 kB / 428.1 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.565, allocations: 15.98 kB / 428.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.565, allocations: 7.938 kB / 428.1 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.5651, allocations: 7 kB / 428.1 MB, free: 8.867 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.5652, allocations: 135 kB / 428.3 MB, free: 8.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.5652, allocations: 0 / 428.3 MB, free: 8.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004779/0.5657, allocations: 26.56 kB / 428.3 MB, free: 8.73 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.5659, allocations: 103.2 kB / 428.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.5662, allocations: 101.5 kB / 428.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5662, allocations: 3.938 kB / 428.5 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.5662, allocations: 4 kB / 428.5 MB, free: 8.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.5668, allocations: 92.72 kB / 428.6 MB, free: 8.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.5674, allocations: 223.8 kB / 428.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.5679, allocations: 0.7241 MB / 429.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.568, allocations: 13.78 kB / 429.5 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.5681, allocations: 27.25 kB / 429.6 MB, free: 7.453 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5681, allocations: 0 / 429.6 MB, free: 7.453 MB / 346.7 MB Notification: Performance of Templates: time 0.00603/0.5741, allocations: 1.529 MB / 431.1 MB, free: 5.957 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