Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.989e-05, allocations: 0 / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3829, allocations: 54.85 MB / 354.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.583, allocations: 423.9 MB / 0.76 GB, free: 104.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/1.583, allocations: 92.58 kB / 0.7601 GB, free: 104.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7725/2.356, allocations: 131 MB / 0.888 GB, free: 133.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/2.356, allocations: 0 / 0.888 GB, free: 133.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.984e-05/2.356, allocations: 21.02 kB / 0.888 GB, free: 133.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003576/2.359, allocations: 0.9009 MB / 0.8889 GB, free: 133 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/2.359, allocations: 17.36 kB / 0.8889 GB, free: 133 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/2.36, allocations: 89.08 kB / 0.889 GB, free: 133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/2.362, allocations: 0.5533 MB / 0.8895 GB, free: 132.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/2.363, allocations: 82.66 kB / 0.8896 GB, free: 132.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/2.363, allocations: 27.47 kB / 0.8896 GB, free: 132.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002003/2.365, allocations: 0.5555 MB / 0.8902 GB, free: 132.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/2.367, allocations: 0.7198 MB / 0.8909 GB, free: 132.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/2.367, allocations: 3.953 kB / 0.8909 GB, free: 132.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/2.367, allocations: 3.719 kB / 0.8909 GB, free: 132.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/2.367, allocations: 44.28 kB / 0.8909 GB, free: 132.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007578/2.375, allocations: 3.78 MB / 0.8946 GB, free: 130 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/2.376, allocations: 304.4 kB / 0.8949 GB, free: 130 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/2.376, allocations: 164.5 kB / 0.8951 GB, free: 130 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003079/2.38, allocations: 1.366 MB / 0.8964 GB, free: 129 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/2.38, allocations: 41.8 kB / 0.8964 GB, free: 129 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 4.318e-06/2.38, allocations: 0 / 0.8964 GB, free: 129 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.005684/2.385, allocations: 1.155 MB / 0.8976 GB, free: 128.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/2.385, allocations: 139.1 kB / 0.8977 GB, free: 128.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/2.387, allocations: 482.8 kB / 0.8982 GB, free: 128.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/2.387, allocations: 32.2 kB / 0.8982 GB, free: 128.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/2.387, allocations: 405.5 kB / 0.8986 GB, free: 127.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/2.387, allocations: 123.1 kB / 0.8987 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/2.387, allocations: 0 / 0.8987 GB, free: 127.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/2.387, allocations: 369.2 kB / 0.8991 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005953/2.388, allocations: 186.5 kB / 0.8992 GB, free: 127.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000794/2.389, allocations: 0.5121 MB / 0.8997 GB, free: 127.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/2.39, allocations: 315.4 kB / 0.9 GB, free: 127.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/2.39, allocations: 3.875 kB / 0.9 GB, free: 127.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003756/2.394, allocations: 0.8337 MB / 0.9009 GB, free: 127.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/2.394, allocations: 20.69 kB / 0.9009 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/2.394, allocations: 15.11 kB / 0.9009 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/2.396, allocations: 216.7 kB / 0.9011 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/2.397, allocations: 132.8 kB / 0.9012 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/2.399, allocations: 0.8557 MB / 0.9021 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/2.401, allocations: 47.02 kB / 0.9021 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/2.401, allocations: 50.67 kB / 0.9021 GB, free: 126.5 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003144/2.401, allocations: 143.4 kB / 0.9023 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001722/2.403, allocations: 458.4 kB / 0.9027 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/2.403, allocations: 62.31 kB / 0.9028 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/2.405, allocations: 0.5357 MB / 0.9033 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/2.405, allocations: 9.828 kB / 0.9033 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/2.405, allocations: 0 / 0.9033 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/2.405, allocations: 3.047 kB / 0.9033 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/2.408, allocations: 1.059 MB / 0.9044 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/2.408, allocations: 3.844 kB / 0.9044 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/2.411, allocations: 176 kB / 0.9045 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/2.411, allocations: 23.75 kB / 0.9045 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/2.411, allocations: 10.08 kB / 0.9046 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/2.414, allocations: 2.584 MB / 0.9071 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.414, allocations: 0 / 0.9071 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/2.416, allocations: 0.7419 MB / 0.9078 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/2.416, allocations: 187.2 kB / 0.908 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/2.417, allocations: 3.375 kB / 0.908 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009181/2.418, allocations: 23.27 kB / 0.908 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/2.418, allocations: 18.97 kB / 0.908 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/2.418, allocations: 18.69 kB / 0.908 GB, free: 122.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007612/2.419, allocations: 365.5 kB / 0.9084 GB, free: 122.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.419, allocations: 0 / 0.9084 GB, free: 122.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001642/2.42, allocations: 214.8 kB / 0.9086 GB, free: 122.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00319/2.423, allocations: 1.542 MB / 0.9101 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002046/2.426, allocations: 0.4962 MB / 0.9106 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/2.426, allocations: 5.688 kB / 0.9106 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/2.427, allocations: 351.6 kB / 0.9109 GB, free: 121.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/2.429, allocations: 236.7 kB / 0.9112 GB, free: 121.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/2.432, allocations: 1.03 MB / 0.9122 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/2.433, allocations: 0.9416 MB / 0.9131 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001175/2.434, allocations: 190.1 kB / 0.9133 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/2.434, allocations: 232.4 kB / 0.9135 GB, free: 120.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/2.434, allocations: 0 / 0.9135 GB, free: 120.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07474/2.509, allocations: 17.71 MB / 0.9308 GB, free: 119.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/2.509, allocations: 190.1 kB / 0.931 GB, free: 119.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/5.778, allocations: 0 / 0.931 GB, free: 119.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat