Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.987e-05, allocations: 0 / 219.5 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2587, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.33/10.59, allocations: 3.693 GB / 3.945 GB, free: 99.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/10.59, allocations: 72.25 kB / 3.945 GB, free: 99.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1665/10.76, allocations: 47.6 MB / 3.992 GB, free: 76.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/10.76, allocations: 0 / 3.992 GB, free: 76.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/10.76, allocations: 4 kB / 3.992 GB, free: 76.35 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.002163/10.76, allocations: 0.6281 MB / 3.992 GB, free: 75.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/10.76, allocations: 8.031 kB / 3.992 GB, free: 75.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/10.76, allocations: 27.8 kB / 3.992 GB, free: 75.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/10.76, allocations: 210.8 kB / 3.992 GB, free: 75.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/10.76, allocations: 8 kB / 3.992 GB, free: 75.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/10.76, allocations: 11.91 kB / 3.992 GB, free: 75.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004943/10.76, allocations: 208.5 kB / 3.993 GB, free: 75.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/10.76, allocations: 217.1 kB / 3.993 GB, free: 74.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/10.76, allocations: 3.984 kB / 3.993 GB, free: 74.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/10.76, allocations: 4 kB / 3.993 GB, free: 74.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/10.76, allocations: 4 kB / 3.993 GB, free: 74.93 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.001695/10.76, allocations: 0.6365 MB / 3.993 GB, free: 74.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/10.77, allocations: 193.3 kB / 3.994 GB, free: 74.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/10.77, allocations: 106 kB / 3.994 GB, free: 73.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/10.77, allocations: 356.4 kB / 3.994 GB, free: 73.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/10.77, allocations: 46.5 kB / 3.994 GB, free: 73.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/10.77, allocations: 0 / 3.994 GB, free: 73.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002299/10.77, allocations: 497.1 kB / 3.995 GB, free: 72.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/10.77, allocations: 85.28 kB / 3.995 GB, free: 72.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/10.77, allocations: 105.1 kB / 3.995 GB, free: 72.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/10.77, allocations: 33.7 kB / 3.995 GB, free: 72.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/10.77, allocations: 171 kB / 3.995 GB, free: 72.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/10.77, allocations: 126.1 kB / 3.995 GB, free: 72.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/10.77, allocations: 0 / 3.995 GB, free: 72.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/10.77, allocations: 330.8 kB / 3.995 GB, free: 72.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/10.77, allocations: 95.98 kB / 3.995 GB, free: 71.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/10.77, allocations: 175.8 kB / 3.996 GB, free: 71.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/10.77, allocations: 145.7 kB / 3.996 GB, free: 71.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/10.77, allocations: 3.938 kB / 3.996 GB, free: 71.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008591/10.77, allocations: 348.2 kB / 3.996 GB, free: 71.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/10.77, allocations: 7.75 kB / 3.996 GB, free: 71.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/10.77, allocations: 4.219 kB / 3.996 GB, free: 71.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/10.77, allocations: 11.95 kB / 3.996 GB, free: 71.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/10.77, allocations: 87.88 kB / 3.996 GB, free: 71.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/10.77, allocations: 7.984 kB / 3.996 GB, free: 71.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/10.77, allocations: 15.98 kB / 3.996 GB, free: 71.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/10.77, allocations: 19.98 kB / 3.996 GB, free: 71.15 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.0001101/10.77, allocations: 112.9 kB / 3.996 GB, free: 71.03 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000782/10.77, allocations: 301.3 kB / 3.997 GB, free: 70.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/10.77, allocations: 19.77 kB / 3.997 GB, free: 70.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006117/10.77, allocations: 182.2 kB / 3.997 GB, free: 70.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/10.77, allocations: 4 kB / 3.997 GB, free: 70.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/10.77, allocations: 0 / 3.997 GB, free: 70.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/10.77, allocations: 3.984 kB / 3.997 GB, free: 70.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/10.78, allocations: 0.6516 MB / 3.997 GB, free: 69.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/10.78, allocations: 4 kB / 3.997 GB, free: 69.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/10.78, allocations: 83.88 kB / 3.998 GB, free: 69.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/10.78, allocations: 4.156 kB / 3.998 GB, free: 69.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/10.78, allocations: 8 kB / 3.998 GB, free: 69.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/10.78, allocations: 7.984 kB / 3.998 GB, free: 69.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/10.78, allocations: 0 / 3.998 GB, free: 69.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/10.78, allocations: 0.7016 MB / 3.998 GB, free: 68.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/10.78, allocations: 120.8 kB / 3.998 GB, free: 68.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/10.78, allocations: 4 kB / 3.998 GB, free: 68.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/10.78, allocations: 20.03 kB / 3.998 GB, free: 68.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/10.78, allocations: 31.86 kB / 3.998 GB, free: 68.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/10.78, allocations: 12 kB / 3.998 GB, free: 68.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.178e-05/10.78, allocations: 99.2 kB / 3.999 GB, free: 68.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.78, allocations: 3.938 kB / 3.999 GB, free: 68.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008815/10.78, allocations: 163.8 kB / 3.999 GB, free: 68.46 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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002498/10.78, allocations: 2.283 MB / 4.001 GB, free: 66.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006301/10.78, allocations: 267.8 kB / 4.001 GB, free: 65.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/10.78, allocations: 0 / 4.001 GB, free: 65.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/10.78, allocations: 147.8 kB / 4.001 GB, free: 65.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009309/10.78, allocations: 80.66 kB / 4.001 GB, free: 65.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/10.79, allocations: 0.5876 MB / 4.002 GB, free: 64.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/10.79, allocations: 0.7491 MB / 4.003 GB, free: 64.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/10.79, allocations: 67.39 kB / 4.003 GB, free: 64.14 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/10.79, allocations: 4 kB / 4.003 GB, free: 64.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.778/13.56, allocations: 7.82 MB / 4.01 GB, free: 56.3 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat