Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.819e-05, allocations: 5.562 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09308, allocations: 50.42 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4452, allocations: 77.27 MB / 419.8 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4455, allocations: 78.33 kB / 419.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005443/0.4509, allocations: 1.456 MB / 421.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.911e-06/0.4509, allocations: 0 / 421.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.451, allocations: 11.94 kB / 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000413/0.4514, allocations: 346.2 kB / 421.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4515, allocations: 12.03 kB / 421.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.4515, allocations: 15.86 kB / 421.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.4517, allocations: 190.2 kB / 421.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-06/0.4518, allocations: 3.375 kB / 421.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.4518, allocations: 4 kB / 421.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.4521, allocations: 110.5 kB / 422 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.201e-06/0.4521, allocations: 0 / 422 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4521, allocations: 3.984 kB / 422 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.628e-06/0.4521, allocations: 3.953 kB / 422.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.4522, allocations: 11.38 kB / 422.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.4526, allocations: 272 kB / 422.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.4529, allocations: 128.9 kB / 422.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.453, allocations: 26.58 kB / 422.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.453, allocations: 7.25 kB / 422.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.453, allocations: 38.5 kB / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.372e-06/0.453, allocations: 0 / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001921/0.4532, allocations: 59.17 kB / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.4533, allocations: 77.11 kB / 422.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.4535, allocations: 122.9 kB / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.4535, allocations: 29.64 kB / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.4536, allocations: 157.8 kB / 423 MB, free: 13.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.4536, allocations: 10.97 kB / 423 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-06/0.4537, allocations: 0 / 423 MB, free: 13.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4538, allocations: 318.8 kB / 423.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.4539, allocations: 7.062 kB / 423.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.4539, allocations: 23.44 kB / 423.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.454, allocations: 10.44 kB / 423.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-06/0.454, allocations: 0 / 423.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.4541, allocations: 55.69 kB / 423.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4542, allocations: 10.81 kB / 423.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.137e-06/0.4542, allocations: 0 / 423.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4542, allocations: 3.953 kB / 423.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.4543, allocations: 16.11 kB / 423.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.4543, allocations: 11.92 kB / 423.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.4544, allocations: 7.938 kB / 423.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-06/0.4544, allocations: 0 / 423.4 MB, free: 13.27 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.751e-05/0.4545, allocations: 108.4 kB / 423.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4546, allocations: 48.41 kB / 423.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.466e-05/0.4547, allocations: 11.34 kB / 423.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4547, allocations: 3.984 kB / 423.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.4547, allocations: 7.953 kB / 423.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-06/0.4547, allocations: 4 kB / 423.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.455, allocations: 168.6 kB / 423.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-06/0.455, allocations: 0 / 423.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.4551, allocations: 8 kB / 423.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.4551, allocations: 7.984 kB / 423.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.227e-06/0.4551, allocations: 0 / 423.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-06/0.4551, allocations: 0 / 423.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.901e-06/0.4552, allocations: 3.938 kB / 423.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.4554, allocations: 176.4 kB / 424 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.4555, allocations: 96.53 kB / 424.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.4555, allocations: 0 / 424.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4556, allocations: 8 kB / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.4556, allocations: 7.938 kB / 424.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-06/0.4557, allocations: 4 kB / 424.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.717e-05/0.4558, allocations: 102.1 kB / 424.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.4558, allocations: 4 kB / 424.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.4561, allocations: 11.5 kB / 424.2 MB, free: 12.43 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 (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.0001178/0.4562, allocations: 95.25 kB / 424.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.4564, allocations: 23.38 kB / 424.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.569e-06/0.4564, allocations: 0 / 424.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.4564, allocations: 7.188 kB / 424.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.4567, allocations: 23.39 kB / 424.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.457, allocations: 133.1 kB / 424.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.4574, allocations: 0.6926 MB / 425.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.4575, allocations: 15.42 kB / 425.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4575, allocations: 0 / 425.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of Templates: time 0.002348/0.4599, allocations: 0.7155 MB / 425.9 MB, free: 10.7 MB / 346.7 MB