Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.205/2.205, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.823e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3343, allocations: 44.49 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.24/19.57, allocations: 6.611 GB / 6.898 GB, free: 61.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/19.57, allocations: 75.89 kB / 6.898 GB, free: 61.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087/20.66, allocations: 188.5 MB / 7.082 GB, free: 47.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/20.66, allocations: 0 / 7.082 GB, free: 47.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/20.66, allocations: 8 kB / 7.082 GB, free: 47.05 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00759/20.67, allocations: 1.449 MB / 7.083 GB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/20.67, allocations: 12.03 kB / 7.084 GB, free: 45.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/20.67, allocations: 15.81 kB / 7.084 GB, free: 45.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/20.67, allocations: 214.8 kB / 7.084 GB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/20.67, allocations: 4 kB / 7.084 GB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/20.67, allocations: 15.91 kB / 7.084 GB, free: 45.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005103/20.67, allocations: 216.4 kB / 7.084 GB, free: 45.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/20.67, allocations: 221 kB / 7.084 GB, free: 44.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/20.67, allocations: 3.938 kB / 7.084 GB, free: 44.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/20.67, allocations: 4 kB / 7.084 GB, free: 44.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/20.67, allocations: 4 kB / 7.084 GB, free: 44.81 MB / 410.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.001706/20.67, allocations: 0.6339 MB / 7.085 GB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/20.67, allocations: 278.4 kB / 7.085 GB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/20.67, allocations: 110 kB / 7.085 GB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0151/20.69, allocations: 10.08 MB / 7.095 GB, free: 31.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/20.69, allocations: 42.56 kB / 7.095 GB, free: 31.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.566e-06/20.69, allocations: 0 / 7.095 GB, free: 31.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002705/20.69, allocations: 0.489 MB / 7.096 GB, free: 31.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/20.69, allocations: 81.3 kB / 7.096 GB, free: 31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/20.69, allocations: 120.9 kB / 7.096 GB, free: 30.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/20.69, allocations: 29.7 kB / 7.096 GB, free: 30.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/20.69, allocations: 108.6 kB / 7.096 GB, free: 30.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/20.69, allocations: 126.1 kB / 7.096 GB, free: 30.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/20.69, allocations: 0 / 7.096 GB, free: 30.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/20.69, allocations: 326.8 kB / 7.096 GB, free: 30.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/20.69, allocations: 99.98 kB / 7.096 GB, free: 30.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/20.69, allocations: 175.8 kB / 7.097 GB, free: 29.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/20.69, allocations: 136.8 kB / 7.097 GB, free: 29.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/20.69, allocations: 0 / 7.097 GB, free: 29.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001005/20.69, allocations: 361.5 kB / 7.097 GB, free: 29.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/20.69, allocations: 11.94 kB / 7.097 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/20.69, allocations: 7.953 kB / 7.097 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/20.69, allocations: 7.938 kB / 7.097 GB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/20.7, allocations: 83.88 kB / 7.097 GB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/20.7, allocations: 4 kB / 7.097 GB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/20.7, allocations: 36.03 kB / 7.097 GB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/20.7, allocations: 12 kB / 7.097 GB, free: 29.33 MB / 410.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.0001267/20.7, allocations: 116.6 kB / 7.097 GB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009513/20.7, allocations: 313.6 kB / 7.098 GB, free: 28.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/20.7, allocations: 23.77 kB / 7.098 GB, free: 28.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006235/20.7, allocations: 190.2 kB / 7.098 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/20.7, allocations: 7.984 kB / 7.098 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/20.7, allocations: 0 / 7.098 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/20.7, allocations: 4 kB / 7.098 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/20.7, allocations: 0.8646 MB / 7.099 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/20.7, allocations: 4.141 kB / 7.099 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/20.7, allocations: 87.88 kB / 7.099 GB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/20.7, allocations: 4 kB / 7.099 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/20.7, allocations: 7.938 kB / 7.099 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/20.7, allocations: 4 kB / 7.099 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/20.7, allocations: 3.953 kB / 7.099 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/20.7, allocations: 0.7136 MB / 7.099 GB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/20.7, allocations: 124.8 kB / 7.1 GB, free: 26.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/20.7, allocations: 0 / 7.1 GB, free: 26.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/20.7, allocations: 19.97 kB / 7.1 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/20.7, allocations: 27.92 kB / 7.1 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/20.7, allocations: 19.98 kB / 7.1 GB, free: 26.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.153e-05/20.7, allocations: 91.34 kB / 7.1 GB, free: 26.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.493e-06/20.7, allocations: 0 / 7.1 GB, free: 26.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005464/20.71, allocations: 1.073 MB / 7.101 GB, free: 25.49 MB / 410.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.01215/20.72, allocations: 3.2 MB / 7.104 GB, free: 22.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007609/20.72, allocations: 275.8 kB / 7.104 GB, free: 22.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/20.72, allocations: 0 / 7.104 GB, free: 22.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/20.72, allocations: 152.2 kB / 7.104 GB, free: 21.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/20.72, allocations: 92.86 kB / 7.104 GB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/20.73, allocations: 0.889 MB / 7.105 GB, free: 20.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/20.73, allocations: 0.7378 MB / 7.106 GB, free: 20.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007156/20.73, allocations: 81.97 kB / 7.106 GB, free: 20.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/20.73, allocations: 71.41 kB / 7.106 GB, free: 19.96 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/20.73, allocations: 0 / 7.106 GB, free: 19.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.398/21.13, allocations: 33.75 MB / 7.139 GB, free: 48.52 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/21.13, allocations: 167.8 kB / 7.139 GB, free: 48.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.185/25.31, allocations: 2 kB / 7.139 GB, free: 48.33 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat