Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.026/2.026, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.736e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.5962, allocations: 88.26 MB / 404.6 MB, free: 4.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.5966, allocations: 73.36 kB / 404.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.239/0.8356, allocations: 48.25 MB / 452.9 MB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.8356, allocations: 0 / 452.9 MB, free: 7.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001392/0.8358, allocations: 35.94 kB / 452.9 MB, free: 7.836 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004808/0.8406, allocations: 1.219 MB / 454.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.8407, allocations: 8.031 kB / 454.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005962/0.8413, allocations: 106.8 kB / 454.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/0.8439, allocations: 0.776 MB / 455 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.844, allocations: 12 kB / 455 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.8443, allocations: 43.91 kB / 455.1 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000995/0.8453, allocations: 337.4 kB / 455.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.8468, allocations: 0.692 MB / 456.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.8468, allocations: 0 / 456.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/0.8469, allocations: 0 / 456.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.8469, allocations: 8 kB / 456.1 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004803/0.8518, allocations: 1.294 MB / 457.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.8542, allocations: 0.7868 MB / 458.2 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.8549, allocations: 266 kB / 458.5 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.578e-05/0.855, allocations: 4.438 kB / 458.5 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.855, allocations: 45.23 kB / 458.5 MB, free: 1.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.586e-06/0.855, allocations: 0 / 458.5 MB, free: 1.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.001921/0.857, allocations: 0.6654 MB / 459.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003882/0.8574, allocations: 0.6725 MB / 459.8 MB, free: 480 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.8588, allocations: 0.6849 MB / 460.5 MB, free: 15.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/0.8591, allocations: 25.7 kB / 460.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.8595, allocations: 363.9 kB / 460.9 MB, free: 15.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.8598, allocations: 216.8 kB / 461.1 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.8599, allocations: 0 / 461.1 MB, free: 15.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.8601, allocations: 366.8 kB / 461.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.8615, allocations: 0.5382 MB / 462 MB, free: 14.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.8633, allocations: 0.7705 MB / 462.8 MB, free: 13.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.8654, allocations: 0.6545 MB / 463.4 MB, free: 12.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.8655, allocations: 4 kB / 463.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00527/0.8707, allocations: 1.74 MB / 465.2 MB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.8708, allocations: 10.34 kB / 465.2 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/0.871, allocations: 23.97 kB / 465.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.8734, allocations: 473.8 kB / 465.7 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.8746, allocations: 135.9 kB / 465.8 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.8747, allocations: 4 kB / 465.8 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/0.8756, allocations: 110.5 kB / 465.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.8758, allocations: 35.98 kB / 466 MB, free: 10.15 MB / 394.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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 12 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002946/0.8761, allocations: 132.8 kB / 466.1 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001783/0.8779, allocations: 0.6576 MB / 466.7 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.8781, allocations: 90.78 kB / 466.8 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.8785, allocations: 93.19 kB / 466.9 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.8785, allocations: 8 kB / 466.9 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8785, allocations: 0 / 466.9 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.8785, allocations: 3.984 kB / 466.9 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.8798, allocations: 0.576 MB / 467.5 MB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.8798, allocations: 0 / 467.5 MB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/0.8816, allocations: 103.9 kB / 467.6 MB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.8816, allocations: 0 / 467.6 MB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.8817, allocations: 27.97 kB / 467.6 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.8818, allocations: 8 kB / 467.6 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.8818, allocations: 3.938 kB / 467.7 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.8843, allocations: 1.098 MB / 468.8 MB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.8847, allocations: 159.8 kB / 468.9 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.8849, allocations: 23.97 kB / 468.9 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007079/0.8856, allocations: 19.97 kB / 469 MB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.8858, allocations: 32.39 kB / 469 MB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.8859, allocations: 12 kB / 469 MB, free: 7.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009998/0.8869, allocations: 495.6 kB / 469.5 MB, free: 6.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8869, allocations: 4 kB / 469.5 MB, free: 6.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003419/0.8903, allocations: 0.7534 MB / 470.2 MB, free: 5.766 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.005923/0.8963, allocations: 2.28 MB / 472.5 MB, free: 3.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00501/0.9013, allocations: 2.569 MB / 475.1 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.9014, allocations: 0 / 475.1 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000891/0.9023, allocations: 313.5 kB / 475.4 MB, free: 252 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.9038, allocations: 178.7 kB / 475.6 MB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007048/0.9109, allocations: 2.445 MB / 478 MB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.9121, allocations: 1.094 MB / 479.1 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009293/0.913, allocations: 343.3 kB / 479.4 MB, free: 12.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.9131, allocations: 0 / 479.4 MB, free: 12.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.91/4.823, allocations: 35.07 MB / 0.5024 GB, free: 107.1 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat