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 1.968/1.968, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.471e-05, allocations: 0 / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.0948, allocations: 44.51 MB / 299.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5266, allocations: 85.11 MB / 385 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5269, allocations: 67.34 kB / 385.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1578/0.6848, allocations: 35.43 MB / 420.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6848, allocations: 7.812 kB / 420.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.813e-05/0.6849, allocations: 11.75 kB / 420.5 MB, free: 15.61 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.002625/0.6875, allocations: 0.8133 MB / 421.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6876, allocations: 7.656 kB / 421.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.408e-05/0.6877, allocations: 55.28 kB / 421.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.6879, allocations: 50.44 kB / 421.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.6891, allocations: 441 kB / 421.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.6891, allocations: 14.78 kB / 421.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/0.6892, allocations: 33.75 kB / 421.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.6899, allocations: 325.2 kB / 422.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6899, allocations: 0 / 422.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.69, allocations: 15.62 kB / 422.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.69, allocations: 11.67 kB / 422.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.6904, allocations: 128.9 kB / 422.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.6923, allocations: 0.6818 MB / 423.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.6932, allocations: 319 kB / 423.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.6935, allocations: 93.08 kB / 423.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.6935, allocations: 4.062 kB / 423.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.6936, allocations: 46.36 kB / 423.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 3.246e-06/0.6936, allocations: 0 / 423.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008115/0.6944, allocations: 281.5 kB / 423.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/0.6946, allocations: 371.3 kB / 424.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.6952, allocations: 350.1 kB / 424.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.343e-05/0.6953, allocations: 28.7 kB / 424.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.6955, allocations: 240.3 kB / 424.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.716e-05/0.6956, allocations: 84.34 kB / 424.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.6957, allocations: 11.31 kB / 424.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6958, allocations: 332.5 kB / 425.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.6963, allocations: 189.8 kB / 425.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.6969, allocations: 297.5 kB / 425.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.6974, allocations: 232.5 kB / 425.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6974, allocations: 0 / 425.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001656/0.6991, allocations: 0.5935 MB / 426.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.6991, allocations: 7.828 kB / 426.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.234e-05/0.6992, allocations: 11.73 kB / 426.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/0.6999, allocations: 133.5 kB / 426.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005418/0.7004, allocations: 61.73 kB / 426.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004714/0.7052, allocations: 4.214 MB / 430.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.7057, allocations: 53.39 kB / 431 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.7058, allocations: 22.64 kB / 431 MB, free: 8.09 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.0001785/0.706, allocations: 126 kB / 431.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.7061, allocations: 42.38 kB / 431.2 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.7062, allocations: 46 kB / 431.2 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7063, allocations: 7.625 kB / 431.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.7063, allocations: 0 / 431.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7063, allocations: 0 / 431.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.7068, allocations: 351.2 kB / 431.6 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7069, allocations: 7.828 kB / 431.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.7075, allocations: 38.84 kB / 431.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.7075, allocations: 0 / 431.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.7075, allocations: 7.812 kB / 431.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.7075, allocations: 15.81 kB / 431.6 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7076, allocations: 0 / 431.6 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/0.7085, allocations: 495.2 kB / 432.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.7087, allocations: 116.1 kB / 432.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.7087, allocations: 15.42 kB / 432.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.7091, allocations: 15.05 kB / 432.3 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.7092, allocations: 10.98 kB / 432.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.7092, allocations: 7.75 kB / 432.3 MB, free: 7.312 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004182/0.7096, allocations: 264.9 kB / 432.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7096, allocations: 0 / 432.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002865/0.7125, allocations: 0.6976 MB / 433.2 MB, free: 7.141 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.004259/0.7168, allocations: 1.625 MB / 434.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.719, allocations: 0.9269 MB / 435.8 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.719, allocations: 0 / 435.8 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.7193, allocations: 113.7 kB / 435.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.7202, allocations: 106.2 kB / 436 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.7237, allocations: 1.113 MB / 437.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.7243, allocations: 0.848 MB / 438 MB, free: 4.344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.7246, allocations: 129.5 kB / 438.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7246, allocations: 3.875 kB / 438.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.461/4.186, allocations: 14.47 MB / 452.6 MB, free: 7.121 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