Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadModel(Modelica): time 1.858/1.858, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.974e-05, allocations: 5.562 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09206, allocations: 50.42 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4403, allocations: 77.29 MB / 419.8 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4405, allocations: 76.12 kB / 419.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004898/0.4455, allocations: 1.428 MB / 421.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.163e-06/0.4455, allocations: 0 / 421.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.4455, allocations: 7.938 kB / 421.4 MB, free: 15.52 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004136/0.4459, allocations: 353.4 kB / 421.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.446, allocations: 8.031 kB / 421.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.4461, allocations: 11.86 kB / 421.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.4463, allocations: 198.2 kB / 421.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4463, allocations: 0 / 421.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.4464, allocations: 7.188 kB / 421.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.4467, allocations: 153.4 kB / 422.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4468, allocations: 4 kB / 422.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4468, allocations: 7.812 kB / 422.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.4468, allocations: 3.953 kB / 422.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.4469, allocations: 26.56 kB / 422.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.4474, allocations: 370.1 kB / 422.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.4477, allocations: 105 kB / 422.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.4478, allocations: 47.45 kB / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.4478, allocations: 4 kB / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.4479, allocations: 46.48 kB / 422.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.521e-06/0.4479, allocations: 0 / 422.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000267/0.4482, allocations: 82.53 kB / 422.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.4483, allocations: 113.8 kB / 422.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4484, allocations: 123.1 kB / 423 MB, free: 13.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.4485, allocations: 25.7 kB / 423 MB, free: 13.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.4486, allocations: 166.5 kB / 423.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.4486, allocations: 14.89 kB / 423.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-06/0.4486, allocations: 0 / 423.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4488, allocations: 318.6 kB / 423.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.4488, allocations: 11.44 kB / 423.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.4489, allocations: 70.72 kB / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.449, allocations: 21.56 kB / 423.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-06/0.449, allocations: 4 kB / 423.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.4492, allocations: 84.23 kB / 423.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4492, allocations: 4 kB / 423.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4493, allocations: 7.953 kB / 423.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4493, allocations: 0 / 423.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4494, allocations: 27.48 kB / 423.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.395e-06/0.4494, allocations: 8.281 kB / 423.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.4495, allocations: 4 kB / 423.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.4496, allocations: 8 kB / 423.7 MB, free: 12.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.929e-05/0.4497, allocations: 108.1 kB / 423.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.4498, allocations: 80.92 kB / 423.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.4499, allocations: 23.41 kB / 424 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.834e-06/0.4499, allocations: 3.953 kB / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.4499, allocations: 4 kB / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.125e-06/0.45, allocations: 0 / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.4503, allocations: 187 kB / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-06/0.4503, allocations: 0 / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4504, allocations: 19.98 kB / 424.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.927e-06/0.4505, allocations: 4 kB / 424.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-06/0.4505, allocations: 0 / 424.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.316e-06/0.4505, allocations: 3.938 kB / 424.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.853e-06/0.4505, allocations: 7.953 kB / 424.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.4509, allocations: 318.8 kB / 424.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.782e-05/0.451, allocations: 100.3 kB / 424.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.4511, allocations: 7.562 kB / 424.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4512, allocations: 4 kB / 424.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.4513, allocations: 11.95 kB / 424.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.997e-06/0.4513, allocations: 0 / 424.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.712e-05/0.4514, allocations: 108.8 kB / 424.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.573e-06/0.4514, allocations: 0 / 424.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.4518, allocations: 11.94 kB / 424.7 MB, free: 11.96 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 (10): * Single equations (assignments): 10 * 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.0001192/0.4519, allocations: 99.06 kB / 424.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.4521, allocations: 50.7 kB / 424.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4521, allocations: 8.062 kB / 424.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/0.4522, allocations: 11.88 kB / 424.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4525, allocations: 42.39 kB / 424.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.4529, allocations: 154.4 kB / 425.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.4533, allocations: 0.7043 MB / 425.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.4534, allocations: 27.12 kB / 425.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.243e-06/0.4534, allocations: 0 / 425.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of Templates: time 0.00262/0.456, allocations: 0.8831 MB / 426.7 MB, free: 9.965 MB / 346.7 MB