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_LinearSystems2): time 2.418/2.418, allocations: 251.5 MB / 266 MB, free: 0.6875 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09956/0.09956, allocations: 12.59 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.552e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3929, allocations: 59.42 MB / 459.2 MB, free: 28.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002234/0.3952, allocations: 1.517 MB / 460.7 MB, free: 27.11 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3964, allocations: 0.5896 MB / 461.3 MB, free: 26.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.3966, allocations: 11.94 kB / 461.3 MB, free: 26.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.3966, allocations: 11.86 kB / 461.3 MB, free: 26.49 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3968, allocations: 23.89 kB / 461.3 MB, free: 26.47 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.3973, allocations: 95.7 kB / 461.4 MB, free: 26.38 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3974, allocations: 71.86 kB / 461.5 MB, free: 26.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3976, allocations: 28.16 kB / 461.5 MB, free: 26.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3977, allocations: 35.84 kB / 461.6 MB, free: 26.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.3978, allocations: 35.84 kB / 461.6 MB, free: 26.21 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.3978, allocations: 4 kB / 461.6 MB, free: 26.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3978, allocations: 8 kB / 461.6 MB, free: 26.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.3979, allocations: 19.86 kB / 461.6 MB, free: 26.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.3979, allocations: 8 kB / 461.6 MB, free: 26.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.398, allocations: 94.42 kB / 461.7 MB, free: 26.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3981, allocations: 0 / 461.7 MB, free: 26.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3981, allocations: 3.938 kB / 461.7 MB, free: 26.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3981, allocations: 0 / 461.7 MB, free: 26.07 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.0005602/0.3987, allocations: 415.2 kB / 462.2 MB, free: 25.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3987, allocations: 8.031 kB / 462.2 MB, free: 25.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.3988, allocations: 19.77 kB / 462.2 MB, free: 25.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3991, allocations: 231.7 kB / 462.4 MB, free: 25.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3991, allocations: 8.188 kB / 462.4 MB, free: 25.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3991, allocations: 8 kB / 462.4 MB, free: 25.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.3999, allocations: 307.5 kB / 462.7 MB, free: 24.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4, allocations: 3.938 kB / 462.7 MB, free: 24.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.4, allocations: 0 / 462.7 MB, free: 24.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4, allocations: 4 kB / 462.7 MB, free: 24.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.4004, allocations: 95.86 kB / 462.8 MB, free: 24.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.4009, allocations: 419.4 kB / 463.2 MB, free: 24.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.4015, allocations: 314.2 kB / 463.5 MB, free: 24.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.4016, allocations: 4.062 kB / 463.5 MB, free: 24.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4016, allocations: 42.5 kB / 463.6 MB, free: 23.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.4016, allocations: 0 / 463.6 MB, free: 23.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008102/0.4024, allocations: 237.7 kB / 463.8 MB, free: 23.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.4025, allocations: 199.8 kB / 464 MB, free: 23.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.4027, allocations: 162.3 kB / 464.2 MB, free: 23.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4027, allocations: 29.7 kB / 464.2 MB, free: 23.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.4028, allocations: 96.52 kB / 464.3 MB, free: 23.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4028, allocations: 15.98 kB / 464.3 MB, free: 23.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.4029, allocations: 8 kB / 464.3 MB, free: 23.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.4029, allocations: 322.8 kB / 464.6 MB, free: 22.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.924e-05/0.403, allocations: 27.98 kB / 464.7 MB, free: 22.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.4032, allocations: 142.5 kB / 464.8 MB, free: 22.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.4034, allocations: 47.95 kB / 464.8 MB, free: 22.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4034, allocations: 4 kB / 464.8 MB, free: 22.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003809/0.4038, allocations: 181.5 kB / 465 MB, free: 22.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4038, allocations: 8.062 kB / 465 MB, free: 22.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4038, allocations: 4 kB / 465 MB, free: 22.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.4039, allocations: 8 kB / 465 MB, free: 22.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.4041, allocations: 39.92 kB / 465.1 MB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.4041, allocations: 7.984 kB / 465.1 MB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.4043, allocations: 23.72 kB / 465.1 MB, free: 22.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.4043, allocations: 16 kB / 465.1 MB, free: 22.3 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.0001163/0.4044, allocations: 133.7 kB / 465.3 MB, free: 22.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.4049, allocations: 157.4 kB / 465.4 MB, free: 22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.4049, allocations: 17.41 kB / 465.4 MB, free: 21.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.405, allocations: 7.984 kB / 465.4 MB, free: 21.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.405, allocations: 0 / 465.4 MB, free: 21.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.405, allocations: 4 kB / 465.4 MB, free: 21.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.4053, allocations: 209.5 kB / 465.6 MB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4053, allocations: 8.031 kB / 465.7 MB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.4056, allocations: 43.91 kB / 465.7 MB, free: 21.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.4056, allocations: 4 kB / 465.7 MB, free: 21.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4056, allocations: 4 kB / 465.7 MB, free: 21.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4056, allocations: 0 / 465.7 MB, free: 21.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4057, allocations: 4 kB / 465.7 MB, free: 21.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.4062, allocations: 421.7 kB / 466.1 MB, free: 21.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.4063, allocations: 120.8 kB / 466.2 MB, free: 21.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.4064, allocations: 4 kB / 466.2 MB, free: 21.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.4066, allocations: 19.94 kB / 466.3 MB, free: 21.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.4067, allocations: 0 / 466.3 MB, free: 21.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4067, allocations: 16 kB / 466.3 MB, free: 21.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.4068, allocations: 128.1 kB / 466.4 MB, free: 20.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4068, allocations: 0 / 466.4 MB, free: 20.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004178/0.4073, allocations: 24 kB / 466.4 MB, free: 20.87 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.0001183/0.4074, allocations: 99.19 kB / 466.5 MB, free: 20.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.4078, allocations: 131.7 kB / 466.7 MB, free: 20.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4079, allocations: 0 / 466.7 MB, free: 20.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/0.4079, allocations: 17.11 kB / 466.7 MB, free: 20.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.4087, allocations: 108.7 kB / 466.8 MB, free: 20.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007353/0.4094, allocations: 360.2 kB / 467.1 MB, free: 20.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.4096, allocations: 0.7358 MB / 467.9 MB, free: 19.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.4097, allocations: 21.55 kB / 467.9 MB, free: 19.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.4098, allocations: 19.38 kB / 467.9 MB, free: 19.32 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4098, allocations: 0 / 467.9 MB, free: 19.32 MB / 346.7 MB Notification: Performance of Templates: time 0.005826/0.4156, allocations: 1.541 MB / 469.4 MB, free: 17.8 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