Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.385/2.385, allocations: 251.5 MB / 266 MB, free: 0.6875 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1041/0.1041, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.823e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4195, allocations: 59.43 MB / 459.2 MB, free: 28.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002138/0.4216, allocations: 1.525 MB / 460.7 MB, free: 27.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.4228, allocations: 0.5818 MB / 461.3 MB, free: 26.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.4229, allocations: 11.94 kB / 461.3 MB, free: 26.49 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.423, allocations: 15.86 kB / 461.3 MB, free: 26.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.4232, allocations: 27.89 kB / 461.4 MB, free: 26.45 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.4236, allocations: 83.77 kB / 461.4 MB, free: 26.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.4237, allocations: 71.84 kB / 461.5 MB, free: 26.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4239, allocations: 24.17 kB / 461.5 MB, free: 26.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.666e-05/0.424, allocations: 35.84 kB / 461.6 MB, free: 26.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.4241, allocations: 35.84 kB / 461.6 MB, free: 26.2 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.4241, allocations: 4 kB / 461.6 MB, free: 26.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.4241, allocations: 4 kB / 461.6 MB, free: 26.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.4242, allocations: 19.86 kB / 461.6 MB, free: 26.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.4242, allocations: 8 kB / 461.6 MB, free: 26.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.4244, allocations: 94.48 kB / 461.7 MB, free: 26.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4244, allocations: 3.938 kB / 461.7 MB, free: 26.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4244, allocations: 0 / 461.7 MB, free: 26.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4244, 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.0005404/0.425, allocations: 411.2 kB / 462.1 MB, free: 25.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.425, allocations: 8.031 kB / 462.1 MB, free: 25.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.4251, allocations: 23.77 kB / 462.2 MB, free: 25.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.4254, allocations: 227.7 kB / 462.4 MB, free: 25.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.4254, allocations: 8.188 kB / 462.4 MB, free: 25.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.4254, allocations: 11.98 kB / 462.4 MB, free: 25.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.4262, allocations: 301.9 kB / 462.7 MB, free: 24.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4262, allocations: 3.938 kB / 462.7 MB, free: 24.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.4263, allocations: 4 kB / 462.7 MB, free: 24.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4263, allocations: 3.953 kB / 462.7 MB, free: 24.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.4266, allocations: 91.88 kB / 462.8 MB, free: 24.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.4271, allocations: 419.5 kB / 463.2 MB, free: 24.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.4277, allocations: 314.3 kB / 463.5 MB, free: 24.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.4278, allocations: 3.938 kB / 463.5 MB, free: 24.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.4278, allocations: 42.62 kB / 463.6 MB, free: 23.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.4278, allocations: 0 / 463.6 MB, free: 23.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008165/0.4286, allocations: 241.3 kB / 463.8 MB, free: 23.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.4287, allocations: 187.9 kB / 464 MB, free: 23.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.4289, allocations: 158.3 kB / 464.1 MB, free: 23.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4289, allocations: 29.7 kB / 464.2 MB, free: 23.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.429, allocations: 104.4 kB / 464.3 MB, free: 23.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.4291, allocations: 15.89 kB / 464.3 MB, free: 23.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.4291, allocations: 7.938 kB / 464.3 MB, free: 23.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.4291, allocations: 322.8 kB / 464.6 MB, free: 22.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/0.4292, allocations: 23.98 kB / 464.6 MB, free: 22.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.4294, allocations: 130.6 kB / 464.8 MB, free: 22.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.4295, allocations: 39.97 kB / 464.8 MB, free: 22.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4296, allocations: 4 kB / 464.8 MB, free: 22.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003572/0.4299, allocations: 169.5 kB / 465 MB, free: 22.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4299, allocations: 8.094 kB / 465 MB, free: 22.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.43, allocations: 4 kB / 465 MB, free: 22.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.43, allocations: 7.953 kB / 465 MB, free: 22.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.4302, allocations: 35.92 kB / 465 MB, free: 22.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4302, allocations: 7.938 kB / 465 MB, free: 22.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.4304, allocations: 23.86 kB / 465.1 MB, free: 22.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.4304, allocations: 11.98 kB / 465.1 MB, free: 22.36 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.0001069/0.4305, allocations: 129.8 kB / 465.2 MB, free: 22.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.4309, allocations: 161.5 kB / 465.4 MB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.431, allocations: 17.41 kB / 465.4 MB, free: 22.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.431, allocations: 4 kB / 465.4 MB, free: 22.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.431, allocations: 7.953 kB / 465.4 MB, free: 22.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4311, allocations: 7.984 kB / 465.4 MB, free: 22.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.4313, allocations: 213.6 kB / 465.6 MB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4314, allocations: 8 kB / 465.6 MB, free: 21.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.4316, allocations: 40.14 kB / 465.6 MB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.4316, allocations: 4 kB / 465.6 MB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4317, allocations: 4 kB / 465.7 MB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4317, allocations: 0 / 465.7 MB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4317, allocations: 0 / 465.7 MB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.4322, allocations: 433.8 kB / 466.1 MB, free: 21.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.4323, allocations: 108.8 kB / 466.2 MB, free: 21.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.4324, allocations: 7.984 kB / 466.2 MB, free: 21.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.4326, allocations: 12 kB / 466.2 MB, free: 21.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.4327, allocations: 7.984 kB / 466.2 MB, free: 21.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4327, allocations: 8 kB / 466.2 MB, free: 21.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.4328, allocations: 132.1 kB / 466.3 MB, free: 20.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4328, allocations: 0 / 466.3 MB, free: 20.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.4332, allocations: 20 kB / 466.4 MB, free: 20.93 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 9.672e-05/0.4333, allocations: 99.25 kB / 466.5 MB, free: 20.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.4337, allocations: 119.8 kB / 466.6 MB, free: 20.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4337, allocations: 0 / 466.6 MB, free: 20.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.4338, allocations: 16.98 kB / 466.6 MB, free: 20.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.4345, allocations: 104.6 kB / 466.7 MB, free: 20.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.4365, allocations: 0.5156 MB / 467.2 MB, free: 20.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.4367, allocations: 0.7397 MB / 468 MB, free: 19.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.887e-05/0.4368, allocations: 9.562 kB / 468 MB, free: 19.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.4369, allocations: 19.42 kB / 468 MB, free: 19.24 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4369, allocations: 0 / 468 MB, free: 19.24 MB / 346.7 MB Notification: Performance of Templates: time 0.005332/0.4422, allocations: 1.486 MB / 469.5 MB, free: 17.78 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