Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.156/2.156, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.629e-05, allocations: 7.797 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.4 MB / 342.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4921/0.6025, allocations: 78.48 MB / 421.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.6028, allocations: 78.27 kB / 421.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02676/0.6296, allocations: 5.6 MB / 426.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.6297, allocations: 0 / 426.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.6297, allocations: 7.938 kB / 426.8 MB, free: 10.61 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.000906/0.6306, allocations: 471.9 kB / 427.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6307, allocations: 12.03 kB / 427.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.743e-05/0.6308, allocations: 54.91 kB / 427.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.6309, allocations: 23.72 kB / 427.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.6313, allocations: 251 kB / 427.6 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.6314, allocations: 14.56 kB / 427.6 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.6314, allocations: 18.69 kB / 427.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.6329, allocations: 0.5903 MB / 428.2 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6329, allocations: 4 kB / 428.2 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.633, allocations: 7.688 kB / 428.2 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.633, allocations: 16 kB / 428.3 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.6335, allocations: 162.1 kB / 428.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/0.6342, allocations: 374.6 kB / 428.8 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.6347, allocations: 226.9 kB / 429 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.6351, allocations: 148.5 kB / 429.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.6352, allocations: 4 kB / 429.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.6352, allocations: 41.48 kB / 429.2 MB, free: 8.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 3.106e-06/0.6352, allocations: 4 kB / 429.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0008109/0.6361, allocations: 290.8 kB / 429.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.6362, allocations: 137.6 kB / 429.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.6364, allocations: 153.8 kB / 429.8 MB, free: 7.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.6365, allocations: 29.33 kB / 429.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.6366, allocations: 99.28 kB / 429.9 MB, free: 7.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.6366, allocations: 45.62 kB / 429.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.6367, allocations: 7.062 kB / 429.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6368, allocations: 340.7 kB / 430.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.637, allocations: 65.73 kB / 430.3 MB, free: 7.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.6374, allocations: 317.7 kB / 430.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.6377, allocations: 124 kB / 430.8 MB, free: 6.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.6377, allocations: 0 / 430.8 MB, free: 6.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008566/0.6386, allocations: 370 kB / 431.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.6386, allocations: 11.94 kB / 431.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.6386, allocations: 15.94 kB / 431.2 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.633e-05/0.6387, allocations: 15.98 kB / 431.2 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.6392, allocations: 83.47 kB / 431.3 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/0.6392, allocations: 20.48 kB / 431.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.6395, allocations: 38.86 kB / 431.3 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.6395, allocations: 23.69 kB / 431.3 MB, free: 6.34 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.0001804/0.6397, allocations: 143.3 kB / 431.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/0.6404, allocations: 283.2 kB / 431.8 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.6406, allocations: 36.52 kB / 431.8 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6406, allocations: 8 kB / 431.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6406, allocations: 0 / 431.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6406, allocations: 0 / 431.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.6409, allocations: 245 kB / 432 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.641, allocations: 4 kB / 432 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/0.6415, allocations: 63.47 kB / 432.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.6415, allocations: 4 kB / 432.1 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.6416, allocations: 14.94 kB / 432.1 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.6416, allocations: 0 / 432.1 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6416, allocations: 0 / 432.1 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.6424, allocations: 442.9 kB / 432.6 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.6426, allocations: 135.4 kB / 432.7 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.6427, allocations: 19.11 kB / 432.7 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.6429, allocations: 7.812 kB / 432.7 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.643, allocations: 7.984 kB / 432.7 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.643, allocations: 11.88 kB / 432.7 MB, free: 5.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.6432, allocations: 125 kB / 432.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6432, allocations: 4 kB / 432.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000568/0.6438, allocations: 50.94 kB / 432.9 MB, free: 4.906 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.001567/0.6454, allocations: 1.293 MB / 434.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.6461, allocations: 262.8 kB / 434.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6461, allocations: 0 / 434.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-05/0.6461, allocations: 3.375 kB / 434.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.6469, allocations: 183.9 kB / 434.6 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.6489, allocations: 0.4888 MB / 435.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.6493, allocations: 0.7828 MB / 435.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.6494, allocations: 33.98 kB / 435.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.6496, allocations: 71.47 kB / 436 MB, free: 2.051 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6496, allocations: 0 / 436 MB, free: 2.051 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.6833, allocations: 4.641 MB / 440.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003218/0.6837, allocations: 172.5 kB / 440.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.132, allocations: 0 / 440.8 MB, free: 13.26 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat does not exist to compare? outputFormat=mat