Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 225.8 MB / 239.3 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.814e-05, allocations: 0 / 292.7 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1356, allocations: 50.41 MB / 343.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.6093, allocations: 78.21 MB / 421.4 MB, free: 7.949 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.6096, allocations: 85.25 kB / 421.5 MB, free: 7.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02424/0.6339, allocations: 5.6 MB / 427.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.6339, allocations: 0 / 427.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.634, allocations: 11.78 kB / 427.1 MB, free: 7.309 MB / 330.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.0007986/0.6348, allocations: 471.6 kB / 427.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.6348, allocations: 10.22 kB / 427.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.513e-05/0.6349, allocations: 53.23 kB / 427.6 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.635, allocations: 23.34 kB / 427.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.6354, allocations: 245.7 kB / 427.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.6354, allocations: 17.41 kB / 427.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.6355, allocations: 21.2 kB / 427.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.6367, allocations: 0.5977 MB / 428.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.6368, allocations: 0 / 428.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.6368, allocations: 3.562 kB / 428.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.6369, allocations: 19.27 kB / 428.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.6373, allocations: 165 kB / 428.7 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.638, allocations: 369 kB / 429 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.6385, allocations: 231.3 kB / 429.3 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.6388, allocations: 148.9 kB / 429.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.6388, allocations: 3.812 kB / 429.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.6389, allocations: 42.06 kB / 429.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 3.376e-06/0.6389, allocations: 0 / 429.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007254/0.6396, allocations: 293.5 kB / 429.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.6397, allocations: 135.8 kB / 429.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.6399, allocations: 153.9 kB / 430 MB, free: 5.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.64, allocations: 32.61 kB / 430 MB, free: 5.527 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.64, allocations: 102.2 kB / 430.1 MB, free: 5.441 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.6401, allocations: 45.89 kB / 430.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.6401, allocations: 11.16 kB / 430.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.6402, allocations: 333.5 kB / 430.5 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.6403, allocations: 68.8 kB / 430.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.6406, allocations: 314.7 kB / 430.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.6409, allocations: 123.4 kB / 431 MB, free: 4.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.6409, allocations: 3.844 kB / 431 MB, free: 4.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006876/0.6416, allocations: 365.5 kB / 431.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.6416, allocations: 11.53 kB / 431.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.6417, allocations: 15.38 kB / 431.4 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/0.6417, allocations: 12.28 kB / 431.4 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.6422, allocations: 87.27 kB / 431.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.6422, allocations: 19.41 kB / 431.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.6425, allocations: 33.12 kB / 431.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.6425, allocations: 29.5 kB / 431.6 MB, free: 4.535 MB / 330.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.0001518/0.6427, allocations: 140.1 kB / 431.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006212/0.6433, allocations: 290.4 kB / 432 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.6434, allocations: 34.28 kB / 432 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/0.6434, allocations: 3.656 kB / 432 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6434, allocations: 3.875 kB / 432 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6435, allocations: 7.984 kB / 432.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.6437, allocations: 238.2 kB / 432.3 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6437, allocations: 0 / 432.3 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.6442, allocations: 65.33 kB / 432.4 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.6443, allocations: 3.844 kB / 432.4 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.6443, allocations: 14.23 kB / 432.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6443, allocations: 0 / 432.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6443, allocations: 3.984 kB / 432.4 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.645, allocations: 438.1 kB / 432.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.6452, allocations: 133.4 kB / 432.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.6453, allocations: 14.44 kB / 432.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.6455, allocations: 18.2 kB / 433 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.6456, allocations: 0 / 433 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.6456, allocations: 18.92 kB / 433 MB, free: 3.688 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.6458, allocations: 121.5 kB / 433.1 MB, free: 3.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6458, allocations: 0 / 433.1 MB, free: 3.609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005638/0.6464, allocations: 51.34 kB / 433.1 MB, free: 3.609 MB / 330.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.001634/0.648, allocations: 1.298 MB / 434.4 MB, free: 18.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.6487, allocations: 265.5 kB / 434.7 MB, free: 18.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6487, allocations: 4.219 kB / 434.7 MB, free: 18.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.6487, allocations: 4 kB / 434.7 MB, free: 18.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.6495, allocations: 184.3 kB / 434.9 MB, free: 18.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.6512, allocations: 489.8 kB / 435.4 MB, free: 18.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.6516, allocations: 0.7881 MB / 436.2 MB, free: 17.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.6517, allocations: 21.44 kB / 436.2 MB, free: 17.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.6519, allocations: 74.69 kB / 436.3 MB, free: 17.58 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.6519, allocations: 0 / 436.3 MB, free: 17.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.6772, allocations: 4.655 MB / 440.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.6774, allocations: 169.5 kB / 441.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.184, allocations: 0 / 441.1 MB, free: 15.15 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat does not exist to compare? outputFormat=mat