Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.338e-05, allocations: 5.562 kB / 292.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 50.41 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5357, allocations: 78.54 MB / 421.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.536, allocations: 86.06 kB / 421.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02672/0.5628, allocations: 5.593 MB / 426.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5628, allocations: 3.938 kB / 426.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.5628, allocations: 4 kB / 426.9 MB, free: 10.49 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.0008572/0.5637, allocations: 470.6 kB / 427.3 MB, free: 10 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5638, allocations: 8.031 kB / 427.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.976e-05/0.5639, allocations: 60.16 kB / 427.4 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.564, allocations: 27.66 kB / 427.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.5644, allocations: 241.2 kB / 427.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.5644, allocations: 11.38 kB / 427.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.5645, allocations: 18.88 kB / 427.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.5658, allocations: 0.5995 MB / 428.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5659, allocations: 4 kB / 428.3 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.5659, allocations: 7.75 kB / 428.3 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/0.566, allocations: 15.62 kB / 428.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.5664, allocations: 162.8 kB / 428.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.5671, allocations: 372.8 kB / 428.8 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.5676, allocations: 221.2 kB / 429.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.568, allocations: 149.3 kB / 429.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.5681, allocations: 4 kB / 429.2 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5681, allocations: 45.92 kB / 429.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 3.296e-06/0.5681, allocations: 0 / 429.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007985/0.5689, allocations: 290.4 kB / 429.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.5691, allocations: 144.1 kB / 429.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.5693, allocations: 154.5 kB / 429.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.5694, allocations: 32.94 kB / 429.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.5694, allocations: 160.3 kB / 430 MB, free: 7.566 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.5695, allocations: 45.25 kB / 430.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5695, allocations: 6.125 kB / 430.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5697, allocations: 325.3 kB / 430.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.5699, allocations: 69.42 kB / 430.4 MB, free: 7.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.5702, allocations: 314.2 kB / 430.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.5705, allocations: 130 kB / 430.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.5705, allocations: 4 kB / 430.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007792/0.5713, allocations: 364.2 kB / 431.2 MB, free: 6.355 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.5714, allocations: 11.94 kB / 431.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.5714, allocations: 12 kB / 431.3 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.5714, allocations: 12 kB / 431.3 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.5719, allocations: 87.2 kB / 431.4 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/0.572, allocations: 15.94 kB / 431.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.5722, allocations: 31.61 kB / 431.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.5723, allocations: 23.94 kB / 431.4 MB, free: 6.176 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.0001732/0.5725, allocations: 152.7 kB / 431.6 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006777/0.5732, allocations: 282.6 kB / 431.9 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.5733, allocations: 34.45 kB / 431.9 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5733, allocations: 8 kB / 431.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5733, allocations: 0 / 431.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5733, allocations: 0 / 431.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.5737, allocations: 243.8 kB / 432.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5737, allocations: 0 / 432.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/0.5742, allocations: 63.16 kB / 432.2 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.5742, allocations: 8 kB / 432.2 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.5743, allocations: 15.25 kB / 432.2 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.5743, allocations: 0 / 432.2 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5743, allocations: 0 / 432.2 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.575, allocations: 437.5 kB / 432.6 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.5752, allocations: 137.8 kB / 432.8 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.044e-05/0.5753, allocations: 21.98 kB / 432.8 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.5756, allocations: 7.438 kB / 432.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.5756, allocations: 11.11 kB / 432.8 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.5757, allocations: 8 kB / 432.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.5758, allocations: 124.6 kB / 432.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5758, allocations: 0 / 432.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005551/0.5764, allocations: 52.25 kB / 433 MB, free: 4.742 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.001521/0.5779, allocations: 1.305 MB / 434.3 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000661/0.5786, allocations: 263.5 kB / 434.6 MB, free: 3.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5786, allocations: 2.438 kB / 434.6 MB, free: 3.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.5787, allocations: 0 / 434.6 MB, free: 3.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.5795, allocations: 190.5 kB / 434.7 MB, free: 3.199 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.5814, allocations: 0.5155 MB / 435.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.5818, allocations: 0.7907 MB / 436.1 MB, free: 1.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.582, allocations: 68.59 kB / 436.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.582, allocations: 3.938 kB / 436.1 MB, free: 1.859 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.566/3.148, allocations: 3.872 MB / 440 MB, free: 14.03 MB / 362.7 MB