Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.252/2.252, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.51e-05, allocations: 2.219 kB / 249.7 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 44.52 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4881/0.6, allocations: 84.3 MB / 378.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.6003, allocations: 67.47 kB / 378.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09147/0.6918, allocations: 16.77 MB / 395.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6918, allocations: 0 / 395.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.6919, allocations: 3.156 kB / 395.4 MB, free: 13.06 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.001654/0.6935, allocations: 0.5375 MB / 395.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.6936, allocations: 9.656 kB / 396 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.529e-05/0.6937, allocations: 37.62 kB / 396 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.6938, allocations: 18.17 kB / 396 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.6943, allocations: 236.2 kB / 396.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.6943, allocations: 3.156 kB / 396.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.6944, allocations: 6.438 kB / 396.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001741/0.6946, allocations: 43.16 kB / 396.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.6949, allocations: 127.3 kB / 396.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.6949, allocations: 0 / 396.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.6949, allocations: 0 / 396.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.6949, allocations: 3.875 kB / 396.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009439/0.6959, allocations: 365.5 kB / 396.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.6964, allocations: 119.2 kB / 396.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.6965, allocations: 31.09 kB / 396.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.6966, allocations: 3.969 kB / 396.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.6966, allocations: 33.38 kB / 397 MB, free: 11.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.825e-06/0.6966, allocations: 4 kB / 397 MB, free: 11.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.003401/0.7, allocations: 1.089 MB / 398 MB, free: 11.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.7002, allocations: 128.5 kB / 398.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.7004, allocations: 154.6 kB / 398.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.7005, allocations: 26.64 kB / 398.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.7006, allocations: 112.3 kB / 398.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.838e-05/0.7007, allocations: 45.39 kB / 398.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.7007, allocations: 0 / 398.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7009, allocations: 329.1 kB / 398.8 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.7011, allocations: 88.39 kB / 398.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.7014, allocations: 117.7 kB / 399 MB, free: 10.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.7018, allocations: 109.5 kB / 399.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7018, allocations: 0 / 399.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008568/0.7027, allocations: 275.6 kB / 399.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7027, allocations: 11.28 kB / 399.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.7027, allocations: 0 / 399.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.7031, allocations: 44.98 kB / 399.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.7034, allocations: 35.06 kB / 399.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7035, allocations: 3.875 kB / 399.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.7036, allocations: 3.875 kB / 399.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.7037, allocations: 6.938 kB / 399.5 MB, free: 10.14 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): 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.0001479/0.7039, allocations: 116.6 kB / 399.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.7039, allocations: 11.78 kB / 399.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.345e-05/0.704, allocations: 20.22 kB / 399.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7041, allocations: 3.938 kB / 399.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7041, allocations: 3.844 kB / 399.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7041, allocations: 0 / 399.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.7051, allocations: 482.9 kB / 400.1 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7051, allocations: 0 / 400.1 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.7056, allocations: 37.72 kB / 400.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.7056, allocations: 4 kB / 400.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.7057, allocations: 11.81 kB / 400.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.7057, allocations: 0 / 400.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7057, allocations: 0 / 400.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/0.7065, allocations: 370.3 kB / 400.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.7066, allocations: 92.77 kB / 400.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.7067, allocations: 0 / 400.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.7069, allocations: 11.91 kB / 400.6 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.707, allocations: 7.859 kB / 400.7 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.707, allocations: 3.875 kB / 400.7 MB, free: 9.363 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.7072, allocations: 117.9 kB / 400.8 MB, free: 9.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7072, allocations: 0 / 400.8 MB, free: 9.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002367/0.7096, allocations: 0.5244 MB / 401.3 MB, free: 9.266 MB / 314.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.003373/0.713, allocations: 1.368 MB / 402.7 MB, free: 8.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008682/0.7139, allocations: 337 kB / 403 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7139, allocations: 0 / 403 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.7141, allocations: 75.41 kB / 403.1 MB, free: 8.316 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.7145, allocations: 25.61 kB / 403.1 MB, free: 8.312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.7168, allocations: 0.5074 MB / 403.6 MB, free: 8.062 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.7173, allocations: 0.7347 MB / 404.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.7175, allocations: 32.69 kB / 404.4 MB, free: 7.324 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.7177, allocations: 48.83 kB / 404.4 MB, free: 7.309 MB / 314.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7177, allocations: 3.938 kB / 404.4 MB, free: 7.305 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07589/0.7936, allocations: 10.24 MB / 414.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003545/0.794, allocations: 177.8 kB / 414.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.049/3.843, allocations: 4 kB / 414.8 MB, free: 15.39 MB / 330.7 MB "" Variables in the reference:time,Bessel.x[1],Bessel.x[2],Bessel.x[3] Variables in the result:Bessel.A_ripple,Bessel.a[1],Bessel.analogFilter,Bessel.b[1],Bessel.c0[1],Bessel.c1[1],Bessel.cr[1],Bessel.f_cut,Bessel.f_min,Bessel.filterType,Bessel.gain,Bessel.init,Bessel.ku[1],Bessel.na,Bessel.nc0,Bessel.ncr,Bessel.normalized,Bessel.nr,Bessel.nx,Bessel.order,Bessel.r[1],Bessel.u,Bessel.u_nominal,Bessel.uu[1],Bessel.uu[2],Bessel.uu[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Bessel.x_start[1],Bessel.x_start[2],Bessel.x_start[3],Bessel.y,Bessel.y_start,der(Bessel.x[1]),der(Bessel.x[2]),der(Bessel.x[3]),der(der(Bessel.x[2])),der(der(Bessel.x[3])),der(der(der(Bessel.x[3]))),der(der1.u),der(der2.u),der(der3.u),der1.u,der1.y,der2.u,der2.y,der3.u,der3.y,f_cut,step.height,step.offset,step.startTime,step.y,time