Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.363e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2821, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.42/20.7, allocations: 6.604 GB / 6.857 GB, free: 67.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/20.7, allocations: 81.77 kB / 6.857 GB, free: 67.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055/21.76, allocations: 187.7 MB / 7.04 GB, free: 33.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/21.76, allocations: 0 / 7.04 GB, free: 33.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/21.76, allocations: 3.938 kB / 7.04 GB, free: 33.73 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.008162/21.77, allocations: 1.449 MB / 7.042 GB, free: 32.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/21.77, allocations: 12.03 kB / 7.042 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/21.77, allocations: 27.7 kB / 7.042 GB, free: 32.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/21.77, allocations: 214.8 kB / 7.042 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/21.77, allocations: 15.94 kB / 7.042 GB, free: 31.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/21.77, allocations: 8 kB / 7.042 GB, free: 31.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005263/21.77, allocations: 212.5 kB / 7.042 GB, free: 31.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/21.77, allocations: 213.1 kB / 7.042 GB, free: 31.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/21.77, allocations: 0 / 7.042 GB, free: 31.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/21.77, allocations: 0 / 7.042 GB, free: 31.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/21.77, allocations: 15.95 kB / 7.042 GB, free: 31.48 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.001734/21.77, allocations: 0.6408 MB / 7.043 GB, free: 30.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/21.77, allocations: 274.3 kB / 7.043 GB, free: 30.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/21.77, allocations: 110.2 kB / 7.043 GB, free: 30.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/21.79, allocations: 10.08 MB / 7.053 GB, free: 18.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/21.79, allocations: 46.5 kB / 7.053 GB, free: 18.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.867e-06/21.79, allocations: 0 / 7.053 GB, free: 18.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002763/21.79, allocations: 0.494 MB / 7.054 GB, free: 17.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/21.79, allocations: 85.25 kB / 7.054 GB, free: 17.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/21.79, allocations: 113 kB / 7.054 GB, free: 17.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/21.79, allocations: 25.7 kB / 7.054 GB, free: 17.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/21.79, allocations: 112.6 kB / 7.054 GB, free: 17.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/21.79, allocations: 122.2 kB / 7.054 GB, free: 17.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/21.79, allocations: 0 / 7.054 GB, free: 17.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/21.79, allocations: 322.8 kB / 7.054 GB, free: 16.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/21.79, allocations: 99.98 kB / 7.054 GB, free: 16.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/21.79, allocations: 179.8 kB / 7.055 GB, free: 16.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/21.79, allocations: 141 kB / 7.055 GB, free: 16.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/21.79, allocations: 3.938 kB / 7.055 GB, free: 16.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001048/21.79, allocations: 357.5 kB / 7.055 GB, free: 16.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/21.79, allocations: 8 kB / 7.055 GB, free: 16.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/21.79, allocations: 0 / 7.055 GB, free: 16.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/21.79, allocations: 4 kB / 7.055 GB, free: 16.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/21.79, allocations: 83.88 kB / 7.055 GB, free: 16.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/21.79, allocations: 4 kB / 7.055 GB, free: 16.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/21.79, allocations: 35.95 kB / 7.055 GB, free: 16.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/21.79, allocations: 16 kB / 7.055 GB, free: 16 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.0001383/21.79, allocations: 112.9 kB / 7.055 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009998/21.79, allocations: 313.3 kB / 7.056 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/21.79, allocations: 19.81 kB / 7.056 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006901/21.8, allocations: 201.6 kB / 7.056 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/21.8, allocations: 7.984 kB / 7.056 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/21.8, allocations: 3.953 kB / 7.056 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/21.8, allocations: 0 / 7.056 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/21.8, allocations: 0.8528 MB / 7.057 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/21.8, allocations: 0 / 7.057 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008123/21.8, allocations: 88.03 kB / 7.057 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/21.8, allocations: 4 kB / 7.057 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/21.8, allocations: 4 kB / 7.057 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/21.8, allocations: 7.938 kB / 7.057 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/21.8, allocations: 0 / 7.057 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/21.8, allocations: 0.7166 MB / 7.057 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/21.8, allocations: 124.9 kB / 7.058 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/21.8, allocations: 4 kB / 7.058 GB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/21.8, allocations: 23.91 kB / 7.058 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/21.8, allocations: 27.91 kB / 7.058 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/21.8, allocations: 19.94 kB / 7.058 GB, free: 13.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.428e-05/21.8, allocations: 99.22 kB / 7.058 GB, free: 13.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/21.8, allocations: 4 kB / 7.058 GB, free: 13.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005651/21.81, allocations: 1.065 MB / 7.059 GB, free: 12.16 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.0126/21.82, allocations: 3.194 MB / 7.062 GB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008124/21.82, allocations: 275.7 kB / 7.062 GB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/21.82, allocations: 3.938 kB / 7.062 GB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/21.82, allocations: 151.8 kB / 7.062 GB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/21.82, allocations: 84.61 kB / 7.062 GB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/21.83, allocations: 0.9242 MB / 7.063 GB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/21.83, allocations: 0.7417 MB / 7.064 GB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007222/21.83, allocations: 85.95 kB / 7.064 GB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/21.83, allocations: 71.41 kB / 7.064 GB, free: 6.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/21.83, allocations: 0 / 7.064 GB, free: 6.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4884/22.32, allocations: 33.7 MB / 7.097 GB, free: 46.7 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/22.32, allocations: 165.9 kB / 7.097 GB, free: 46.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.067/26.38, allocations: 1.859 kB / 7.097 GB, free: 46.51 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat