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 2.141/2.141, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.566e-05, allocations: 4 kB / 225.1 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2872, allocations: 38.78 MB / 263.9 MB, free: 9.75 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.472, allocations: 79.79 MB / 343.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.4723, allocations: 63.97 kB / 343.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1256/0.598, allocations: 16.82 MB / 360.5 MB, free: 8.914 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5981, allocations: 0 / 360.5 MB, free: 8.914 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.602e-05/0.5981, allocations: 4 kB / 360.5 MB, free: 8.91 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.002298/0.6004, allocations: 0.541 MB / 361.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.674e-05/0.6005, allocations: 8.031 kB / 361.1 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.6007, allocations: 42.55 kB / 361.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.6008, allocations: 23.75 kB / 361.1 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/0.6016, allocations: 230.7 kB / 361.4 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.6016, allocations: 8 kB / 361.4 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.6017, allocations: 7.953 kB / 361.4 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.6022, allocations: 132.3 kB / 361.5 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.6022, allocations: 0 / 361.5 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.6023, allocations: 8 kB / 361.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.6023, allocations: 0 / 361.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.6025, allocations: 43.98 kB / 361.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.6039, allocations: 392.5 kB / 361.9 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.6046, allocations: 114.6 kB / 362.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.6048, allocations: 36.84 kB / 362.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.6048, allocations: 3.938 kB / 362.1 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.6049, allocations: 34.56 kB / 362.1 MB, free: 7.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 4.568e-06/0.6049, allocations: 4.188 kB / 362.1 MB, free: 7.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.004492/0.6094, allocations: 1.141 MB / 363.3 MB, free: 5.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.6096, allocations: 132.5 kB / 363.4 MB, free: 5.684 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.61, allocations: 165.8 kB / 363.6 MB, free: 5.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.6101, allocations: 29.8 kB / 363.6 MB, free: 5.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.6102, allocations: 178.8 kB / 363.8 MB, free: 5.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.6103, allocations: 51.2 kB / 363.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.6104, allocations: 0 / 363.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.6106, allocations: 322.8 kB / 364.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.611, allocations: 87.97 kB / 364.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.6114, allocations: 127.4 kB / 364.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.6119, allocations: 99.89 kB / 364.4 MB, free: 4.605 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6119, allocations: 0 / 364.4 MB, free: 4.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001211/0.6131, allocations: 294.3 kB / 364.7 MB, free: 4.309 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.6132, allocations: 4 kB / 364.7 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/0.6132, allocations: 4 kB / 364.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.6136, allocations: 44.81 kB / 364.8 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.6141, allocations: 35.92 kB / 364.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.6168, allocations: 1.398 MB / 366.2 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.6172, allocations: 20.08 kB / 366.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.6172, allocations: 4 kB / 366.2 MB, free: 2.668 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.0001897/0.6174, allocations: 120.9 kB / 366.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.6176, allocations: 15.81 kB / 366.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.6177, allocations: 21.66 kB / 366.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6177, allocations: 0 / 366.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6177, allocations: 0 / 366.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.6178, allocations: 7.984 kB / 366.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.6184, allocations: 245.5 kB / 366.6 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.6184, allocations: 4 kB / 366.6 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/0.6192, allocations: 55.95 kB / 366.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.6193, allocations: 0 / 366.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.6193, allocations: 0 / 366.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.6194, allocations: 7.938 kB / 366.7 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6194, allocations: 0 / 366.7 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.6206, allocations: 396 kB / 367.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.6207, allocations: 96.88 kB / 367.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.6208, allocations: 4 kB / 367.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.6212, allocations: 12.03 kB / 367.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.6213, allocations: 7.984 kB / 367.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.6214, allocations: 4 kB / 367.2 MB, free: 1.609 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.6216, allocations: 128.3 kB / 367.3 MB, free: 1.484 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6216, allocations: 0 / 367.3 MB, free: 1.484 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003378/0.625, allocations: 0.5312 MB / 367.9 MB, free: 0.9531 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.3127/0.9378, allocations: 1.385 MB / 369.3 MB, free: 83.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.9394, allocations: 367.1 kB / 369.6 MB, free: 83.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.9395, allocations: 1.438 kB / 369.6 MB, free: 83.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.9399, allocations: 85.17 kB / 369.7 MB, free: 83.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.9405, allocations: 22.16 kB / 369.7 MB, free: 83.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.9435, allocations: 0.5358 MB / 370.3 MB, free: 83.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.944, allocations: 0.7377 MB / 371 MB, free: 82.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.9442, allocations: 48.23 kB / 371 MB, free: 82.81 MB / 314.7 MB Notification: Performance of SimCode: time 2.946e-06/0.9442, allocations: 3.656 kB / 371 MB, free: 82.81 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.278/4.222, allocations: 7.7 MB / 378.7 MB, free: 82.44 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