Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.868e-05, allocations: 4 kB / 292.1 MB, free: 8.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 50.41 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.441, allocations: 77.28 MB / 419.8 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4413, allocations: 74.45 kB / 419.9 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005588/0.4469, allocations: 1.513 MB / 421.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4469, allocations: 0 / 421.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4469, allocations: 0 / 421.4 MB, free: 15.54 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.0004006/0.4473, allocations: 345.6 kB / 421.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4474, allocations: 8.031 kB / 421.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.4474, allocations: 15.8 kB / 421.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.4477, allocations: 193.8 kB / 422 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4477, allocations: 7.875 kB / 422 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.4477, allocations: 4 kB / 422 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.448, allocations: 109.1 kB / 422.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.101e-06/0.448, allocations: 0 / 422.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4481, allocations: 7.953 kB / 422.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-06/0.4481, allocations: 4 kB / 422.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.4481, allocations: 7.25 kB / 422.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.4486, allocations: 279.4 kB / 422.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4487, allocations: 62.77 kB / 422.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.4488, allocations: 25.95 kB / 422.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.4488, allocations: 11.89 kB / 422.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.4488, allocations: 42.23 kB / 422.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.293e-06/0.4489, allocations: 0 / 422.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002012/0.4491, allocations: 63.89 kB / 422.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.4492, allocations: 105.8 kB / 422.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4493, allocations: 125.5 kB / 422.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4493, allocations: 25.7 kB / 422.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.4494, allocations: 157.8 kB / 423 MB, free: 13.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.4495, allocations: 14.94 kB / 423 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-06/0.4495, allocations: 0 / 423 MB, free: 13.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4497, allocations: 314.8 kB / 423.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.4497, allocations: 7.25 kB / 423.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/0.4497, allocations: 26.31 kB / 423.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.4498, allocations: 11.94 kB / 423.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.533e-06/0.4498, allocations: 4 kB / 423.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/0.4499, allocations: 59.77 kB / 423.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.45, allocations: 4 kB / 423.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.722e-06/0.45, allocations: 3.938 kB / 423.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.45, allocations: 4 kB / 423.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.4501, allocations: 11.98 kB / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4501, allocations: 8.109 kB / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.4502, allocations: 7.938 kB / 423.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4502, allocations: 4 kB / 423.5 MB, free: 13.3 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 8.12e-05/0.4503, allocations: 101 kB / 423.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4505, allocations: 59.92 kB / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.4505, allocations: 10.78 kB / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.373e-06/0.4505, allocations: 4 kB / 423.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.961e-06/0.4505, allocations: 0 / 423.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.966e-06/0.4506, allocations: 8.047 kB / 423.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.4508, allocations: 168.1 kB / 423.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-06/0.4508, allocations: 0 / 423.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.4509, allocations: 8 kB / 423.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.238e-06/0.4509, allocations: 3.984 kB / 423.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.4509, allocations: 7.953 kB / 423.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.451, allocations: 0 / 423.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.451, allocations: 3.938 kB / 423.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.4512, allocations: 193.7 kB / 424 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.4513, allocations: 92.31 kB / 424.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.4513, allocations: 8 kB / 424.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4514, allocations: 3.984 kB / 424.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.4515, allocations: 4 kB / 424.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-06/0.4515, allocations: 4 kB / 424.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.4516, allocations: 112.4 kB / 424.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.249e-06/0.4516, allocations: 0 / 424.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.4519, allocations: 11.94 kB / 424.2 MB, free: 12.45 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.0001161/0.4521, allocations: 95.25 kB / 424.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.4522, allocations: 26.69 kB / 424.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4522, allocations: 0 / 424.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.4522, allocations: 12.23 kB / 424.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.4525, allocations: 27.23 kB / 424.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.4529, allocations: 134.4 kB / 424.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.4533, allocations: 0.6992 MB / 425.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.4533, allocations: 11.44 kB / 425.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.401e-06/0.4533, allocations: 3.938 kB / 425.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of Templates: time 0.002461/0.4558, allocations: 0.8205 MB / 426.1 MB, free: 10.59 MB / 346.7 MB