Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.694e-05, allocations: 4 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.5852, allocations: 90.34 MB / 433 MB, free: 4.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5855, allocations: 66.16 kB / 433 MB, free: 4.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0888/0.6744, allocations: 16.89 MB / 449.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6744, allocations: 4 kB / 449.9 MB, free: 4.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.6745, allocations: 4 kB / 449.9 MB, free: 4.41 MB / 362.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.001504/0.676, allocations: 0.546 MB / 450.5 MB, free: 3.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.676, allocations: 12.03 kB / 450.5 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.529e-05/0.6761, allocations: 37.86 kB / 450.5 MB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.6762, allocations: 11.91 kB / 450.5 MB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.6766, allocations: 235.5 kB / 450.8 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.6767, allocations: 4 kB / 450.8 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.6767, allocations: 19.05 kB / 450.8 MB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.677, allocations: 125.9 kB / 450.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.6771, allocations: 3.953 kB / 450.9 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.6771, allocations: 0 / 450.9 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6771, allocations: 4 kB / 450.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.6773, allocations: 45.86 kB / 451 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.6781, allocations: 397.3 kB / 451.4 MB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.6786, allocations: 118.3 kB / 451.5 MB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-05/0.6787, allocations: 35.66 kB / 451.5 MB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.6788, allocations: 7.984 kB / 451.5 MB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.6788, allocations: 34.56 kB / 451.6 MB, free: 2.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.845e-06/0.6788, allocations: 0 / 451.6 MB, free: 2.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.003105/0.6819, allocations: 1.139 MB / 452.7 MB, free: 1.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.6821, allocations: 131.6 kB / 452.8 MB, free: 1.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.6823, allocations: 167 kB / 453 MB, free: 1.328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.6824, allocations: 25.7 kB / 453 MB, free: 1.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.6825, allocations: 110.5 kB / 453.1 MB, free: 1.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.6825, allocations: 57.73 kB / 453.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.6826, allocations: 7.375 kB / 453.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6827, allocations: 333.4 kB / 453.5 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.683, allocations: 87.84 kB / 453.6 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.6833, allocations: 120.9 kB / 453.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.6835, allocations: 112.4 kB / 453.8 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6836, allocations: 0 / 453.8 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008086/0.6844, allocations: 287.9 kB / 454.1 MB, free: 372 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6844, allocations: 8 kB / 454.1 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.6845, allocations: 4 kB / 454.1 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.6847, allocations: 46.88 kB / 454.2 MB, free: 320 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.6851, allocations: 27.98 kB / 454.2 MB, free: 292 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.6869, allocations: 1.399 MB / 455.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.6871, allocations: 16.02 kB / 455.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.6872, allocations: 4 kB / 455.6 MB, free: 14.81 MB / 378.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.0001358/0.6873, allocations: 113.8 kB / 455.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.6874, allocations: 15.77 kB / 455.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.488e-05/0.6875, allocations: 31.52 kB / 455.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6875, allocations: 0 / 455.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6875, allocations: 0 / 455.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6875, allocations: 4 kB / 455.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.688, allocations: 244.4 kB / 456 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.688, allocations: 3.984 kB / 456 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.6885, allocations: 51.91 kB / 456.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.6886, allocations: 3.953 kB / 456.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.6886, allocations: 11.75 kB / 456.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.6886, allocations: 0 / 456.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6886, allocations: 3.984 kB / 456.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.6894, allocations: 395.7 kB / 456.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.6895, allocations: 89.06 kB / 456.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.6896, allocations: 15 kB / 456.6 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.6898, allocations: 8.031 kB / 456.6 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.6899, allocations: 15.05 kB / 456.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.6899, allocations: 4 kB / 456.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.6901, allocations: 126.6 kB / 456.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6901, allocations: 0 / 456.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002207/0.6923, allocations: 0.5233 MB / 457.2 MB, free: 13.24 MB / 378.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.003384/0.6957, allocations: 1.393 MB / 458.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009601/0.6967, allocations: 365.1 kB / 459 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6968, allocations: 3.938 kB / 459 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.697, allocations: 81.28 kB / 459.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.6974, allocations: 31.05 kB / 459.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.6993, allocations: 0.5035 MB / 459.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.6997, allocations: 0.7323 MB / 460.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.6999, allocations: 29.19 kB / 460.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.7001, allocations: 50.48 kB / 460.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of SimCode: time 3.046e-06/0.7001, allocations: 0 / 460.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/0.8089, allocations: 11.89 MB / 472.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/0.8093, allocations: 222.3 kB / 472.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/3.745, allocations: 0 / 472.5 MB, free: 14.23 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat