Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.792/1.792, allocations: 171.2 MB / 183.8 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.206e-05, allocations: 4 kB / 225.1 MB, free: 2.621 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2903, allocations: 38.76 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.4557, allocations: 79.94 MB / 343.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4561, allocations: 67.97 kB / 343.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3885/0.8445, allocations: 35.5 MB / 379.3 MB, free: 81.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.8446, allocations: 0 / 379.3 MB, free: 81.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.861e-05/0.8447, allocations: 18.94 kB / 379.4 MB, free: 81.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002605/0.8473, allocations: 0.8104 MB / 380.2 MB, free: 81.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.8474, allocations: 10.34 kB / 380.2 MB, free: 81.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.005e-05/0.8475, allocations: 52.2 kB / 380.2 MB, free: 81.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.8477, allocations: 46.41 kB / 380.3 MB, free: 81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.8488, allocations: 447.7 kB / 380.7 MB, free: 80.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.8489, allocations: 27.86 kB / 380.7 MB, free: 80.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.211e-05/0.849, allocations: 27.41 kB / 380.8 MB, free: 80.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.8496, allocations: 317.8 kB / 381.1 MB, free: 80.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.8496, allocations: 0 / 381.1 MB, free: 80.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.8497, allocations: 11.59 kB / 381.1 MB, free: 80.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.8497, allocations: 3.438 kB / 381.1 MB, free: 80.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.85, allocations: 135.4 kB / 381.2 MB, free: 80.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.8519, allocations: 0.6817 MB / 381.9 MB, free: 80 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/0.8528, allocations: 304.5 kB / 382.2 MB, free: 79.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.8531, allocations: 106.3 kB / 382.3 MB, free: 79.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.8531, allocations: 3.781 kB / 382.3 MB, free: 79.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.8532, allocations: 34.44 kB / 382.3 MB, free: 79.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.216e-06/0.8532, allocations: 0 / 382.3 MB, free: 79.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007522/0.854, allocations: 285.5 kB / 382.6 MB, free: 79.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.8541, allocations: 371.1 kB / 383 MB, free: 79.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.8546, allocations: 350.6 kB / 383.3 MB, free: 79.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.8547, allocations: 36.77 kB / 383.4 MB, free: 79.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.8548, allocations: 237.7 kB / 383.6 MB, free: 78.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/0.8549, allocations: 86.05 kB / 383.7 MB, free: 78.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.8549, allocations: 8 kB / 383.7 MB, free: 78.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.855, allocations: 330.1 kB / 384 MB, free: 78.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.8555, allocations: 187.2 kB / 384.2 MB, free: 78.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.856, allocations: 299.5 kB / 384.5 MB, free: 78.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.8565, allocations: 235.3 kB / 384.7 MB, free: 78.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8565, allocations: 3.094 kB / 384.7 MB, free: 78.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001518/0.8581, allocations: 0.5936 MB / 385.3 MB, free: 77.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.8581, allocations: 2.688 kB / 385.3 MB, free: 77.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-05/0.8582, allocations: 11.06 kB / 385.3 MB, free: 77.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006466/0.8588, allocations: 133.5 kB / 385.5 MB, free: 77.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.8594, allocations: 56.58 kB / 385.5 MB, free: 77.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.8631, allocations: 4.221 MB / 389.7 MB, free: 73.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.8636, allocations: 54.38 kB / 389.8 MB, free: 73.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/0.8637, allocations: 11.53 kB / 389.8 MB, free: 73.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.8639, allocations: 139.7 kB / 389.9 MB, free: 73.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/0.864, allocations: 37.44 kB / 390 MB, free: 73.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.8641, allocations: 38.89 kB / 390 MB, free: 73.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.8641, allocations: 3.75 kB / 390 MB, free: 73.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8641, allocations: 3.812 kB / 390 MB, free: 73.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.8641, allocations: 3.953 kB / 390 MB, free: 73.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.8646, allocations: 351.5 kB / 390.4 MB, free: 73.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8647, allocations: 3.938 kB / 390.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.8653, allocations: 36.66 kB / 390.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.8653, allocations: 3.688 kB / 390.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.8653, allocations: 11.55 kB / 390.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.8654, allocations: 3.75 kB / 390.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8654, allocations: 0 / 390.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.8663, allocations: 490.7 kB / 390.9 MB, free: 73.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.447e-05/0.8664, allocations: 112 kB / 391 MB, free: 73.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.8665, allocations: 19.38 kB / 391 MB, free: 73.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.8668, allocations: 19.14 kB / 391 MB, free: 73.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.8669, allocations: 11.45 kB / 391.1 MB, free: 73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.8669, allocations: 10.09 kB / 391.1 MB, free: 73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004051/0.8674, allocations: 260.5 kB / 391.3 MB, free: 72.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8674, allocations: 0 / 391.3 MB, free: 72.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002801/0.8702, allocations: 0.7084 MB / 392 MB, free: 72.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.003592/0.8738, allocations: 1.639 MB / 393.7 MB, free: 71.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.8757, allocations: 0.9099 MB / 394.6 MB, free: 71.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8757, allocations: 0 / 394.6 MB, free: 71.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.876, allocations: 118.2 kB / 394.7 MB, free: 71.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.8768, allocations: 97.39 kB / 394.8 MB, free: 71.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.88, allocations: 1.099 MB / 395.9 MB, free: 70.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.8804, allocations: 0.8558 MB / 396.7 MB, free: 69.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.8807, allocations: 129.9 kB / 396.9 MB, free: 69.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8807, allocations: 0 / 396.9 MB, free: 69.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.642/4.523, allocations: 14.45 MB / 411.3 MB, free: 61.54 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat