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.958/1.958, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.096e-05, allocations: 0 / 225.1 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.272, allocations: 38.76 MB / 263.8 MB, free: 9.777 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.4431, allocations: 79.78 MB / 343.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.4435, allocations: 63.97 kB / 343.7 MB, free: 9.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1541/0.5977, allocations: 16.82 MB / 360.5 MB, free: 8.949 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5978, allocations: 0 / 360.5 MB, free: 8.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.587e-05/0.5978, allocations: 7.938 kB / 360.5 MB, free: 8.941 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.002231/0.6001, allocations: 0.5449 MB / 361 MB, free: 8.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/0.6002, allocations: 12.03 kB / 361 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.207e-05/0.6003, allocations: 38.56 kB / 361.1 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.6004, allocations: 15.81 kB / 361.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006465/0.6011, allocations: 238.6 kB / 361.3 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.6011, allocations: 8 kB / 361.3 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.6012, allocations: 15.95 kB / 361.4 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.6017, allocations: 121.9 kB / 361.5 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.6017, allocations: 4 kB / 361.5 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.6018, allocations: 3.984 kB / 361.5 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6018, allocations: 0 / 361.5 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.602, allocations: 47.98 kB / 361.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.6033, allocations: 384.6 kB / 361.9 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.604, allocations: 122.5 kB / 362 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.6042, allocations: 36.84 kB / 362.1 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.6042, allocations: 7.938 kB / 362.1 MB, free: 7.184 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.6043, allocations: 30.56 kB / 362.1 MB, free: 7.145 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 4.469e-06/0.6043, allocations: 0 / 362.1 MB, free: 7.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.005739/0.6101, allocations: 1.156 MB / 363.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.6102, allocations: 132.7 kB / 363.4 MB, free: 5.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.6105, allocations: 157.8 kB / 363.5 MB, free: 5.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.6106, allocations: 33.64 kB / 363.6 MB, free: 5.496 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.6107, allocations: 166.9 kB / 363.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.6107, allocations: 59.19 kB / 363.8 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.6108, allocations: 4 kB / 363.8 MB, free: 5.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6109, allocations: 322.8 kB / 364.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.6112, allocations: 83.97 kB / 364.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.6115, allocations: 127.4 kB / 364.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.6118, allocations: 99.94 kB / 364.4 MB, free: 4.629 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6118, allocations: 0 / 364.4 MB, free: 4.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008412/0.6126, allocations: 294.3 kB / 364.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.6127, allocations: 4 kB / 364.7 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/0.6127, allocations: 7.984 kB / 364.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.613, allocations: 44.83 kB / 364.8 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.6133, allocations: 27.98 kB / 364.8 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.6152, allocations: 1.417 MB / 366.2 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.6154, allocations: 12.03 kB / 366.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.6155, allocations: 4 kB / 366.2 MB, free: 2.684 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.6156, allocations: 120.9 kB / 366.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.6157, allocations: 11.81 kB / 366.3 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.6158, allocations: 25.66 kB / 366.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6158, allocations: 4.094 kB / 366.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.6158, allocations: 0 / 366.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.6158, allocations: 4 kB / 366.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.6163, allocations: 249.5 kB / 366.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6163, allocations: 0 / 366.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.6168, allocations: 47.97 kB / 366.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6169, allocations: 0 / 366.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.6169, allocations: 11.98 kB / 366.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6169, allocations: 0 / 366.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6169, allocations: 0 / 366.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.6178, allocations: 399.1 kB / 367.1 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.6179, allocations: 88.92 kB / 367.2 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.6179, allocations: 8 kB / 367.2 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.6181, allocations: 4 kB / 367.2 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.6182, allocations: 12.03 kB / 367.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.6183, allocations: 4 kB / 367.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.6184, allocations: 136.2 kB / 367.3 MB, free: 1.496 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6185, allocations: 0 / 367.3 MB, free: 1.496 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00237/0.6208, allocations: 0.5312 MB / 367.8 MB, free: 0.9648 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.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.246/0.8669, allocations: 1.382 MB / 369.2 MB, free: 83.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.8681, allocations: 374.5 kB / 369.6 MB, free: 83.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8681, allocations: 0.5625 kB / 369.6 MB, free: 83.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.8684, allocations: 83.94 kB / 369.7 MB, free: 83.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.8688, allocations: 26.45 kB / 369.7 MB, free: 83.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.8708, allocations: 0.5393 MB / 370.2 MB, free: 83.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.8711, allocations: 0.739 MB / 371 MB, free: 82.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.8713, allocations: 47.67 kB / 371 MB, free: 82.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.8713, allocations: 0 / 371 MB, free: 82.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.044/3.915, allocations: 7.723 MB / 378.8 MB, free: 82.41 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