Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.039e-05, allocations: 5.562 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09017, allocations: 50.43 MB / 342.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3504/0.4407, allocations: 78.52 MB / 421.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.441, allocations: 78.77 kB / 421.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02447/0.4654, allocations: 5.592 MB / 426.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.631e-06/0.4655, allocations: 0 / 426.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.4655, allocations: 11.94 kB / 426.8 MB, free: 10.89 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000762/0.4663, allocations: 469.5 kB / 427.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4663, allocations: 8.031 kB / 427.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.4664, allocations: 23.72 kB / 427.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.4668, allocations: 244.7 kB / 427.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.4669, allocations: 18.94 kB / 427.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.467, allocations: 19.48 kB / 427.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4682, allocations: 0.5948 MB / 428.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4682, allocations: 4 kB / 428.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.4682, allocations: 3.25 kB / 428.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.4683, allocations: 12 kB / 428.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.4687, allocations: 162 kB / 428.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.4693, allocations: 374.6 kB / 428.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.4697, allocations: 228.5 kB / 428.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.47, allocations: 155.9 kB / 429 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.4701, allocations: 12.14 kB / 429 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.4702, allocations: 34.19 kB / 429.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 2.662e-06/0.4702, allocations: 0 / 429.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007046/0.4709, allocations: 292.4 kB / 429.4 MB, free: 8.492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.471, allocations: 138.1 kB / 429.5 MB, free: 8.344 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4712, allocations: 153.3 kB / 429.7 MB, free: 8.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.4713, allocations: 33.39 kB / 429.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.4714, allocations: 163 kB / 429.8 MB, free: 8.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.4715, allocations: 39.38 kB / 429.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.4715, allocations: 11.56 kB / 429.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4717, allocations: 330.2 kB / 430.2 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4718, allocations: 71.05 kB / 430.3 MB, free: 7.609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.4722, allocations: 312.1 kB / 430.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.4725, allocations: 129 kB / 430.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.879e-06/0.4725, allocations: 0 / 430.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007261/0.4732, allocations: 369.7 kB / 431.1 MB, free: 6.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4732, allocations: 8 kB / 431.1 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.4733, allocations: 8 kB / 431.1 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.4733, allocations: 15.94 kB / 431.1 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.4737, allocations: 87.2 kB / 431.2 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.638e-05/0.4737, allocations: 15.94 kB / 431.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.474, allocations: 30.94 kB / 431.2 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.474, allocations: 27.89 kB / 431.3 MB, free: 6.625 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001482/0.4742, allocations: 147.2 kB / 431.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/0.4748, allocations: 295.9 kB / 431.7 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.738e-05/0.4749, allocations: 33.09 kB / 431.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.239e-06/0.4749, allocations: 4 kB / 431.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.578e-06/0.4749, allocations: 3.984 kB / 431.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.34e-06/0.4749, allocations: 0 / 431.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.4753, allocations: 241.4 kB / 432 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.882e-06/0.4753, allocations: 7.984 kB / 432 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.4757, allocations: 59.91 kB / 432 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.697e-06/0.4757, allocations: 0 / 432 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.4758, allocations: 23 kB / 432.1 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.487e-06/0.4758, allocations: 4 kB / 432.1 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.087e-06/0.4758, allocations: 0 / 432.1 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.4765, allocations: 434.5 kB / 432.5 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.4767, allocations: 132.5 kB / 432.6 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.4768, allocations: 19.05 kB / 432.6 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.477, allocations: 14.94 kB / 432.7 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.477, allocations: 0 / 432.7 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.4771, allocations: 19.11 kB / 432.7 MB, free: 5.332 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.4772, allocations: 121.9 kB / 432.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4772, allocations: 0 / 432.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005192/0.4777, allocations: 53.62 kB / 432.8 MB, free: 5.184 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: 7 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001546/0.4779, allocations: 111 kB / 433 MB, free: 5.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005569/0.4785, allocations: 254.8 kB / 433.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4785, allocations: 7.938 kB / 433.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.4785, allocations: 3.812 kB / 433.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.4792, allocations: 186.6 kB / 433.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.4804, allocations: 437.7 kB / 433.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.4809, allocations: 0.7831 MB / 434.6 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.481, allocations: 31.23 kB / 434.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of SimCode: time 1.391e-06/0.4811, allocations: 0 / 434.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of Templates: time 0.005946/0.487, allocations: 2.837 MB / 437.5 MB, free: 0.6836 MB / 346.7 MB