Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.784e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5121/0.6429, allocations: 100.9 MB / 0.4993 GB, free: 3.039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.6432, allocations: 75.95 kB / 0.4993 GB, free: 2.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2365/0.8797, allocations: 48.64 MB / 0.5468 GB, free: 2.254 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.8798, allocations: 0 / 0.5468 GB, free: 2.254 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.8799, allocations: 39.81 kB / 0.5469 GB, free: 2.215 MB / 458.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.00432/0.8843, allocations: 1.227 MB / 0.5481 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.8843, allocations: 8.031 kB / 0.5481 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.8845, allocations: 74.53 kB / 0.5481 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.885, allocations: 110.7 kB / 0.5482 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.8874, allocations: 0.7644 MB / 0.549 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.8875, allocations: 40.78 kB / 0.549 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.8878, allocations: 71.89 kB / 0.5491 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.8894, allocations: 0.7195 MB / 0.5498 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.8895, allocations: 3.938 kB / 0.5498 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.574e-05/0.8896, allocations: 20 kB / 0.5498 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.8896, allocations: 8 kB / 0.5498 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/0.8906, allocations: 353.3 kB / 0.5502 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/0.8953, allocations: 1.389 MB / 0.5515 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.8978, allocations: 0.8198 MB / 0.5523 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.8986, allocations: 274 kB / 0.5526 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.404e-05/0.8986, allocations: 12.38 kB / 0.5526 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.8987, allocations: 43 kB / 0.5526 GB, free: 11.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 3.637e-06/0.8987, allocations: 4 kB / 0.5526 GB, free: 11.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.002053/0.9008, allocations: 0.685 MB / 0.5533 GB, free: 11.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003344/0.9012, allocations: 0.6708 MB / 0.554 GB, free: 10.47 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.9028, allocations: 0.728 MB / 0.5547 GB, free: 9.715 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003129/0.9031, allocations: 45.7 kB / 0.5547 GB, free: 9.664 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.9036, allocations: 365.3 kB / 0.5551 GB, free: 9.301 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.9039, allocations: 212.9 kB / 0.5553 GB, free: 9.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.904, allocations: 16 kB / 0.5553 GB, free: 9.074 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002566/0.9042, allocations: 422.7 kB / 0.5557 GB, free: 8.652 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.9057, allocations: 0.5535 MB / 0.5562 GB, free: 8.094 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.9075, allocations: 0.7852 MB / 0.557 GB, free: 7.234 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.9091, allocations: 0.6706 MB / 0.5577 GB, free: 6.566 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9092, allocations: 0 / 0.5577 GB, free: 6.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005304/0.9145, allocations: 1.847 MB / 0.5595 GB, free: 4.676 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.9145, allocations: 4 kB / 0.5595 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/0.9147, allocations: 27.97 kB / 0.5595 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/0.9173, allocations: 497.8 kB / 0.56 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.9185, allocations: 147.8 kB / 0.5601 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.9388, allocations: 16.88 MB / 0.5766 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.9398, allocations: 126.5 kB / 0.5767 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.94, allocations: 35.98 kB / 0.5767 GB, free: 1.34 MB / 490.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): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003089/0.9403, allocations: 160.9 kB / 0.5769 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.9405, allocations: 94.77 kB / 0.577 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.9409, allocations: 101.2 kB / 0.5771 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.9409, allocations: 8 kB / 0.5771 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9409, allocations: 3.938 kB / 0.5771 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.9409, allocations: 7.938 kB / 0.5771 GB, free: 0.957 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.9422, allocations: 0.6302 MB / 0.5777 GB, free: 284 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.9422, allocations: 3.984 kB / 0.5777 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.9439, allocations: 111.8 kB / 0.5778 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.9439, allocations: 0 / 0.5778 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.9441, allocations: 31.97 kB / 0.5779 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.9441, allocations: 0 / 0.5779 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9441, allocations: 0 / 0.5779 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.9468, allocations: 1.13 MB / 0.579 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.9471, allocations: 159.8 kB / 0.5791 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.9473, allocations: 35.94 kB / 0.5791 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006911/0.948, allocations: 31.97 kB / 0.5792 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.9482, allocations: 36.31 kB / 0.5792 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.9482, allocations: 16 kB / 0.5792 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001096/0.9493, allocations: 0.5193 MB / 0.5797 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9494, allocations: 0 / 0.5797 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003494/0.9529, allocations: 0.8081 MB / 0.5805 GB, free: 13.35 MB / 0.4948 GB 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.006109/0.959, allocations: 2.312 MB / 0.5828 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006544/0.9656, allocations: 2.886 MB / 0.5856 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.9656, allocations: 4 kB / 0.5856 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009223/0.9666, allocations: 321.4 kB / 0.5859 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.968, allocations: 192.8 kB / 0.5861 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006624/0.9747, allocations: 2.445 MB / 0.5885 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.9758, allocations: 1.102 MB / 0.5896 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008517/0.9767, allocations: 165.2 kB / 0.5897 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007303/0.9774, allocations: 339.3 kB / 0.59 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of SimCode: time 1.233e-06/0.9774, allocations: 0 / 0.59 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4411/1.419, allocations: 30.49 MB / 0.6198 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/1.419, allocations: 201.2 kB / 0.62 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.539/4.958, allocations: 1.312 kB / 0.62 GB, free: 147.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat