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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadModel(Modelica): time 2.279/2.279, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.773e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.5101, allocations: 78.73 MB / 421.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5104, allocations: 84 kB / 421.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.5231, allocations: 2.396 MB / 423.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.889e-06/0.5232, allocations: 0 / 423.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.5232, allocations: 4 kB / 423.8 MB, free: 13.38 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.0007925/0.524, allocations: 417 kB / 424.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.5241, allocations: 12.03 kB / 424.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/0.5242, allocations: 19.77 kB / 424.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.5248, allocations: 236.5 kB / 424.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.5248, allocations: 7.562 kB / 424.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.5249, allocations: 11.25 kB / 424.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008103/0.5257, allocations: 245.9 kB / 424.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5258, allocations: 0 / 424.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.5258, allocations: 7.141 kB / 424.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.5259, allocations: 4 kB / 424.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.5261, allocations: 48.36 kB / 424.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.5271, allocations: 426.6 kB / 425.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000639/0.5278, allocations: 256.6 kB / 425.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.5281, allocations: 99.66 kB / 425.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.5282, allocations: 3.953 kB / 425.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.5283, allocations: 49.88 kB / 425.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.552e-06/0.5283, allocations: 3.938 kB / 425.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007087/0.529, allocations: 141.8 kB / 425.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/0.5292, allocations: 194.7 kB / 425.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.5296, allocations: 159.3 kB / 426.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.5297, allocations: 29.14 kB / 426.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.5298, allocations: 102.4 kB / 426.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.5298, allocations: 11.16 kB / 426.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-06/0.5298, allocations: 3.375 kB / 426.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.53, allocations: 329.6 kB / 426.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.5301, allocations: 15.19 kB / 426.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.5302, allocations: 127.6 kB / 426.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.241e-05/0.5303, allocations: 39.83 kB / 426.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5304, allocations: 0 / 426.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003141/0.5307, allocations: 143.3 kB / 426.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5307, allocations: 16.02 kB / 426.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.943e-06/0.5307, allocations: 0 / 426.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5308, allocations: 8 kB / 426.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.531, allocations: 35.91 kB / 426.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.531, allocations: 11.98 kB / 426.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.5312, allocations: 11.88 kB / 426.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.5312, allocations: 8 kB / 426.9 MB, free: 10.11 MB / 346.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 0.0001115/0.5313, allocations: 120.1 kB / 427.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.5316, allocations: 122.5 kB / 427.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.5317, allocations: 30.38 kB / 427.2 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5317, allocations: 4 kB / 427.2 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.143e-06/0.5317, allocations: 0 / 427.2 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.843e-06/0.5317, allocations: 4 kB / 427.2 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.5322, allocations: 218.1 kB / 427.4 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-06/0.5322, allocations: 4 kB / 427.4 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.5324, allocations: 43.36 kB / 427.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.63e-06/0.5324, allocations: 8.031 kB / 427.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.5324, allocations: 0 / 427.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.425e-06/0.5325, allocations: 7.953 kB / 427.5 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.643e-06/0.5325, allocations: 3.984 kB / 427.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.5329, allocations: 377.8 kB / 427.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.5331, allocations: 115.2 kB / 428 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.5331, allocations: 3.938 kB / 428 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.5333, allocations: 17.98 kB / 428 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.5334, allocations: 4 kB / 428 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.5334, allocations: 9.938 kB / 428 MB, free: 9.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.5336, allocations: 138.6 kB / 428.1 MB, free: 8.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.5336, allocations: 0 / 428.1 MB, free: 8.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.5341, allocations: 19.31 kB / 428.2 MB, free: 8.887 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 (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.0001478/0.5342, allocations: 107.1 kB / 428.3 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.5345, allocations: 77.19 kB / 428.3 MB, free: 8.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.027e-06/0.5345, allocations: 8.062 kB / 428.3 MB, free: 8.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.5346, allocations: 11.92 kB / 428.4 MB, free: 8.695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.5351, allocations: 96.22 kB / 428.5 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.5363, allocations: 322.5 kB / 428.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.5367, allocations: 0.7267 MB / 429.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.765e-05/0.5368, allocations: 17.33 kB / 429.5 MB, free: 7.535 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.5369, allocations: 15.44 kB / 429.5 MB, free: 7.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.608e-06/0.5369, allocations: 0 / 429.5 MB, free: 7.52 MB / 346.7 MB Notification: Performance of Templates: time 0.005802/0.5427, allocations: 1.492 MB / 431 MB, free: 6.066 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