Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadModel(Modelica): time 1.846/1.846, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.747e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08839, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.35/0.4384, allocations: 77.1 MB / 419.7 MB, free: 1.043 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4387, allocations: 79.3 kB / 419.7 MB, free: 1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005139/0.4438, allocations: 1.407 MB / 421.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.692e-06/0.4438, allocations: 0 / 421.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.4439, allocations: 3.938 kB / 421.1 MB, free: 15.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003921/0.4443, allocations: 347 kB / 421.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4443, allocations: 15.97 kB / 421.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.4444, allocations: 7.859 kB / 421.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.4446, allocations: 190.8 kB / 421.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.4446, allocations: 3.75 kB / 421.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.4447, allocations: 0 / 421.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.4449, allocations: 92.3 kB / 421.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.847e-06/0.4449, allocations: 0 / 421.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-06/0.4449, allocations: 0 / 421.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.445, allocations: 7.953 kB / 421.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.445, allocations: 4 kB / 421.8 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.4454, allocations: 261.5 kB / 422.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.069e-05/0.4455, allocations: 45.03 kB / 422.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.4456, allocations: 26.67 kB / 422.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.4456, allocations: 0 / 422.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4456, allocations: 30.56 kB / 422.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.009e-06/0.4457, allocations: 4 kB / 422.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001716/0.4458, allocations: 53.44 kB / 422.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.4459, allocations: 85.09 kB / 422.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.4461, allocations: 116.9 kB / 422.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.4461, allocations: 29.39 kB / 422.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.4462, allocations: 150.6 kB / 422.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.4462, allocations: 4 kB / 422.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-06/0.4462, allocations: 0 / 422.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4464, allocations: 318.8 kB / 422.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.4464, allocations: 4 kB / 422.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.4465, allocations: 13.66 kB / 422.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.4465, allocations: 11.92 kB / 422.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4465, allocations: 0 / 422.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.836e-05/0.4466, allocations: 37.7 kB / 423 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4467, allocations: 10.88 kB / 423 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4467, allocations: 7.984 kB / 423 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4467, allocations: 3.953 kB / 423 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.4468, allocations: 15.86 kB / 423 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.679e-06/0.4468, allocations: 0 / 423 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.4469, allocations: 11.84 kB / 423 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-06/0.4469, allocations: 0 / 423 MB, free: 13.71 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 7.996e-05/0.447, allocations: 103.4 kB / 423.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-05/0.4471, allocations: 41.69 kB / 423.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.4472, allocations: 15.53 kB / 423.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4472, allocations: 0 / 423.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.718e-06/0.4472, allocations: 3.953 kB / 423.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-06/0.4472, allocations: 0 / 423.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.4474, allocations: 169.2 kB / 423.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4474, allocations: 0 / 423.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.4475, allocations: 7.984 kB / 423.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.198e-06/0.4475, allocations: 0 / 423.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4476, allocations: 4 kB / 423.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-06/0.4476, allocations: 0 / 423.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.79e-06/0.4476, allocations: 4.031 kB / 423.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.4478, allocations: 165.4 kB / 423.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/0.4479, allocations: 89 kB / 423.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.4479, allocations: 4 kB / 423.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.448, allocations: 4.031 kB / 423.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.4481, allocations: 7.953 kB / 423.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-06/0.4481, allocations: 0 / 423.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.284e-05/0.4482, allocations: 106.5 kB / 423.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.78e-07/0.4482, allocations: 0 / 423.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.4485, allocations: 8 kB / 423.7 MB, free: 12.93 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.0001093/0.4486, allocations: 95.25 kB / 423.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.766e-05/0.4487, allocations: 19.86 kB / 423.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.439e-06/0.4487, allocations: 4.125 kB / 423.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/0.4488, allocations: 4 kB / 423.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.449, allocations: 18.16 kB / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.4493, allocations: 119.4 kB / 424 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.4497, allocations: 0.6925 MB / 424.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.4498, allocations: 15.42 kB / 424.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4498, allocations: 160 / 424.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of Templates: time 0.002177/0.452, allocations: 0.6677 MB / 425.4 MB, free: 11.25 MB / 346.7 MB