Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.287/2.287, allocations: 194.9 MB / 208.5 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.117e-05/4.108e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4959/0.5967, allocations: 85.12 MB / 385.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.597, allocations: 67.2 kB / 385.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1602/0.7572, allocations: 35.42 MB / 420.6 MB, free: 15.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.112e-06/0.7572, allocations: 0 / 420.6 MB, free: 15.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.482e-05/0.7573, allocations: 15.66 kB / 420.6 MB, free: 15.62 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002592/0.7599, allocations: 0.8218 MB / 421.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.76, allocations: 11.62 kB / 421.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.66e-05/0.7601, allocations: 51.56 kB / 421.4 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.7602, allocations: 46.69 kB / 421.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.7613, allocations: 434.5 kB / 421.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.7614, allocations: 22.75 kB / 421.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.755e-05/0.7615, allocations: 34.23 kB / 422 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.7622, allocations: 321.9 kB / 422.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.7622, allocations: 3.938 kB / 422.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.7622, allocations: 11.03 kB / 422.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.7623, allocations: 7.828 kB / 422.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.7626, allocations: 138.1 kB / 422.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.7644, allocations: 0.6866 MB / 423.1 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/0.7653, allocations: 305.6 kB / 423.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.7656, allocations: 95.47 kB / 423.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.7656, allocations: 4.062 kB / 423.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.7657, allocations: 42.12 kB / 423.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 3.076e-06/0.7657, allocations: 0 / 423.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007284/0.7664, allocations: 282.9 kB / 423.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002107/0.7666, allocations: 371.4 kB / 424.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.7672, allocations: 354.1 kB / 424.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.7673, allocations: 32.39 kB / 424.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.7675, allocations: 234.2 kB / 424.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.7676, allocations: 83.67 kB / 424.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.7676, allocations: 7.188 kB / 424.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7678, allocations: 336.7 kB / 425.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.7682, allocations: 186.3 kB / 425.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.7688, allocations: 301.3 kB / 425.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.7693, allocations: 228.5 kB / 425.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.7693, allocations: 4 kB / 425.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001573/0.7709, allocations: 0.5876 MB / 426.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.7709, allocations: 7.891 kB / 426.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.736e-05/0.771, allocations: 11.86 kB / 426.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/0.7717, allocations: 127.6 kB / 426.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.7723, allocations: 66.41 kB / 426.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/0.7768, allocations: 4.215 MB / 430.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.7773, allocations: 46.98 kB / 431 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.7774, allocations: 19.5 kB / 431 MB, free: 8.117 MB / 330.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.0002129/0.7776, allocations: 132 kB / 431.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.7777, allocations: 38.94 kB / 431.2 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.7779, allocations: 52.27 kB / 431.2 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7779, allocations: 0 / 431.2 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7779, allocations: 0 / 431.2 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7779, allocations: 3.938 kB / 431.2 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.7785, allocations: 348.1 kB / 431.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.7785, allocations: 7.938 kB / 431.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.7791, allocations: 42.91 kB / 431.6 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.7791, allocations: 3.875 kB / 431.6 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.7791, allocations: 11.42 kB / 431.6 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.7792, allocations: 3.938 kB / 431.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7792, allocations: 0 / 431.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.7801, allocations: 495.3 kB / 432.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.7802, allocations: 124.1 kB / 432.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/0.7803, allocations: 11.75 kB / 432.3 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.7806, allocations: 14.92 kB / 432.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.7807, allocations: 7.609 kB / 432.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.7807, allocations: 11.23 kB / 432.3 MB, free: 7.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003784/0.7811, allocations: 263.3 kB / 432.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7811, allocations: 0 / 432.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002885/0.784, allocations: 0.6911 MB / 433.2 MB, free: 7.168 MB / 330.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.003957/0.788, allocations: 1.636 MB / 434.9 MB, free: 6.352 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.7901, allocations: 0.9115 MB / 435.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7901, allocations: 0 / 435.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.7904, allocations: 116.4 kB / 435.9 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.7912, allocations: 95.83 kB / 436 MB, free: 5.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.7948, allocations: 1.111 MB / 437.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.7954, allocations: 0.8514 MB / 438 MB, free: 4.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.7957, allocations: 130.1 kB / 438.1 MB, free: 4.375 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7957, allocations: 3.938 kB / 438.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.374/4.17, allocations: 14.43 MB / 452.5 MB, free: 7.164 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat