Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.298e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3356, allocations: 44.5 MB / 294.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.95/11.28, allocations: 3.698 GB / 3.986 GB, free: 109.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/11.28, allocations: 68.47 kB / 3.986 GB, free: 109.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1742/11.46, allocations: 47.91 MB / 4.033 GB, free: 68.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/11.46, allocations: 3.938 kB / 4.033 GB, free: 68.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/11.46, allocations: 0 / 4.033 GB, free: 68.35 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.00238/11.46, allocations: 0.6268 MB / 4.033 GB, free: 67.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/11.46, allocations: 8.031 kB / 4.033 GB, free: 67.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/11.46, allocations: 23.89 kB / 4.033 GB, free: 67.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/11.46, allocations: 214.8 kB / 4.033 GB, free: 67.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/11.46, allocations: 4 kB / 4.033 GB, free: 67.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/11.46, allocations: 12 kB / 4.033 GB, free: 67.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005334/11.46, allocations: 200.5 kB / 4.034 GB, free: 67.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/11.46, allocations: 217.2 kB / 4.034 GB, free: 66.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/11.46, allocations: 3.984 kB / 4.034 GB, free: 66.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/11.46, allocations: 0 / 4.034 GB, free: 66.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/11.46, allocations: 8 kB / 4.034 GB, free: 66.95 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.001818/11.46, allocations: 0.6484 MB / 4.034 GB, free: 66.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/11.46, allocations: 197.2 kB / 4.035 GB, free: 66.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/11.46, allocations: 106 kB / 4.035 GB, free: 65.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003793/11.47, allocations: 356.4 kB / 4.035 GB, free: 65.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/11.47, allocations: 42.52 kB / 4.035 GB, free: 65.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/11.47, allocations: 0 / 4.035 GB, free: 65.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002478/11.47, allocations: 496.9 kB / 4.036 GB, free: 64.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/11.47, allocations: 89.22 kB / 4.036 GB, free: 64.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/11.47, allocations: 101.2 kB / 4.036 GB, free: 64.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/11.47, allocations: 29.7 kB / 4.036 GB, free: 64.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/11.47, allocations: 104.6 kB / 4.036 GB, free: 64.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/11.47, allocations: 126.1 kB / 4.036 GB, free: 64.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/11.47, allocations: 0 / 4.036 GB, free: 64.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.169e-05/11.47, allocations: 330.8 kB / 4.036 GB, free: 64.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/11.47, allocations: 107.9 kB / 4.036 GB, free: 64.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/11.47, allocations: 167.8 kB / 4.037 GB, free: 63.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/11.47, allocations: 148.3 kB / 4.037 GB, free: 63.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/11.47, allocations: 3.953 kB / 4.037 GB, free: 63.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008886/11.47, allocations: 345.4 kB / 4.037 GB, free: 63.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/11.47, allocations: 11.98 kB / 4.037 GB, free: 63.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/11.47, allocations: 224 / 4.037 GB, free: 63.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/11.47, allocations: 8 kB / 4.037 GB, free: 63.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/11.47, allocations: 83.88 kB / 4.037 GB, free: 63.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/11.47, allocations: 7.938 kB / 4.037 GB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/11.47, allocations: 19.89 kB / 4.037 GB, free: 63.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/11.47, allocations: 27.97 kB / 4.037 GB, free: 63.21 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.0001311/11.47, allocations: 116.6 kB / 4.037 GB, free: 63.09 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008393/11.47, allocations: 321.5 kB / 4.038 GB, free: 62.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/11.47, allocations: 23.8 kB / 4.038 GB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/11.47, allocations: 171.4 kB / 4.038 GB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/11.47, allocations: 4.375 kB / 4.038 GB, free: 62.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/11.47, allocations: 0 / 4.038 GB, free: 62.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/11.47, allocations: 7.984 kB / 4.038 GB, free: 62.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/11.48, allocations: 0.6432 MB / 4.038 GB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/11.48, allocations: 3.938 kB / 4.038 GB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007842/11.48, allocations: 79.88 kB / 4.039 GB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/11.48, allocations: 3.953 kB / 4.039 GB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/11.48, allocations: 12.16 kB / 4.039 GB, free: 61.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/11.48, allocations: 11.92 kB / 4.039 GB, free: 61.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/11.48, allocations: 4 kB / 4.039 GB, free: 61.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/11.48, allocations: 0.6852 MB / 4.039 GB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/11.48, allocations: 124.8 kB / 4.039 GB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/11.48, allocations: 3.984 kB / 4.039 GB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/11.48, allocations: 23.98 kB / 4.039 GB, free: 60.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/11.48, allocations: 23.97 kB / 4.039 GB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/11.48, allocations: 15.98 kB / 4.039 GB, free: 60.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.844e-05/11.48, allocations: 91.28 kB / 4.04 GB, free: 60.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/11.48, allocations: 0 / 4.04 GB, free: 60.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009891/11.48, allocations: 163.8 kB / 4.04 GB, free: 60.53 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 (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.002749/11.48, allocations: 2.294 MB / 4.042 GB, free: 58.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007139/11.48, allocations: 259.8 kB / 4.042 GB, free: 57.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/11.48, allocations: 0 / 4.042 GB, free: 57.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/11.48, allocations: 143.8 kB / 4.042 GB, free: 57.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000975/11.48, allocations: 86.2 kB / 4.042 GB, free: 57.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/11.49, allocations: 0.5353 MB / 4.043 GB, free: 57.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/11.49, allocations: 0.7491 MB / 4.044 GB, free: 56.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006933/11.49, allocations: 77.97 kB / 4.044 GB, free: 56.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/11.49, allocations: 63.41 kB / 4.044 GB, free: 56.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/11.49, allocations: 0 / 4.044 GB, free: 56.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05527/11.54, allocations: 11.09 MB / 4.055 GB, free: 45.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/11.54, allocations: 115.9 kB / 4.055 GB, free: 44.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/14.56, allocations: 0 / 4.055 GB, free: 44.91 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat