Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.729e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08885/0.0889, allocations: 50.42 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.4391, allocations: 77.24 MB / 419.8 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4394, allocations: 80.2 kB / 419.9 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005648/0.4451, allocations: 1.519 MB / 421.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4451, allocations: 0 / 421.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.4451, allocations: 0 / 421.4 MB, free: 15.5 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.0004151/0.4456, allocations: 346.2 kB / 421.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4456, allocations: 8.031 kB / 421.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.4457, allocations: 11.86 kB / 421.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.4459, allocations: 198.6 kB / 421.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4459, allocations: 0 / 421.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.446, allocations: 4 kB / 421.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.4462, allocations: 104.6 kB / 422 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.511e-06/0.4463, allocations: 0 / 422 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4463, allocations: 7.953 kB / 422.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-06/0.4463, allocations: 0 / 422.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.4463, allocations: 4 kB / 422.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.4468, allocations: 273.1 kB / 422.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.4469, allocations: 34.41 kB / 422.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.4469, allocations: 17.78 kB / 422.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4469, allocations: 0 / 422.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.447, allocations: 46.44 kB / 422.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.908e-06/0.447, allocations: 4 kB / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.4472, allocations: 49.41 kB / 422.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.4473, allocations: 77.11 kB / 422.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.4474, allocations: 135 kB / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4475, allocations: 25.7 kB / 422.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.4476, allocations: 154.4 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.4476, allocations: 7.906 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-06/0.4476, allocations: 4.062 kB / 422.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4478, allocations: 314.8 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.4478, allocations: 3.875 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.4479, allocations: 17.66 kB / 423.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.4479, allocations: 7.984 kB / 423.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.4479, allocations: 0 / 423.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001054/0.448, allocations: 48.97 kB / 423.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4481, allocations: 4 kB / 423.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.329e-06/0.4481, allocations: 0 / 423.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4481, allocations: 0 / 423.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.4482, allocations: 15.92 kB / 423.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.772e-06/0.4482, allocations: 0 / 423.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/0.4483, allocations: 4 kB / 423.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-06/0.4483, allocations: 0 / 423.3 MB, free: 13.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.169e-05/0.4484, allocations: 108.9 kB / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.4485, allocations: 45.55 kB / 423.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.4485, allocations: 11.53 kB / 423.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-06/0.4486, allocations: 0 / 423.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.471e-06/0.4486, allocations: 0 / 423.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-06/0.4486, allocations: 0 / 423.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.4488, allocations: 169.3 kB / 423.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-06/0.4488, allocations: 0 / 423.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.999e-05/0.4489, allocations: 7.984 kB / 423.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4489, allocations: 4 kB / 423.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.449, allocations: 11.98 kB / 423.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.491e-06/0.449, allocations: 0 / 423.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.449, allocations: 3.938 kB / 423.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.4492, allocations: 157.9 kB / 423.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.4493, allocations: 92.94 kB / 423.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.4493, allocations: 3.953 kB / 423.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4494, allocations: 8.031 kB / 423.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.4495, allocations: 0 / 423.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.4495, allocations: 0 / 423.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.4496, allocations: 113.5 kB / 424 MB, free: 12.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.4496, allocations: 0 / 424 MB, free: 12.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002952/0.4499, allocations: 4 kB / 424 MB, free: 12.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001189/0.45, allocations: 103.2 kB / 424.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.4501, allocations: 19.38 kB / 424.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.4502, allocations: 3.938 kB / 424.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.4502, allocations: 7.938 kB / 424.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4505, allocations: 19.89 kB / 424.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.4509, allocations: 119.2 kB / 424.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.4513, allocations: 0.6929 MB / 425 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.4513, allocations: 11.44 kB / 425 MB, free: 11.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.4513, allocations: 0 / 425 MB, free: 11.61 MB / 346.7 MB Notification: Performance of Templates: time 0.00237/0.4537, allocations: 0.7267 MB / 425.7 MB, free: 10.89 MB / 346.7 MB