Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.167e-05, allocations: 0 / 219.6 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2621, allocations: 38.77 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.88/19.14, allocations: 6.604 GB / 6.857 GB, free: 38.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/19.14, allocations: 76.75 kB / 6.857 GB, free: 38.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042/20.18, allocations: 187.7 MB / 7.04 GB, free: 5.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/20.18, allocations: 0 / 7.04 GB, free: 5.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/20.18, allocations: 4 kB / 7.04 GB, free: 5.883 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.008284/20.19, allocations: 1.448 MB / 7.041 GB, free: 4.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/20.19, allocations: 12.03 kB / 7.042 GB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/20.19, allocations: 19.77 kB / 7.042 GB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/20.19, allocations: 218.8 kB / 7.042 GB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/20.19, allocations: 7.984 kB / 7.042 GB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/20.19, allocations: 12 kB / 7.042 GB, free: 4.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005158/20.19, allocations: 212.5 kB / 7.042 GB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/20.19, allocations: 217.2 kB / 7.042 GB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/20.19, allocations: 0 / 7.042 GB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/20.19, allocations: 0 / 7.042 GB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/20.19, allocations: 7.953 kB / 7.042 GB, free: 3.645 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/20.2, allocations: 0.6559 MB / 7.043 GB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/20.2, allocations: 270.4 kB / 7.043 GB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/20.2, allocations: 109.7 kB / 7.043 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2775/20.47, allocations: 10.07 MB / 7.053 GB, free: 36.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/20.47, allocations: 41.16 kB / 7.053 GB, free: 36.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.456e-06/20.47, allocations: 0 / 7.053 GB, free: 36.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002922/20.48, allocations: 0.4898 MB / 7.054 GB, free: 36.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/20.48, allocations: 85.97 kB / 7.054 GB, free: 36.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/20.48, allocations: 117 kB / 7.054 GB, free: 36.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/20.48, allocations: 29.33 kB / 7.054 GB, free: 36.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/20.48, allocations: 179.2 kB / 7.054 GB, free: 36.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/20.48, allocations: 118.5 kB / 7.054 GB, free: 36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/20.48, allocations: 0 / 7.054 GB, free: 36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.737e-05/20.48, allocations: 325.6 kB / 7.054 GB, free: 35.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/20.48, allocations: 107.8 kB / 7.054 GB, free: 35.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/20.48, allocations: 163 kB / 7.055 GB, free: 35.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/20.48, allocations: 146.8 kB / 7.055 GB, free: 35.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/20.48, allocations: 1.438 kB / 7.055 GB, free: 35.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001112/20.48, allocations: 360.9 kB / 7.055 GB, free: 35.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/20.48, allocations: 5.062 kB / 7.055 GB, free: 35.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/20.48, allocations: 2.938 kB / 7.055 GB, free: 35.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/20.48, allocations: 7.688 kB / 7.055 GB, free: 35.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/20.48, allocations: 86.25 kB / 7.055 GB, free: 35.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/20.48, allocations: 6.562 kB / 7.055 GB, free: 35.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/20.48, allocations: 25.39 kB / 7.055 GB, free: 35.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/20.48, allocations: 15.75 kB / 7.055 GB, free: 35.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0001482/20.48, allocations: 116.1 kB / 7.055 GB, free: 35.45 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001085/20.48, allocations: 314.2 kB / 7.056 GB, free: 35.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/20.48, allocations: 17.19 kB / 7.056 GB, free: 35.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/20.48, allocations: 197.1 kB / 7.056 GB, free: 35.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/20.48, allocations: 9.266 kB / 7.056 GB, free: 35.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/20.48, allocations: 1.094 kB / 7.056 GB, free: 35.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/20.48, allocations: 0 / 7.056 GB, free: 35.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/20.49, allocations: 0.8568 MB / 7.057 GB, free: 34.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/20.49, allocations: 3.5 kB / 7.057 GB, free: 34.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/20.49, allocations: 87.78 kB / 7.057 GB, free: 34.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/20.49, allocations: 7.609 kB / 7.057 GB, free: 34.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/20.49, allocations: 7.516 kB / 7.057 GB, free: 34.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/20.49, allocations: 3.812 kB / 7.057 GB, free: 34.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/20.49, allocations: 3.094 kB / 7.057 GB, free: 34.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/20.49, allocations: 0.7112 MB / 7.057 GB, free: 34.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/20.49, allocations: 122.6 kB / 7.058 GB, free: 34.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/20.49, allocations: 7.547 kB / 7.058 GB, free: 34.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/20.49, allocations: 19.66 kB / 7.058 GB, free: 34.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/20.49, allocations: 26.89 kB / 7.058 GB, free: 34.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/20.49, allocations: 14.94 kB / 7.058 GB, free: 34.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.835e-05/20.49, allocations: 97.8 kB / 7.058 GB, free: 34.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/20.49, allocations: 2.906 kB / 7.058 GB, free: 34.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005978/20.5, allocations: 1.065 MB / 7.059 GB, free: 34.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.01283/20.51, allocations: 3.205 MB / 7.062 GB, free: 33.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008145/20.51, allocations: 279 kB / 7.062 GB, free: 33.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/20.51, allocations: 1.969 kB / 7.062 GB, free: 33.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/20.51, allocations: 155.5 kB / 7.062 GB, free: 33.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/20.51, allocations: 87.89 kB / 7.062 GB, free: 33.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/20.52, allocations: 0.9466 MB / 7.063 GB, free: 32.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/20.52, allocations: 0.7439 MB / 7.064 GB, free: 32.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/20.52, allocations: 76.95 kB / 7.064 GB, free: 32.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/20.52, allocations: 2.812 kB / 7.064 GB, free: 32.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.407/23.92, allocations: 27.72 MB / 7.091 GB, free: 30.03 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat