Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.292/2.292, allocations: 251.5 MB / 266 MB, free: 0.6875 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09918/0.09918, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.972e-05/3.976e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4176, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold): time 0.001862/0.4195, allocations: 1.303 MB / 460.5 MB, free: 27.31 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.4204, allocations: 496 kB / 461 MB, free: 26.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.4205, allocations: 3.938 kB / 461 MB, free: 26.81 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.4205, allocations: 0 / 461 MB, free: 26.81 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.4207, allocations: 19.91 kB / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.421, allocations: 43.83 kB / 461 MB, free: 26.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.4211, allocations: 27.97 kB / 461.1 MB, free: 26.72 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.352e-05/0.4211, allocations: 15.97 kB / 461.1 MB, free: 26.71 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.4212, allocations: 11.94 kB / 461.1 MB, free: 26.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.4213, allocations: 19.92 kB / 461.1 MB, free: 26.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.4213, allocations: 0 / 461.1 MB, free: 26.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.4214, allocations: 3.938 kB / 461.1 MB, free: 26.67 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.4214, allocations: 15.92 kB / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.4214, allocations: 4 kB / 461.1 MB, free: 26.65 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.758e-05/0.4215, allocations: 46.59 kB / 461.2 MB, free: 26.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.4215, allocations: 0 / 461.2 MB, free: 26.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4215, allocations: 0 / 461.2 MB, free: 26.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.4215, allocations: 0 / 461.2 MB, free: 26.61 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004097/0.422, allocations: 355.2 kB / 461.5 MB, free: 26.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.422, allocations: 8.031 kB / 461.5 MB, free: 26.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.4221, allocations: 15.86 kB / 461.6 MB, free: 26.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.4223, allocations: 200.8 kB / 461.8 MB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4223, allocations: 8 kB / 461.8 MB, free: 25.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.4223, allocations: 8 kB / 461.8 MB, free: 25.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.4227, allocations: 126.7 kB / 461.9 MB, free: 25.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4227, allocations: 4 kB / 461.9 MB, free: 25.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.4227, allocations: 7.938 kB / 461.9 MB, free: 25.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4227, allocations: 3.938 kB / 461.9 MB, free: 25.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.4229, allocations: 31.92 kB / 461.9 MB, free: 25.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.4233, allocations: 291.4 kB / 462.2 MB, free: 25.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.4234, allocations: 94.42 kB / 462.3 MB, free: 25.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.4235, allocations: 0 / 462.3 MB, free: 25.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.4235, allocations: 42.5 kB / 462.4 MB, free: 25.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.4235, allocations: 4.062 kB / 462.4 MB, free: 25.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003916/0.4239, allocations: 101.9 kB / 462.5 MB, free: 25.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.424, allocations: 140.5 kB / 462.6 MB, free: 24.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4241, allocations: 131 kB / 462.7 MB, free: 24.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.4241, allocations: 25.7 kB / 462.8 MB, free: 24.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.4242, allocations: 96.31 kB / 462.8 MB, free: 24.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.4242, allocations: 3.906 kB / 462.9 MB, free: 24.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.4242, allocations: 4 kB / 462.9 MB, free: 24.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.4243, allocations: 314.8 kB / 463.2 MB, free: 24.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/0.4244, allocations: 19.98 kB / 463.2 MB, free: 24.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.4245, allocations: 44.28 kB / 463.2 MB, free: 24.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.4246, allocations: 20 kB / 463.2 MB, free: 24.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4246, allocations: 0 / 463.2 MB, free: 24.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002187/0.4248, allocations: 89.44 kB / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4248, allocations: 8 kB / 463.3 MB, free: 24.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4248, allocations: 0 / 463.3 MB, free: 24.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4249, allocations: 12.14 kB / 463.4 MB, free: 24.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.425, allocations: 11.94 kB / 463.4 MB, free: 24.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.425, allocations: 4 kB / 463.4 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.4251, allocations: 19.88 kB / 463.4 MB, free: 24.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.4251, allocations: 4 kB / 463.4 MB, free: 24.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 7.42e-05/0.4252, allocations: 117.8 kB / 463.5 MB, free: 23.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.4253, allocations: 57.53 kB / 463.6 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.4254, allocations: 15.94 kB / 463.6 MB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4254, allocations: 0 / 463.6 MB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4254, allocations: 4 kB / 463.6 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4254, allocations: 0 / 463.6 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.4256, allocations: 181.6 kB / 463.8 MB, free: 23.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4256, allocations: 0 / 463.8 MB, free: 23.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.4257, allocations: 19.92 kB / 463.8 MB, free: 23.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.4258, allocations: 4 kB / 463.8 MB, free: 23.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4258, allocations: 0 / 463.8 MB, free: 23.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4258, allocations: 0 / 463.8 MB, free: 23.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4258, allocations: 4 kB / 463.8 MB, free: 23.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.4261, allocations: 239.1 kB / 464 MB, free: 23.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.4261, allocations: 96.94 kB / 464.1 MB, free: 23.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.4262, allocations: 8.125 kB / 464.1 MB, free: 23.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4263, allocations: 12 kB / 464.1 MB, free: 23.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.4264, allocations: 4 kB / 464.1 MB, free: 23.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4264, allocations: 0 / 464.1 MB, free: 23.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.888e-05/0.4265, allocations: 113.3 kB / 464.2 MB, free: 23.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4265, allocations: 0 / 464.2 MB, free: 23.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.4268, allocations: 15.91 kB / 464.3 MB, free: 23.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.391e-05/0.4269, allocations: 103.2 kB / 464.4 MB, free: 23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.4271, allocations: 47.91 kB / 464.4 MB, free: 22.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4271, allocations: 0 / 464.4 MB, free: 22.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.4272, allocations: 12.38 kB / 464.4 MB, free: 22.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.4276, allocations: 32.02 kB / 464.5 MB, free: 22.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.4281, allocations: 228 kB / 464.7 MB, free: 22.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.4282, allocations: 0.6965 MB / 465.4 MB, free: 21.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.64e-05/0.4283, allocations: 4 kB / 465.4 MB, free: 21.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.4283, allocations: 15.42 kB / 465.4 MB, free: 21.91 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4284, allocations: 0 / 465.4 MB, free: 21.91 MB / 346.7 MB Notification: Performance of Templates: time 0.003672/0.432, allocations: 0.6343 MB / 466 MB, free: 21.29 MB / 346.7 MB "" Variables in the reference:hold.y,sample.y,shiftSample.y,time Variables in the result:hold.y,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