Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.104e-05, allocations: 4.375 kB / 292.7 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1556, allocations: 50.43 MB / 343.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.5568, allocations: 78.46 MB / 421.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5571, allocations: 72.58 kB / 421.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0252/0.5824, allocations: 5.593 MB / 427.2 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.668e-06/0.5824, allocations: 3.938 kB / 427.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.5825, allocations: 8 kB / 427.2 MB, free: 10.98 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.0007957/0.5833, allocations: 471 kB / 427.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5833, allocations: 8.031 kB / 427.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/0.5834, allocations: 23.72 kB / 427.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.5838, allocations: 249.1 kB / 428 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.5839, allocations: 15.19 kB / 428 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.5839, allocations: 15.06 kB / 428 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.5852, allocations: 0.5992 MB / 428.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.5852, allocations: 0 / 428.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.5853, allocations: 3.625 kB / 428.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.5853, allocations: 19.98 kB / 428.6 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.5857, allocations: 163 kB / 428.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/0.5864, allocations: 374.4 kB / 429.1 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.5869, allocations: 232.7 kB / 429.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.5873, allocations: 155.1 kB / 429.5 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.5873, allocations: 4 kB / 429.5 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.5874, allocations: 38.06 kB / 429.6 MB, free: 8.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 3.72e-06/0.5874, allocations: 0 / 429.6 MB, free: 8.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007205/0.5881, allocations: 286 kB / 429.8 MB, free: 8.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.5883, allocations: 137.6 kB / 430 MB, free: 8.441 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.5885, allocations: 156.9 kB / 430.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.5885, allocations: 32.7 kB / 430.2 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.5886, allocations: 99.22 kB / 430.3 MB, free: 8.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.5887, allocations: 45.83 kB / 430.3 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.5887, allocations: 14.88 kB / 430.3 MB, free: 8.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5889, allocations: 333.5 kB / 430.6 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.5891, allocations: 70.42 kB / 430.7 MB, free: 7.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.5894, allocations: 305.7 kB / 431 MB, free: 7.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.5897, allocations: 131.2 kB / 431.1 MB, free: 7.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.5897, allocations: 7.938 kB / 431.1 MB, free: 7.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007759/0.5905, allocations: 365.9 kB / 431.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5906, allocations: 8 kB / 431.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5906, allocations: 11.94 kB / 431.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.5906, allocations: 12 kB / 431.5 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.591, allocations: 83.28 kB / 431.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/0.5911, allocations: 20.47 kB / 431.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.5913, allocations: 34.5 kB / 431.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.5914, allocations: 23.38 kB / 431.7 MB, free: 6.773 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.0001853/0.5916, allocations: 146.8 kB / 431.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006512/0.5922, allocations: 295 kB / 432.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/0.5923, allocations: 32.72 kB / 432.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.143e-06/0.5924, allocations: 4 kB / 432.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.627e-06/0.5924, allocations: 0 / 432.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.5924, allocations: 7.984 kB / 432.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.5928, allocations: 239 kB / 432.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.252e-06/0.5928, allocations: 0 / 432.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.5932, allocations: 71.52 kB / 432.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.069e-06/0.5932, allocations: 0 / 432.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.5933, allocations: 11.08 kB / 432.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.292e-06/0.5933, allocations: 4 kB / 432.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5933, allocations: 0 / 432.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.594, allocations: 443.8 kB / 432.9 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.5942, allocations: 126.4 kB / 433 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.5943, allocations: 19.25 kB / 433.1 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.5946, allocations: 15.3 kB / 433.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.5946, allocations: 0 / 433.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.5947, allocations: 19.55 kB / 433.1 MB, free: 5.484 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.5948, allocations: 124.5 kB / 433.2 MB, free: 5.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.5949, allocations: 0 / 433.2 MB, free: 5.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000579/0.5954, allocations: 50.34 kB / 433.3 MB, free: 5.336 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.0001755/0.5956, allocations: 122.4 kB / 433.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.5963, allocations: 259.4 kB / 433.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.472e-06/0.5963, allocations: 0.875 kB / 433.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.218e-05/0.5963, allocations: 0 / 433.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.597, allocations: 190.1 kB / 433.8 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.5984, allocations: 406.8 kB / 434.2 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.5989, allocations: 0.7791 MB / 435 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.599, allocations: 30.06 kB / 435 MB, free: 3.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.5991, allocations: 31.36 kB / 435.1 MB, free: 3.652 MB / 346.7 MB Notification: Performance of SimCode: time 1.82e-06/0.5991, allocations: 0 / 435.1 MB, free: 3.652 MB / 346.7 MB Notification: Performance of Templates: time 0.008077/0.6072, allocations: 2.271 MB / 437.3 MB, free: 1.398 MB / 346.7 MB