Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.372/2.372, allocations: 195 MB / 202.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.523e-05, allocations: 3.562 kB / 249.7 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09659, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5632/0.6598, allocations: 84.16 MB / 378.4 MB, free: 5.234 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.6601, allocations: 70 kB / 378.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04787/0.708, allocations: 9.792 MB / 388.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7081, allocations: 4 kB / 388.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.998e-05/0.7081, allocations: 11.75 kB / 388.3 MB, free: 17.29 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009496/0.7091, allocations: 0.5171 MB / 388.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.7092, allocations: 11.59 kB / 388.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.7092, allocations: 33.62 kB / 388.9 MB, free: 16.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.7093, allocations: 39.05 kB / 388.9 MB, free: 16.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.7101, allocations: 352 kB / 389.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.7102, allocations: 4.156 kB / 389.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.7102, allocations: 11.66 kB / 389.3 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002484/0.7105, allocations: 70.53 kB / 389.3 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.7109, allocations: 200.8 kB / 389.5 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.7109, allocations: 0 / 389.5 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.7109, allocations: 3.688 kB / 389.5 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.711, allocations: 3.953 kB / 389.5 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.7121, allocations: 469.7 kB / 390 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.7125, allocations: 147 kB / 390.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.7126, allocations: 56.83 kB / 390.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.7127, allocations: 3.938 kB / 390.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.7127, allocations: 37.48 kB / 390.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.635e-06/0.7127, allocations: 3.844 kB / 390.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004419/0.7132, allocations: 153 kB / 390.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.7133, allocations: 289.4 kB / 390.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.7137, allocations: 237 kB / 390.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.7138, allocations: 25.7 kB / 390.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.7139, allocations: 151 kB / 391.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.714, allocations: 51.45 kB / 391.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.714, allocations: 0 / 391.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.7142, allocations: 341.3 kB / 391.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.7145, allocations: 82.66 kB / 391.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.7148, allocations: 159 kB / 391.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.7153, allocations: 119.2 kB / 391.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7153, allocations: 0 / 391.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007658/0.7161, allocations: 271.5 kB / 392.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.7161, allocations: 7.938 kB / 392.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/0.7162, allocations: 11.56 kB / 392.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.7162, allocations: 0 / 392.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.7168, allocations: 59.02 kB / 392.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7168, allocations: 3.812 kB / 392.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.717, allocations: 15.69 kB / 392.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.7171, allocations: 7.719 kB / 392.2 MB, free: 14.6 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 0.0001348/0.7172, allocations: 112.6 kB / 392.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/0.7173, allocations: 35.27 kB / 392.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.218e-05/0.7174, allocations: 28.84 kB / 392.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7175, allocations: 0 / 392.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7175, allocations: 4 kB / 392.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.7175, allocations: 3.984 kB / 392.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.7179, allocations: 233.2 kB / 392.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7179, allocations: 0 / 392.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.7183, allocations: 23.42 kB / 392.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-06/0.7184, allocations: 3.984 kB / 392.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.7184, allocations: 11.66 kB / 392.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.7184, allocations: 0 / 392.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7184, allocations: 3.953 kB / 392.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.719, allocations: 303.4 kB / 392.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.851e-05/0.7192, allocations: 108.2 kB / 393 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.7192, allocations: 3.875 kB / 393 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.7195, allocations: 7.828 kB / 393 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.7196, allocations: 11.77 kB / 393 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.7196, allocations: 3.875 kB / 393 MB, free: 13.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002521/0.7199, allocations: 186.3 kB / 393.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.7199, allocations: 0 / 393.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005797/0.7205, allocations: 85.06 kB / 393.3 MB, free: 13.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001144/0.7216, allocations: 0.8924 MB / 394.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.7222, allocations: 267.9 kB / 394.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7222, allocations: 0 / 394.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.7224, allocations: 61.95 kB / 394.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.7231, allocations: 63.22 kB / 394.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.7249, allocations: 0.5037 MB / 395.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.7254, allocations: 0.7793 MB / 395.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.7257, allocations: 42.58 kB / 395.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.7259, allocations: 90.81 kB / 396 MB, free: 11.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7259, allocations: 0 / 396 MB, free: 11.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05573/0.7816, allocations: 5.785 MB / 401.8 MB, free: 9.121 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002609/0.782, allocations: 137.7 kB / 401.9 MB, free: 8.926 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.136/3.918, allocations: 0 / 401.9 MB, free: 8.926 MB / 314.7 MB "" Variables in the reference:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1],filter_fac5.x[2] Variables in the result:der(filter_fac3.x[1]),der(filter_fac3.x[2]),der(filter_fac4.x[1]),der(filter_fac4.x[2]),der(filter_fac5.x[1]),der(filter_fac5.x[2]),filter_fac3.A_ripple,filter_fac3.analogFilter,filter_fac3.cr[1],filter_fac3.cr[2],filter_fac3.f_cut,filter_fac3.f_min,filter_fac3.filterType,filter_fac3.gain,filter_fac3.init,filter_fac3.na,filter_fac3.nc0,filter_fac3.ncr,filter_fac3.normalized,filter_fac3.nr,filter_fac3.nx,filter_fac3.order,filter_fac3.r[1],filter_fac3.r[2],filter_fac3.u,filter_fac3.u_nominal,filter_fac3.uu[1],filter_fac3.uu[2],filter_fac3.uu[3],filter_fac3.x[1],filter_fac3.x[2],filter_fac3.x_start[1],filter_fac3.x_start[2],filter_fac3.y,filter_fac3.y_start,filter_fac4.A_ripple,filter_fac4.analogFilter,filter_fac4.cr[1],filter_fac4.cr[2],filter_fac4.f_cut,filter_fac4.f_min,filter_fac4.filterType,filter_fac4.gain,filter_fac4.init,filter_fac4.na,filter_fac4.nc0,filter_fac4.ncr,filter_fac4.normalized,filter_fac4.nr,filter_fac4.nx,filter_fac4.order,filter_fac4.r[1],filter_fac4.r[2],filter_fac4.u,filter_fac4.u_nominal,filter_fac4.uu[1],filter_fac4.uu[2],filter_fac4.uu[3],filter_fac4.x[1],filter_fac4.x[2],filter_fac4.x_start[1],filter_fac4.x_start[2],filter_fac4.y,filter_fac4.y_start,filter_fac5.A_ripple,filter_fac5.analogFilter,filter_fac5.cr[1],filter_fac5.cr[2],filter_fac5.f_cut,filter_fac5.f_min,filter_fac5.filterType,filter_fac5.gain,filter_fac5.init,filter_fac5.na,filter_fac5.nc0,filter_fac5.ncr,filter_fac5.normalized,filter_fac5.nr,filter_fac5.nx,filter_fac5.order,filter_fac5.r[1],filter_fac5.r[2],filter_fac5.u,filter_fac5.u_nominal,filter_fac5.uu[1],filter_fac5.uu[2],filter_fac5.uu[3],filter_fac5.x[1],filter_fac5.x[2],filter_fac5.x_start[1],filter_fac5.x_start[2],filter_fac5.y,filter_fac5.y_start,order,riseTime,step.height,step.offset,step.startTime,step.y,time