Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_FilterTests_Basic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.688/2.688, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.53e-05, allocations: 3.438 kB / 299.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4366, allocations: 54.85 MB / 354.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.6307, allocations: 94.25 MB / 448.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.631, allocations: 67.97 kB / 448.8 MB, free: 3.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2781/0.9092, allocations: 48.21 MB / 497 MB, free: 3.633 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.9092, allocations: 0 / 497 MB, free: 3.633 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001506/0.9094, allocations: 35.88 kB / 497 MB, free: 3.598 MB / 426.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.004675/0.9141, allocations: 1.223 MB / 498.2 MB, free: 2.324 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.9142, allocations: 8.031 kB / 498.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.9147, allocations: 106.7 kB / 498.3 MB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.9174, allocations: 0.7683 MB / 499.1 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.9174, allocations: 15.95 kB / 499.1 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.9177, allocations: 43.91 kB / 499.2 MB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/0.9188, allocations: 337.4 kB / 499.5 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.9205, allocations: 0.6764 MB / 0.4884 GB, free: 216 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.9205, allocations: 0 / 0.4884 GB, free: 216 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.829e-05/0.9206, allocations: 8 kB / 0.4885 GB, free: 208 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.9206, allocations: 15.94 kB / 0.4885 GB, free: 192 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3436/1.264, allocations: 1.289 MB / 0.4897 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/1.267, allocations: 0.7871 MB / 0.4905 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007121/1.268, allocations: 267.1 kB / 0.4908 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-05/1.268, allocations: 5.812 kB / 0.4908 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/1.268, allocations: 42.75 kB / 0.4908 GB, free: 107.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 5.21e-06/1.268, allocations: 4.906 kB / 0.4908 GB, free: 107.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.002193/1.27, allocations: 0.6693 MB / 0.4915 GB, free: 107.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002022/1.27, allocations: 0.6612 MB / 0.4921 GB, free: 106.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/1.272, allocations: 0.6808 MB / 0.4928 GB, free: 106.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003023/1.272, allocations: 29.67 kB / 0.4928 GB, free: 106.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/1.273, allocations: 352.9 kB / 0.4931 GB, free: 106.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/1.273, allocations: 213 kB / 0.4933 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-05/1.273, allocations: 0 / 0.4933 GB, free: 106.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/1.273, allocations: 422.6 kB / 0.4937 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/1.275, allocations: 0.5383 MB / 0.4943 GB, free: 106.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/1.277, allocations: 0.7596 MB / 0.495 GB, free: 106 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/1.279, allocations: 0.6542 MB / 0.4956 GB, free: 106 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.279, allocations: 1.062 kB / 0.4956 GB, free: 106 MB / 426.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005851/1.285, allocations: 1.785 MB / 0.4974 GB, free: 105.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/1.285, allocations: 8.234 kB / 0.4974 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/1.285, allocations: 23.7 kB / 0.4974 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/1.288, allocations: 468.5 kB / 0.4979 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/1.289, allocations: 152 kB / 0.498 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.289, allocations: 3.375 kB / 0.498 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/1.29, allocations: 111.2 kB / 0.4981 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/1.29, allocations: 33.28 kB / 0.4982 GB, free: 105.6 MB / 426.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.0002963/1.291, allocations: 129.5 kB / 0.4983 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001903/1.293, allocations: 0.6605 MB / 0.4989 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.293, allocations: 89.06 kB / 0.499 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/1.293, allocations: 92.25 kB / 0.4991 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.293, allocations: 5.5 kB / 0.4991 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.293, allocations: 0 / 0.4991 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/1.293, allocations: 7.531 kB / 0.4991 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/1.295, allocations: 0.5651 MB / 0.4997 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.295, allocations: 0 / 0.4997 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.297, allocations: 111.4 kB / 0.4998 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/1.297, allocations: 5.391 kB / 0.4998 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.297, allocations: 24.3 kB / 0.4998 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/1.297, allocations: 2.656 kB / 0.4998 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.297, allocations: 0 / 0.4998 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/1.3, allocations: 1.092 MB / 0.5009 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/1.301, allocations: 158.1 kB / 0.501 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/1.301, allocations: 27.06 kB / 0.501 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/1.302, allocations: 21.36 kB / 0.5011 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/1.302, allocations: 36.58 kB / 0.5011 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/1.302, allocations: 13.97 kB / 0.5011 GB, free: 104.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009682/1.303, allocations: 485.8 kB / 0.5016 GB, free: 104.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.303, allocations: 0 / 0.5016 GB, free: 104.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003455/1.307, allocations: 0.7698 MB / 0.5023 GB, free: 104.3 MB / 426.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.00573/1.312, allocations: 2.269 MB / 0.5045 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004569/1.317, allocations: 2.569 MB / 0.507 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.317, allocations: 0 / 0.507 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008395/1.318, allocations: 309.2 kB / 0.5073 GB, free: 101.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.32, allocations: 185 kB / 0.5075 GB, free: 101.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/1.326, allocations: 2.372 MB / 0.5098 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/1.327, allocations: 1.096 MB / 0.5109 GB, free: 99.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009447/1.328, allocations: 161.9 kB / 0.5111 GB, free: 99.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/1.329, allocations: 334.9 kB / 0.5114 GB, free: 99.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/1.329, allocations: 0 / 0.5114 GB, free: 99.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09849/1.428, allocations: 26.33 MB / 0.5371 GB, free: 90.58 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002699/1.428, allocations: 168.9 kB / 0.5372 GB, free: 90.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.892/5.32, allocations: 0 / 0.5372 GB, free: 90.38 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat