Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.326/2.326, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.396e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3094, allocations: 44.48 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.4676, allocations: 84.31 MB / 378.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.4679, allocations: 67.97 kB / 378.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09803/0.566, allocations: 16.75 MB / 395.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.566, allocations: 0 / 395.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.566, allocations: 4 kB / 395.3 MB, free: 12.72 MB / 346.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.001596/0.5677, allocations: 0.5372 MB / 395.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.5677, allocations: 12.03 kB / 395.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.5678, allocations: 15.84 kB / 395.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.5683, allocations: 238.7 kB / 396.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.5683, allocations: 0 / 396.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.774e-05/0.5684, allocations: 15.98 kB / 396.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001655/0.5686, allocations: 39.98 kB / 396.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.5688, allocations: 119.1 kB / 396.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5689, allocations: 4 kB / 396.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.5689, allocations: 0 / 396.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.5689, allocations: 4 kB / 396.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.5698, allocations: 357 kB / 396.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.5702, allocations: 118.6 kB / 396.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.5703, allocations: 32.84 kB / 396.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.5704, allocations: 4 kB / 396.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5704, allocations: 30.75 kB / 396.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.315e-06/0.5704, allocations: 0 / 396.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.003157/0.5736, allocations: 1.087 MB / 397.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/0.5737, allocations: 128.6 kB / 398 MB, free: 9.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.574, allocations: 161.4 kB / 398.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.574, allocations: 25.7 kB / 398.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5742, allocations: 178.8 kB / 398.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.5743, allocations: 51.27 kB / 398.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.5743, allocations: 0 / 398.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5744, allocations: 322.8 kB / 398.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.5747, allocations: 83.97 kB / 398.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.5749, allocations: 119.4 kB / 399 MB, free: 8.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.5753, allocations: 103.8 kB / 399.1 MB, free: 8.617 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5753, allocations: 0 / 399.1 MB, free: 8.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008295/0.5762, allocations: 274.4 kB / 399.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5762, allocations: 4 kB / 399.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.5762, allocations: 4 kB / 399.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.5766, allocations: 36.83 kB / 399.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.5769, allocations: 43.91 kB / 399.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5769, allocations: 0 / 399.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.5771, allocations: 4 kB / 399.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.5771, allocations: 4 kB / 399.4 MB, free: 8.242 MB / 346.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.000134/0.5773, allocations: 116 kB / 399.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004392/0.5777, allocations: 178.8 kB / 399.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.5778, allocations: 15.81 kB / 399.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.563e-05/0.5779, allocations: 22 kB / 399.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5779, allocations: 11.94 kB / 399.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5779, allocations: 0 / 399.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.578, allocations: 3.953 kB / 399.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.5789, allocations: 482.8 kB / 400.2 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.5789, allocations: 0 / 400.2 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.5794, allocations: 31.92 kB / 400.3 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.5794, allocations: 4 kB / 400.3 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.5794, allocations: 4 kB / 400.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5794, allocations: 7.984 kB / 400.3 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5795, allocations: 7.953 kB / 400.3 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.5802, allocations: 361.3 kB / 400.6 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.5803, allocations: 88.92 kB / 400.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.5803, allocations: 4 kB / 400.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.5806, allocations: 8.031 kB / 400.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.5806, allocations: 19.88 kB / 400.8 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.5807, allocations: 8 kB / 400.8 MB, free: 6.809 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.5808, allocations: 111.8 kB / 400.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5808, allocations: 0 / 400.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002226/0.5831, allocations: 0.5234 MB / 401.4 MB, free: 6.176 MB / 346.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.003444/0.5865, allocations: 1.372 MB / 402.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000848/0.5874, allocations: 333.2 kB / 403.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5875, allocations: 0 / 403.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.5877, allocations: 75.91 kB / 403.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.5881, allocations: 29.47 kB / 403.2 MB, free: 4.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.5905, allocations: 0.5413 MB / 403.7 MB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.591, allocations: 0.7321 MB / 404.5 MB, free: 2.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.5912, allocations: 47.41 kB / 404.5 MB, free: 2.926 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5912, allocations: 4 kB / 404.5 MB, free: 2.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.24/3.832, allocations: 7.753 MB / 412.3 MB, free: 11.16 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat