Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.744e-05, allocations: 4 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 44.51 MB / 299.9 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.178, allocations: 333.8 MB / 0.6189 GB, free: 51.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/1.178, allocations: 88.69 kB / 0.619 GB, free: 50.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5594/1.738, allocations: 87.13 MB / 0.7041 GB, free: 133.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.738, allocations: 2.688 kB / 0.7041 GB, free: 133.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/1.738, allocations: 3.75 kB / 0.7041 GB, free: 133.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008965/1.739, allocations: 0.5326 MB / 0.7046 GB, free: 132.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.739, allocations: 7.562 kB / 0.7046 GB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.226e-05/1.739, allocations: 68.17 kB / 0.7047 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/1.739, allocations: 36.02 kB / 0.7047 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/1.74, allocations: 287.6 kB / 0.705 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/1.74, allocations: 15.88 kB / 0.705 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/1.74, allocations: 26.47 kB / 0.7051 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/1.741, allocations: 290.2 kB / 0.7053 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/1.741, allocations: 3.391 kB / 0.7053 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/1.741, allocations: 11.94 kB / 0.7053 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/1.741, allocations: 7.812 kB / 0.7054 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/1.741, allocations: 198.3 kB / 0.7055 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/1.744, allocations: 1.29 MB / 0.7068 GB, free: 131.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/1.744, allocations: 184 kB / 0.707 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/1.744, allocations: 83.27 kB / 0.7071 GB, free: 130.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/1.745, allocations: 171.2 kB / 0.7072 GB, free: 130.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/1.745, allocations: 38.28 kB / 0.7073 GB, free: 130.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.075e-06/1.745, allocations: 3.656 kB / 0.7073 GB, free: 130.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0035/1.748, allocations: 0.889 MB / 0.7081 GB, free: 130.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.748, allocations: 63.11 kB / 0.7082 GB, free: 130.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/1.749, allocations: 231.8 kB / 0.7084 GB, free: 129.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/1.749, allocations: 33.48 kB / 0.7084 GB, free: 129.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.749, allocations: 233.5 kB / 0.7087 GB, free: 129.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/1.749, allocations: 89.78 kB / 0.7087 GB, free: 129.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/1.749, allocations: 11.88 kB / 0.7088 GB, free: 129.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/1.749, allocations: 326.2 kB / 0.7091 GB, free: 129.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/1.749, allocations: 71.09 kB / 0.7091 GB, free: 129.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/1.75, allocations: 173.2 kB / 0.7093 GB, free: 129.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/1.75, allocations: 110.5 kB / 0.7094 GB, free: 129.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.75, allocations: 0 / 0.7094 GB, free: 129.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009064/1.751, allocations: 422.2 kB / 0.7098 GB, free: 128.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.751, allocations: 15.59 kB / 0.7098 GB, free: 128.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.751, allocations: 3.906 kB / 0.7098 GB, free: 128.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/1.751, allocations: 47.36 kB / 0.7099 GB, free: 128.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/1.752, allocations: 74.16 kB / 0.7099 GB, free: 128.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/1.754, allocations: 2.57 MB / 0.7125 GB, free: 126.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/1.754, allocations: 23.05 kB / 0.7125 GB, free: 126.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/1.754, allocations: 15 kB / 0.7125 GB, free: 126.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001599/1.754, allocations: 123.7 kB / 0.7126 GB, free: 126 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/1.754, allocations: 31.23 kB / 0.7126 GB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/1.755, allocations: 362.7 kB / 0.713 GB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.755, allocations: 3.844 kB / 0.713 GB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.755, allocations: 0 / 0.713 GB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006243/1.756, allocations: 0.6125 MB / 0.7136 GB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/1.757, allocations: 0.7457 MB / 0.7143 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.757, allocations: 0 / 0.7143 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/1.758, allocations: 65.25 kB / 0.7144 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001125/1.758, allocations: 27.62 kB / 0.7144 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/1.758, allocations: 10.91 kB / 0.7144 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008934/1.759, allocations: 1.271 MB / 0.7157 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.759, allocations: 0 / 0.7157 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/1.76, allocations: 0.5098 MB / 0.7162 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.76, allocations: 95.98 kB / 0.7162 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/1.76, allocations: 11.77 kB / 0.7163 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/1.761, allocations: 14.97 kB / 0.7163 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/1.761, allocations: 27.84 kB / 0.7163 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/1.761, allocations: 16.89 kB / 0.7163 GB, free: 122.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002522/1.761, allocations: 185.9 kB / 0.7165 GB, free: 122.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.761, allocations: 0 / 0.7165 GB, free: 122.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007225/1.762, allocations: 116.9 kB / 0.7166 GB, free: 122.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001465/1.763, allocations: 1.269 MB / 0.7178 GB, free: 121.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008796/1.764, allocations: 449.4 kB / 0.7183 GB, free: 121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.764, allocations: 0 / 0.7183 GB, free: 121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/1.765, allocations: 216.3 kB / 0.7185 GB, free: 120.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.766, allocations: 154.7 kB / 0.7186 GB, free: 120.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/1.768, allocations: 0.577 MB / 0.7192 GB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/1.768, allocations: 0.7681 MB / 0.7199 GB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/1.768, allocations: 93.23 kB / 0.72 GB, free: 119.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/1.768, allocations: 3.719 kB / 0.72 GB, free: 119.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.019/4.787, allocations: 8.395 MB / 0.7282 GB, free: 113.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat