Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.004/2.004, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.537e-05/4.546e-05, allocations: 4 kB / 292.7 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 50.42 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.24/20.36, allocations: 6.205 GB / 6.54 GB, free: 66.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/20.36, allocations: 77.52 kB / 6.54 GB, free: 66.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197/21.56, allocations: 202 MB / 6.738 GB, free: 40.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.776e-06/21.56, allocations: 0 / 6.738 GB, free: 40.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/21.56, allocations: 7.938 kB / 6.738 GB, free: 40.86 MB / 442.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.007689/21.56, allocations: 1.445 MB / 6.739 GB, free: 39.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/21.56, allocations: 12.02 kB / 6.739 GB, free: 39.35 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.922e-05/21.56, allocations: 50.55 kB / 6.739 GB, free: 39.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/21.56, allocations: 19.81 kB / 6.739 GB, free: 39.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/21.56, allocations: 222.7 kB / 6.739 GB, free: 39.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/21.56, allocations: 16.33 kB / 6.739 GB, free: 39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/21.56, allocations: 15.98 kB / 6.739 GB, free: 38.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/21.56, allocations: 265.1 kB / 6.74 GB, free: 38.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/21.56, allocations: 0 / 6.74 GB, free: 38.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/21.56, allocations: 4 kB / 6.74 GB, free: 38.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/21.56, allocations: 11.94 kB / 6.74 GB, free: 38.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/21.57, allocations: 267.8 kB / 6.74 GB, free: 38.43 MB / 442.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.00179/21.57, allocations: 0.7267 MB / 6.741 GB, free: 37.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/21.57, allocations: 233.2 kB / 6.741 GB, free: 37.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/21.57, allocations: 117.7 kB / 6.741 GB, free: 37.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01874/21.59, allocations: 12.46 MB / 6.753 GB, free: 22.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/21.59, allocations: 46.44 kB / 6.753 GB, free: 22.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.407e-06/21.59, allocations: 0 / 6.753 GB, free: 22.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002986/21.59, allocations: 0.4992 MB / 6.754 GB, free: 21.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/21.59, allocations: 93.28 kB / 6.754 GB, free: 21.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/21.59, allocations: 113 kB / 6.754 GB, free: 21.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/21.59, allocations: 29.7 kB / 6.754 GB, free: 21.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/21.59, allocations: 108.6 kB / 6.754 GB, free: 21.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/21.59, allocations: 126.2 kB / 6.754 GB, free: 21.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/21.59, allocations: 8 kB / 6.754 GB, free: 21.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.921e-05/21.59, allocations: 330.8 kB / 6.754 GB, free: 20.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/21.59, allocations: 112 kB / 6.754 GB, free: 20.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/21.59, allocations: 183.8 kB / 6.755 GB, free: 20.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/21.59, allocations: 135.3 kB / 6.755 GB, free: 20.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/21.59, allocations: 0 / 6.755 GB, free: 20.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001133/21.59, allocations: 361.6 kB / 6.755 GB, free: 20.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/21.59, allocations: 8 kB / 6.755 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/21.59, allocations: 0 / 6.755 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/21.59, allocations: 4.219 kB / 6.755 GB, free: 20.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/21.59, allocations: 95.86 kB / 6.755 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/21.59, allocations: 4 kB / 6.755 GB, free: 19.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/21.59, allocations: 31.83 kB / 6.755 GB, free: 19.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/21.59, allocations: 15.98 kB / 6.755 GB, free: 19.94 MB / 442.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.0001228/21.59, allocations: 132.8 kB / 6.755 GB, free: 19.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/21.6, allocations: 19.81 kB / 6.755 GB, free: 19.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/21.6, allocations: 199.4 kB / 6.756 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/21.6, allocations: 7.984 kB / 6.756 GB, free: 19.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/21.6, allocations: 4 kB / 6.756 GB, free: 19.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/21.6, allocations: 3.984 kB / 6.756 GB, free: 19.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/21.6, allocations: 0.7168 MB / 6.756 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/21.6, allocations: 4 kB / 6.756 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/21.6, allocations: 83.88 kB / 6.756 GB, free: 18.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/21.6, allocations: 4 kB / 6.756 GB, free: 18.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/21.6, allocations: 11.98 kB / 6.756 GB, free: 18.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/21.6, allocations: 4 kB / 6.756 GB, free: 18.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/21.6, allocations: 7.938 kB / 6.756 GB, free: 18.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/21.6, allocations: 0.713 MB / 6.757 GB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/21.6, allocations: 132.8 kB / 6.757 GB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/21.6, allocations: 8 kB / 6.757 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/21.6, allocations: 19.97 kB / 6.757 GB, free: 17.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/21.6, allocations: 31.97 kB / 6.757 GB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/21.6, allocations: 19.98 kB / 6.757 GB, free: 17.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.552e-05/21.6, allocations: 99.66 kB / 6.757 GB, free: 17.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/21.6, allocations: 0 / 6.757 GB, free: 17.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005513/21.61, allocations: 1.116 MB / 6.759 GB, free: 16.45 MB / 442.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.01254/21.62, allocations: 3.174 MB / 6.762 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/21.62, allocations: 284.8 kB / 6.762 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/21.62, allocations: 4.062 kB / 6.762 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/21.62, allocations: 163.8 kB / 6.762 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009893/21.62, allocations: 92.47 kB / 6.762 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4189/22.04, allocations: 12.78 MB / 6.775 GB, free: 58.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/22.04, allocations: 0.7402 MB / 6.775 GB, free: 57.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007799/22.04, allocations: 83.98 kB / 6.775 GB, free: 57.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/22.04, allocations: 76.64 kB / 6.776 GB, free: 57.61 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/22.04, allocations: 2.438 kB / 6.776 GB, free: 57.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/22.15, allocations: 36.41 MB / 6.811 GB, free: 57.24 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/22.15, allocations: 188.5 kB / 6.811 GB, free: 57.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.88/27.03, allocations: 0 / 6.811 GB, free: 57.02 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat