Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.074/2.074, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.645e-05, allocations: 4 kB / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 48.7 MB / 316.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.444/1.562, allocations: 417.7 MB / 0.7168 GB, free: 87.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.562, allocations: 91.81 kB / 0.7169 GB, free: 87.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7242/2.286, allocations: 131 MB / 0.8448 GB, free: 104.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/2.286, allocations: 0 / 0.8448 GB, free: 104.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.23e-05/2.286, allocations: 15.75 kB / 0.8449 GB, free: 104.1 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002192/2.289, allocations: 0.8967 MB / 0.8457 GB, free: 103.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/2.289, allocations: 13.31 kB / 0.8457 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004662/2.289, allocations: 93.05 kB / 0.8458 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/2.29, allocations: 0.5507 MB / 0.8464 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/2.291, allocations: 89.16 kB / 0.8465 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/2.291, allocations: 33.12 kB / 0.8465 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/2.292, allocations: 0.547 MB / 0.847 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/2.293, allocations: 0.7184 MB / 0.8477 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/2.293, allocations: 0 / 0.8477 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.018e-05/2.293, allocations: 2.969 kB / 0.8477 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.827e-05/2.294, allocations: 42.41 kB / 0.8478 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005546/2.299, allocations: 3.781 MB / 0.8515 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/2.3, allocations: 303.4 kB / 0.8517 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/2.3, allocations: 164 kB / 0.8519 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/2.303, allocations: 1.38 MB / 0.8533 GB, free: 99.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/2.303, allocations: 35.86 kB / 0.8533 GB, free: 99.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 4.508e-06/2.303, allocations: 0 / 0.8533 GB, free: 99.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.004327/2.307, allocations: 1.167 MB / 0.8544 GB, free: 98.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/2.307, allocations: 131.8 kB / 0.8546 GB, free: 98.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/2.308, allocations: 497.2 kB / 0.855 GB, free: 98.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.623e-05/2.308, allocations: 25.7 kB / 0.855 GB, free: 98.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/2.308, allocations: 404.5 kB / 0.8554 GB, free: 97.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/2.308, allocations: 118.8 kB / 0.8555 GB, free: 97.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/2.308, allocations: 0 / 0.8555 GB, free: 97.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/2.309, allocations: 369.9 kB / 0.8559 GB, free: 97.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/2.309, allocations: 186.1 kB / 0.8561 GB, free: 97.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/2.31, allocations: 0.5095 MB / 0.8566 GB, free: 96.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/2.311, allocations: 310 kB / 0.8569 GB, free: 96.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/2.311, allocations: 7.094 kB / 0.8569 GB, free: 96.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002731/2.313, allocations: 0.8417 MB / 0.8577 GB, free: 96.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/2.313, allocations: 7.344 kB / 0.8577 GB, free: 96.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/2.314, allocations: 11.69 kB / 0.8577 GB, free: 96.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/2.315, allocations: 226.5 kB / 0.8579 GB, free: 96.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/2.316, allocations: 134.9 kB / 0.8581 GB, free: 96.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/2.317, allocations: 0.8689 MB / 0.8589 GB, free: 95.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/2.318, allocations: 26.62 kB / 0.8589 GB, free: 95.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.969e-05/2.318, allocations: 52.89 kB / 0.859 GB, free: 95.86 MB / 426.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.0002565/2.319, allocations: 134.4 kB / 0.8591 GB, free: 95.73 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001251/2.32, allocations: 471.1 kB / 0.8596 GB, free: 95.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/2.32, allocations: 61.44 kB / 0.8596 GB, free: 95.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/2.322, allocations: 0.5358 MB / 0.8601 GB, free: 95.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/2.322, allocations: 3.875 kB / 0.8602 GB, free: 95.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/2.322, allocations: 3.844 kB / 0.8602 GB, free: 95.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/2.322, allocations: 6.531 kB / 0.8602 GB, free: 95.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/2.325, allocations: 1.069 MB / 0.8612 GB, free: 94.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/2.325, allocations: 0 / 0.8612 GB, free: 94.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/2.327, allocations: 180.7 kB / 0.8614 GB, free: 94.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/2.327, allocations: 22.3 kB / 0.8614 GB, free: 94.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/2.327, allocations: 10.53 kB / 0.8614 GB, free: 94.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/2.329, allocations: 2.584 MB / 0.8639 GB, free: 91.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.329, allocations: 0 / 0.8639 GB, free: 91.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/2.331, allocations: 0.7404 MB / 0.8647 GB, free: 91.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/2.332, allocations: 185.5 kB / 0.8648 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/2.332, allocations: 7.578 kB / 0.8648 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/2.332, allocations: 19.44 kB / 0.8649 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/2.333, allocations: 23.23 kB / 0.8649 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/2.333, allocations: 19.52 kB / 0.8649 GB, free: 91.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006103/2.333, allocations: 358.2 kB / 0.8652 GB, free: 91.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/2.333, allocations: 0 / 0.8652 GB, free: 91.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001382/2.335, allocations: 222.5 kB / 0.8655 GB, free: 91.09 MB / 426.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.00265/2.337, allocations: 1.529 MB / 0.8669 GB, free: 90.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/2.339, allocations: 0.4884 MB / 0.8674 GB, free: 89.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/2.339, allocations: 3.938 kB / 0.8674 GB, free: 89.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/2.341, allocations: 355.1 kB / 0.8678 GB, free: 89.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/2.343, allocations: 228.2 kB / 0.868 GB, free: 89.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/2.346, allocations: 1.035 MB / 0.869 GB, free: 89.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/2.347, allocations: 0.9416 MB / 0.8699 GB, free: 88.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001147/2.348, allocations: 182.6 kB / 0.8701 GB, free: 88.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/2.348, allocations: 233 kB / 0.8703 GB, free: 88.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/2.349, allocations: 0 / 0.8703 GB, free: 88.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06728/2.416, allocations: 17.7 MB / 0.8876 GB, free: 83.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/2.416, allocations: 199.9 kB / 0.8878 GB, free: 83.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/5.751, allocations: 0 / 0.8878 GB, free: 83.55 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat