Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.045e-05, allocations: 4 kB / 219.5 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2835, allocations: 38.76 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.4324, allocations: 79.11 MB / 337.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.4328, allocations: 63.97 kB / 337.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08556/0.5183, allocations: 16.78 MB / 354.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5184, allocations: 0 / 354.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.351e-05/0.5184, allocations: 4 kB / 354.3 MB, free: 13.81 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001524/0.5199, allocations: 0.5451 MB / 354.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.52, allocations: 12.03 kB / 354.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.5201, allocations: 15.81 kB / 354.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.5206, allocations: 238.7 kB / 355.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.5206, allocations: 4 kB / 355.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.5207, allocations: 7.953 kB / 355.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001594/0.5208, allocations: 47.92 kB / 355.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.5211, allocations: 121.9 kB / 355.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5211, allocations: 0 / 355.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.5212, allocations: 0 / 355.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5212, allocations: 0 / 355.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.522, allocations: 361.1 kB / 355.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.5225, allocations: 114.6 kB / 355.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.5226, allocations: 36.97 kB / 355.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5226, allocations: 3.938 kB / 355.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5227, allocations: 34.56 kB / 355.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.5227, allocations: 4 kB / 355.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002885/0.5256, allocations: 1.077 MB / 356.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.5257, allocations: 140.5 kB / 357 MB, free: 10.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.5259, allocations: 146 kB / 357.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.5259, allocations: 29.64 kB / 357.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5261, allocations: 174.8 kB / 357.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.5261, allocations: 59.14 kB / 357.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.5262, allocations: 0 / 357.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5263, allocations: 326.8 kB / 357.7 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.5265, allocations: 83.97 kB / 357.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.5268, allocations: 124.7 kB / 357.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.5271, allocations: 99.94 kB / 358 MB, free: 9.684 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5271, allocations: 0 / 358 MB, free: 9.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007714/0.5279, allocations: 274.1 kB / 358.3 MB, free: 9.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.528, allocations: 8 kB / 358.3 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.528, allocations: 0 / 358.3 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.5282, allocations: 48.84 kB / 358.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.5286, allocations: 31.98 kB / 358.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.5286, allocations: 3.984 kB / 358.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.5288, allocations: 7.984 kB / 358.4 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.5288, allocations: 8 kB / 358.4 MB, free: 9.297 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.5289, allocations: 108.9 kB / 358.5 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004452/0.5294, allocations: 173.4 kB / 358.7 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.5295, allocations: 11.81 kB / 358.7 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.13e-05/0.5296, allocations: 25.97 kB / 358.7 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5296, allocations: 3.984 kB / 358.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5296, allocations: 0 / 358.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5296, allocations: 4 kB / 358.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.5305, allocations: 475.8 kB / 359.2 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5305, allocations: 0 / 359.2 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.5309, allocations: 31.98 kB / 359.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5309, allocations: 0 / 359.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.531, allocations: 15.98 kB / 359.2 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.531, allocations: 0 / 359.2 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.531, allocations: 0 / 359.2 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/0.5317, allocations: 372.9 kB / 359.6 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.5318, allocations: 88.92 kB / 359.7 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.5318, allocations: 8.031 kB / 359.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.532, allocations: 4 kB / 359.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.5321, allocations: 11.98 kB / 359.7 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.5321, allocations: 8 kB / 359.7 MB, free: 7.891 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.5323, allocations: 128.2 kB / 359.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5323, allocations: 0 / 359.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002216/0.5345, allocations: 0.5273 MB / 360.4 MB, free: 7.238 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.003321/0.5379, allocations: 1.369 MB / 361.7 MB, free: 5.852 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.5387, allocations: 340.3 kB / 362.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5388, allocations: 0 / 362.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.539, allocations: 80.61 kB / 362.1 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.5395, allocations: 15.98 kB / 362.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.542, allocations: 0.5374 MB / 362.7 MB, free: 4.816 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.5426, allocations: 0.7321 MB / 363.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.5428, allocations: 43.42 kB / 363.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5428, allocations: 0 / 363.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.504/4.047, allocations: 7.767 MB / 371.2 MB, free: 82.03 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat