Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 2.161/2.161, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.172e-05, allocations: 4 kB / 292.2 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 50.4 MB / 342.6 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/0.516, allocations: 77.21 MB / 419.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004459/0.5165, allocations: 77.95 kB / 419.8 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01098/0.5275, allocations: 1.513 MB / 421.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.714e-06/0.5276, allocations: 0 / 421.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.5277, allocations: 4 kB / 421.4 MB, free: 15.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000763/0.5284, allocations: 350 kB / 421.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/0.5285, allocations: 12.03 kB / 421.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.5286, allocations: 11.86 kB / 421.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.5291, allocations: 195.9 kB / 421.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.5292, allocations: 4 kB / 421.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.5292, allocations: 0 / 421.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.5297, allocations: 108.4 kB / 422 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5298, allocations: 0 / 422 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.5298, allocations: 7.953 kB / 422 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.279e-06/0.5299, allocations: 0 / 422 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.53, allocations: 11.81 kB / 422 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.5308, allocations: 282 kB / 422.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.5311, allocations: 64.38 kB / 422.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.5312, allocations: 34.08 kB / 422.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.5313, allocations: 7.453 kB / 422.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.5314, allocations: 34.56 kB / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.312e-06/0.5314, allocations: 7.984 kB / 422.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003926/0.5318, allocations: 57.22 kB / 422.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.532, allocations: 110.2 kB / 422.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.5323, allocations: 126.9 kB / 422.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.5324, allocations: 25.7 kB / 422.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.5325, allocations: 83.77 kB / 422.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.5325, allocations: 15.44 kB / 422.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.5326, allocations: 0 / 422.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.5329, allocations: 322.4 kB / 423.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.5329, allocations: 4 kB / 423.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.5331, allocations: 34.75 kB / 423.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.17e-05/0.5331, allocations: 8 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.5332, allocations: 4 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002893/0.5335, allocations: 64.36 kB / 423.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.5335, allocations: 4 kB / 423.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5336, allocations: 4 kB / 423.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.5336, allocations: 0 / 423.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.5338, allocations: 11.98 kB / 423.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.5339, allocations: 128 / 423.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.534, allocations: 11.94 kB / 423.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.5341, allocations: 4 kB / 423.3 MB, free: 13.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001485/0.5342, allocations: 107.9 kB / 423.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.5345, allocations: 57.05 kB / 423.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.759e-05/0.5346, allocations: 10.97 kB / 423.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5346, allocations: 0 / 423.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.708e-06/0.5347, allocations: 0 / 423.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5347, allocations: 8.047 kB / 423.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.5352, allocations: 167.8 kB / 423.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.63e-06/0.5353, allocations: 0 / 423.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.5354, allocations: 8 kB / 423.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/0.5355, allocations: 7.984 kB / 423.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.5355, allocations: 3.953 kB / 423.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.5356, allocations: 3.938 kB / 423.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.876e-06/0.5356, allocations: 4 kB / 423.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.536, allocations: 187.6 kB / 423.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.5362, allocations: 96.94 kB / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.5363, allocations: 0 / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.5366, allocations: 7.984 kB / 424 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.5366, allocations: 0 / 424 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.5367, allocations: 11.75 kB / 424 MB, free: 12.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.5369, allocations: 105.2 kB / 424.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.5369, allocations: 4 kB / 424.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000805/0.5378, allocations: 4 kB / 424.1 MB, free: 12.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002315/0.538, allocations: 103.2 kB / 424.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.5382, allocations: 22.62 kB / 424.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.4e-06/0.5383, allocations: 0 / 424.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.5384, allocations: 8.234 kB / 424.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.539, allocations: 38.11 kB / 424.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.5397, allocations: 106.1 kB / 424.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/0.5404, allocations: 0.7037 MB / 425.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.5405, allocations: 192 / 425.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.5406, allocations: 15.62 kB / 425.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of SimCode: time 2.276e-06/0.5406, allocations: 0 / 425.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of Templates: time 0.006313/0.5469, allocations: 0.5733 MB / 425.7 MB, free: 11.01 MB / 346.7 MB "" Variables in the reference:time,sample1.y,shiftSample1.y Variables in the result: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