Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.977e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2717, allocations: 38.77 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.4445, allocations: 79.79 MB / 343.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.4449, allocations: 67.97 kB / 343.7 MB, free: 9.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08479/0.5297, allocations: 16.81 MB / 360.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5297, allocations: 0 / 360.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.844e-05/0.5298, allocations: 4 kB / 360.5 MB, free: 8.984 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.00186/0.5316, allocations: 0.5449 MB / 361.1 MB, free: 8.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/0.5317, allocations: 8.031 kB / 361.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.5318, allocations: 42.55 kB / 361.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.5319, allocations: 15.81 kB / 361.1 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.5324, allocations: 238.6 kB / 361.4 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5324, allocations: 4 kB / 361.4 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.5325, allocations: 11.95 kB / 361.4 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.5328, allocations: 128.5 kB / 361.5 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.5329, allocations: 7.938 kB / 361.5 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.5329, allocations: 4 kB / 361.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.533, allocations: 4 kB / 361.5 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.5332, allocations: 47.97 kB / 361.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.5342, allocations: 384.5 kB / 362 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.5348, allocations: 122.6 kB / 362.1 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.5349, allocations: 36.86 kB / 362.1 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.5349, allocations: 3.938 kB / 362.1 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.535, allocations: 34.55 kB / 362.2 MB, free: 7.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 3.486e-06/0.535, allocations: 0 / 362.2 MB, free: 7.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.003287/0.5383, allocations: 1.14 MB / 363.3 MB, free: 5.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.5384, allocations: 132.5 kB / 363.4 MB, free: 5.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5387, allocations: 165.8 kB / 363.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.5387, allocations: 29.7 kB / 363.6 MB, free: 5.543 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.5388, allocations: 108.5 kB / 363.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/0.5389, allocations: 60.12 kB / 363.8 MB, free: 5.371 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.539, allocations: 4 kB / 363.8 MB, free: 5.367 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5391, allocations: 326.8 kB / 364.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.5394, allocations: 83.97 kB / 364.2 MB, free: 4.957 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.5397, allocations: 128.1 kB / 364.3 MB, free: 4.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.54, allocations: 107.2 kB / 364.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.54, allocations: 0 / 364.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008202/0.5408, allocations: 294.2 kB / 364.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.5408, allocations: 8 kB / 364.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.5409, allocations: 0 / 364.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.5412, allocations: 48.75 kB / 364.8 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.5415, allocations: 35.92 kB / 364.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.5434, allocations: 1.405 MB / 366.2 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5437, allocations: 11.98 kB / 366.2 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.5438, allocations: 8 kB / 366.2 MB, free: 2.773 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.000159/0.5439, allocations: 116.9 kB / 366.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.544, allocations: 15.81 kB / 366.3 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.761e-05/0.5441, allocations: 25.69 kB / 366.4 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.5441, allocations: 7.984 kB / 366.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.5441, allocations: 4.094 kB / 366.4 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5442, allocations: 0 / 366.4 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.5446, allocations: 249.5 kB / 366.6 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5446, allocations: 0 / 366.6 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/0.5452, allocations: 51.97 kB / 366.7 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.5452, allocations: 4 kB / 366.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.5453, allocations: 0 / 366.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.5453, allocations: 0 / 366.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.5453, allocations: 3.938 kB / 366.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.5462, allocations: 402.3 kB / 367.1 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.5463, allocations: 96.91 kB / 367.2 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.5464, allocations: 0 / 367.2 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.5466, allocations: 8 kB / 367.2 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.5466, allocations: 7.984 kB / 367.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.5467, allocations: 4 kB / 367.2 MB, free: 1.715 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.5469, allocations: 136.2 kB / 367.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5469, allocations: 0 / 367.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002334/0.5492, allocations: 0.5312 MB / 367.9 MB, free: 1.051 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.2587/0.808, allocations: 1.38 MB / 369.2 MB, free: 83.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.8096, allocations: 370.1 kB / 369.6 MB, free: 83.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.8097, allocations: 0 / 369.6 MB, free: 83.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.8101, allocations: 82.55 kB / 369.7 MB, free: 83.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.8107, allocations: 24.44 kB / 369.7 MB, free: 83.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.8136, allocations: 0.4993 MB / 370.2 MB, free: 83.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.814, allocations: 0.7392 MB / 370.9 MB, free: 82.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002786/0.8143, allocations: 32.7 kB / 371 MB, free: 82.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.8146, allocations: 45.34 kB / 371 MB, free: 82.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.693e-06/0.8146, allocations: 1.969 kB / 371 MB, free: 82.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/0.9466, allocations: 11.9 MB / 382.9 MB, free: 82.25 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.9469, allocations: 209.7 kB / 383.1 MB, free: 82.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/3.867, allocations: 0 / 383.1 MB, free: 82.03 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat