Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.352e-05, allocations: 4 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.0899, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.5015, allocations: 77.46 MB / 420 MB, free: 0.668 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.5018, allocations: 73.64 kB / 420.1 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006271/0.5081, allocations: 1.621 MB / 421.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.031e-06/0.5081, allocations: 0 / 421.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.5082, allocations: 4 kB / 421.7 MB, free: 15.22 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.0004519/0.5086, allocations: 353.1 kB / 422.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5087, allocations: 8.031 kB / 422.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.5087, allocations: 15.8 kB / 422.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.509, allocations: 198 kB / 422.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.509, allocations: 8 kB / 422.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.5091, allocations: 0 / 422.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.5094, allocations: 127.9 kB / 422.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.16e-06/0.5094, allocations: 0 / 422.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5094, allocations: 0 / 422.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5095, allocations: 11.95 kB / 422.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.167e-05/0.5095, allocations: 18.38 kB / 422.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.5101, allocations: 364.1 kB / 422.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.5102, allocations: 87.03 kB / 422.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.5103, allocations: 42.98 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.5104, allocations: 0 / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.5104, allocations: 45.75 kB / 423 MB, free: 13.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.175e-06/0.5104, allocations: 3.984 kB / 423 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002655/0.5107, allocations: 72.67 kB / 423 MB, free: 13.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.5108, allocations: 132.5 kB / 423.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.511, allocations: 134.7 kB / 423.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.511, allocations: 25.7 kB / 423.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.5111, allocations: 95.39 kB / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.5111, allocations: 3.906 kB / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-06/0.5112, allocations: 0 / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5113, allocations: 322.6 kB / 423.7 MB, free: 13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.5114, allocations: 11.19 kB / 423.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.5115, allocations: 44.05 kB / 423.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.5115, allocations: 11.3 kB / 423.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-06/0.5115, allocations: 4 kB / 423.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001664/0.5117, allocations: 72.75 kB / 423.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5117, allocations: 4 kB / 423.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.475e-06/0.5118, allocations: 0 / 423.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5118, allocations: 7.953 kB / 423.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.5119, allocations: 19.92 kB / 423.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5119, allocations: 3.984 kB / 423.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.512, allocations: 7.938 kB / 423.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.5121, allocations: 4 kB / 423.9 MB, free: 12.81 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 8.634e-05/0.5121, allocations: 110.7 kB / 424 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.5123, allocations: 60.78 kB / 424.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.5124, allocations: 10.73 kB / 424.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.081e-06/0.5124, allocations: 4 kB / 424.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.643e-06/0.5124, allocations: 7.938 kB / 424.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.602e-06/0.5124, allocations: 4 kB / 424.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.5128, allocations: 171.4 kB / 424.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.945e-06/0.5128, allocations: 4 kB / 424.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.883e-05/0.5129, allocations: 19.23 kB / 424.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.255e-06/0.5129, allocations: 4.062 kB / 424.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5129, allocations: 4 kB / 424.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.012e-06/0.5129, allocations: 0 / 424.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5129, allocations: 0 / 424.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.5133, allocations: 301.3 kB / 424.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.737e-05/0.5134, allocations: 96.2 kB / 424.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.5134, allocations: 4 kB / 424.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.5136, allocations: 4 kB / 424.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.5136, allocations: 3.984 kB / 424.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.5136, allocations: 7.125 kB / 424.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.5138, allocations: 108.5 kB / 424.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5138, allocations: 7.938 kB / 424.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003786/0.5142, allocations: 10.62 kB / 424.9 MB, free: 11.82 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 0.0001344/0.5143, allocations: 95.95 kB / 424.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.5144, allocations: 31.12 kB / 425 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.934e-06/0.5145, allocations: 0 / 425 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.5145, allocations: 15.11 kB / 425 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.5149, allocations: 27.64 kB / 425 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.5153, allocations: 134.7 kB / 425.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.5157, allocations: 0.7043 MB / 425.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.129e-05/0.5158, allocations: 0 / 425.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.5158, allocations: 11.44 kB / 425.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.549e-06/0.5158, allocations: 4 kB / 425.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of Templates: time 0.003527/0.5194, allocations: 0.6311 MB / 426.5 MB, free: 10.15 MB / 346.7 MB "" Variables in the reference:time,sample1.y,shiftSample1.y,hold1.y Variables in the result:hold1.y,hold1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,shiftSample1.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time