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.822/1.822, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.018e-05, allocations: 0 / 225 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2753, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.434, allocations: 79.94 MB / 343.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.4343, allocations: 63.97 kB / 343.8 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4091/0.8435, allocations: 35.49 MB / 379.3 MB, free: 81.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8435, allocations: 0 / 379.3 MB, free: 81.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.539e-05/0.8436, allocations: 11.69 kB / 379.3 MB, free: 81.56 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.002376/0.846, allocations: 0.8185 MB / 380.1 MB, free: 81.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.846, allocations: 7.562 kB / 380.2 MB, free: 81.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.295e-05/0.8461, allocations: 46.28 kB / 380.2 MB, free: 80.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.8463, allocations: 53.38 kB / 380.3 MB, free: 80.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.8473, allocations: 452.8 kB / 380.7 MB, free: 80.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.8474, allocations: 19.95 kB / 380.7 MB, free: 80.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.8475, allocations: 31.34 kB / 380.7 MB, free: 80.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.8481, allocations: 321.4 kB / 381.1 MB, free: 80.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8481, allocations: 3.812 kB / 381.1 MB, free: 80.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.8481, allocations: 4 kB / 381.1 MB, free: 80.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8482, allocations: 3.906 kB / 381.1 MB, free: 80.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.8485, allocations: 137.8 kB / 381.2 MB, free: 80.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.8502, allocations: 0.6816 MB / 381.9 MB, free: 79.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.8511, allocations: 310.3 kB / 382.2 MB, free: 79.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.8514, allocations: 104.3 kB / 382.3 MB, free: 79.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.8514, allocations: 5.672 kB / 382.3 MB, free: 79.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.8515, allocations: 41.5 kB / 382.3 MB, free: 79.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.515e-06/0.8515, allocations: 0 / 382.3 MB, free: 79.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007029/0.8522, allocations: 273.7 kB / 382.6 MB, free: 79.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.8523, allocations: 367.7 kB / 383 MB, free: 79.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.8528, allocations: 358.5 kB / 383.3 MB, free: 79.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/0.8529, allocations: 33.05 kB / 383.3 MB, free: 79.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.8531, allocations: 242.6 kB / 383.6 MB, free: 78.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.8532, allocations: 87.86 kB / 383.7 MB, free: 78.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.8532, allocations: 4 kB / 383.7 MB, free: 78.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.8533, allocations: 333.5 kB / 384 MB, free: 78.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/0.8537, allocations: 184.8 kB / 384.2 MB, free: 78.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.8542, allocations: 310.1 kB / 384.5 MB, free: 78.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.8548, allocations: 230.1 kB / 384.7 MB, free: 78.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.8548, allocations: 0 / 384.7 MB, free: 78.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00153/0.8563, allocations: 0.5914 MB / 385.3 MB, free: 77.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.8564, allocations: 3.75 kB / 385.3 MB, free: 77.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-05/0.8564, allocations: 11.39 kB / 385.3 MB, free: 77.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/0.8571, allocations: 130.4 kB / 385.4 MB, free: 77.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.8577, allocations: 66.64 kB / 385.5 MB, free: 77.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/0.8612, allocations: 4.227 MB / 389.7 MB, free: 73.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.8617, allocations: 46.47 kB / 389.8 MB, free: 73.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.8618, allocations: 18.2 kB / 389.8 MB, free: 73.77 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.0001422/0.8619, allocations: 128 kB / 389.9 MB, free: 73.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.862, allocations: 38.31 kB / 390 MB, free: 73.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.8622, allocations: 42.78 kB / 390 MB, free: 73.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.8622, allocations: 3.75 kB / 390 MB, free: 73.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8622, allocations: 0 / 390 MB, free: 73.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.8622, allocations: 7.656 kB / 390 MB, free: 73.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.8627, allocations: 342.5 kB / 390.3 MB, free: 73.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8627, allocations: 0 / 390.3 MB, free: 73.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.8633, allocations: 48.09 kB / 390.4 MB, free: 73.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.8633, allocations: 3.656 kB / 390.4 MB, free: 73.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.8633, allocations: 15.44 kB / 390.4 MB, free: 73.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8634, allocations: 0 / 390.4 MB, free: 73.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8634, allocations: 0 / 390.4 MB, free: 73.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.8647, allocations: 490.6 kB / 390.9 MB, free: 73.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.8649, allocations: 112 kB / 391 MB, free: 72.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.865, allocations: 15.55 kB / 391 MB, free: 72.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.8654, allocations: 15.31 kB / 391 MB, free: 72.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.8655, allocations: 18.95 kB / 391 MB, free: 72.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.8656, allocations: 7.562 kB / 391.1 MB, free: 72.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003965/0.866, allocations: 271.7 kB / 391.3 MB, free: 72.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.866, allocations: 0 / 391.3 MB, free: 72.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002699/0.8687, allocations: 0.7003 MB / 392 MB, free: 72.74 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.003615/0.8723, allocations: 1.633 MB / 393.7 MB, free: 71.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.8743, allocations: 0.9347 MB / 394.6 MB, free: 71.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8743, allocations: 0 / 394.6 MB, free: 71.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.8746, allocations: 121.5 kB / 394.7 MB, free: 71.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/0.8754, allocations: 86.67 kB / 394.8 MB, free: 71.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.8785, allocations: 1.111 MB / 395.9 MB, free: 70.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.8789, allocations: 0.8543 MB / 396.8 MB, free: 69.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.8792, allocations: 126.9 kB / 396.9 MB, free: 69.77 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.8792, allocations: 0 / 396.9 MB, free: 69.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.375/4.254, allocations: 14.48 MB / 411.4 MB, free: 61.46 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