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.266/2.266, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.626e-05/4.641e-05, allocations: 4 kB / 305 MB, free: 5.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4386, allocations: 54.84 MB / 359.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.71, allocations: 424.5 MB / 0.766 GB, free: 124.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/1.71, allocations: 92.25 kB / 0.7661 GB, free: 124.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4875/2.198, allocations: 132.1 MB / 0.8951 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/2.198, allocations: 0 / 0.8951 GB, free: 2.219 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.053e-05/2.198, allocations: 19.94 kB / 0.8951 GB, free: 2.199 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.002472/2.2, allocations: 0.903 MB / 0.896 GB, free: 1.254 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/2.2, allocations: 8.031 kB / 0.896 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/2.2, allocations: 102.4 kB / 0.8961 GB, free: 1.137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004924/2.201, allocations: 95.05 kB / 0.8962 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/2.202, allocations: 0.5404 MB / 0.8967 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/2.203, allocations: 108.4 kB / 0.8968 GB, free: 352 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/2.203, allocations: 48 kB / 0.8969 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3338/2.537, allocations: 0.7813 MB / 0.8976 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/2.537, allocations: 7.156 kB / 0.8976 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/2.537, allocations: 25.91 kB / 0.8977 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/2.537, allocations: 36.69 kB / 0.8977 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/2.539, allocations: 0.625 MB / 0.8983 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007401/2.546, allocations: 3.64 MB / 0.9019 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/2.548, allocations: 387.4 kB / 0.9022 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/2.548, allocations: 195.7 kB / 0.9024 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003317/2.552, allocations: 1.645 MB / 0.904 GB, free: 109.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/2.552, allocations: 47.95 kB / 0.9041 GB, free: 109.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 3.045e-06/2.552, allocations: 0 / 0.9041 GB, free: 109.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.004741/2.556, allocations: 1.276 MB / 0.9053 GB, free: 108.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/2.557, allocations: 137.1 kB / 0.9055 GB, free: 108.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/2.558, allocations: 497.1 kB / 0.9059 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/2.558, allocations: 35.23 kB / 0.906 GB, free: 108.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/2.558, allocations: 378.5 kB / 0.9063 GB, free: 108.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/2.558, allocations: 155.2 kB / 0.9065 GB, free: 108.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/2.558, allocations: 13.69 kB / 0.9065 GB, free: 108.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/2.559, allocations: 374.2 kB / 0.9068 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005859/2.559, allocations: 202.7 kB / 0.907 GB, free: 107.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007698/2.56, allocations: 0.5268 MB / 0.9076 GB, free: 107.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/2.561, allocations: 306.9 kB / 0.9078 GB, free: 107.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/2.561, allocations: 3.5 kB / 0.9078 GB, free: 107.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002764/2.564, allocations: 0.8739 MB / 0.9087 GB, free: 107.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/2.564, allocations: 10.61 kB / 0.9087 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/2.564, allocations: 15.33 kB / 0.9087 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/2.566, allocations: 255.3 kB / 0.909 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/2.567, allocations: 136.5 kB / 0.9091 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/2.569, allocations: 0.8382 MB / 0.9099 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/2.57, allocations: 52.58 kB / 0.91 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/2.57, allocations: 43.72 kB / 0.91 GB, free: 106.8 MB / 490.7 MB 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003082/2.57, allocations: 155.9 kB / 0.9102 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/2.57, allocations: 66.8 kB / 0.9102 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/2.573, allocations: 0.7158 MB / 0.9109 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/2.573, allocations: 8.078 kB / 0.9109 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/2.573, allocations: 0.8438 kB / 0.9109 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/2.573, allocations: 2.25 kB / 0.9109 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/2.576, allocations: 1.335 MB / 0.9122 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/2.576, allocations: 4.219 kB / 0.9122 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/2.578, allocations: 195.8 kB / 0.9124 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/2.579, allocations: 28.2 kB / 0.9125 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/2.579, allocations: 9.891 kB / 0.9125 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/2.581, allocations: 2.68 MB / 0.9151 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/2.581, allocations: 2.125 kB / 0.9151 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/2.583, allocations: 0.9903 MB / 0.916 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005895/2.584, allocations: 201.8 kB / 0.9162 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/2.584, allocations: 9.672 kB / 0.9162 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/2.585, allocations: 31.94 kB / 0.9163 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/2.585, allocations: 39.39 kB / 0.9163 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/2.585, allocations: 21.73 kB / 0.9163 GB, free: 102.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008014/2.586, allocations: 396.6 kB / 0.9167 GB, free: 102.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.586, allocations: 1.031 kB / 0.9167 GB, free: 102.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001514/2.587, allocations: 241.4 kB / 0.9169 GB, free: 102.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * 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.003255/2.591, allocations: 2.198 MB / 0.9191 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/2.593, allocations: 0.5761 MB / 0.9197 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/2.593, allocations: 1.125 kB / 0.9197 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/2.595, allocations: 416.9 kB / 0.9201 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/2.598, allocations: 289.9 kB / 0.9203 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/2.602, allocations: 1.151 MB / 0.9215 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/2.603, allocations: 0.952 MB / 0.9224 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001424/2.604, allocations: 202.1 kB / 0.9226 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/2.605, allocations: 236.6 kB / 0.9228 GB, free: 100.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/2.605, allocations: 1.219 kB / 0.9228 GB, free: 100.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06985/2.674, allocations: 21.17 MB / 0.9435 GB, free: 99.29 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/2.675, allocations: 247.8 kB / 0.9437 GB, free: 98.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.279/5.953, allocations: 0 / 0.9437 GB, free: 98.95 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