Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.599e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3052, allocations: 44.49 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.74/19.04, allocations: 6.611 GB / 6.898 GB, free: 57.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/19.04, allocations: 74.64 kB / 6.898 GB, free: 57.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106/20.15, allocations: 188.5 MB / 7.082 GB, free: 43.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/20.15, allocations: 0 / 7.082 GB, free: 43.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/20.15, allocations: 4 kB / 7.082 GB, free: 43.57 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.00849/20.16, allocations: 1.445 MB / 7.083 GB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/20.16, allocations: 8.031 kB / 7.083 GB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/20.16, allocations: 23.8 kB / 7.083 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/20.16, allocations: 214 kB / 7.084 GB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/20.16, allocations: 4 kB / 7.084 GB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/20.16, allocations: 19.91 kB / 7.084 GB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005085/20.16, allocations: 208.5 kB / 7.084 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/20.16, allocations: 233 kB / 7.084 GB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/20.16, allocations: 0 / 7.084 GB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/20.16, allocations: 0 / 7.084 GB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/20.16, allocations: 4 kB / 7.084 GB, free: 41.33 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.00169/20.16, allocations: 0.6318 MB / 7.085 GB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/20.16, allocations: 278.4 kB / 7.085 GB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/20.16, allocations: 106.1 kB / 7.085 GB, free: 40.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01582/20.18, allocations: 10.08 MB / 7.095 GB, free: 28.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/20.18, allocations: 38.56 kB / 7.095 GB, free: 28.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 4.177e-06/20.18, allocations: 4 kB / 7.095 GB, free: 28.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002847/20.18, allocations: 0.4929 MB / 7.095 GB, free: 27.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/20.18, allocations: 85.3 kB / 7.096 GB, free: 27.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/20.18, allocations: 116.9 kB / 7.096 GB, free: 27.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/20.18, allocations: 25.7 kB / 7.096 GB, free: 27.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/20.18, allocations: 175 kB / 7.096 GB, free: 27.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/20.18, allocations: 122.2 kB / 7.096 GB, free: 27.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/20.18, allocations: 0 / 7.096 GB, free: 27.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/20.18, allocations: 322.8 kB / 7.096 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/20.18, allocations: 104 kB / 7.096 GB, free: 26.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/20.18, allocations: 175.8 kB / 7.097 GB, free: 26.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/20.18, allocations: 148.8 kB / 7.097 GB, free: 26.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/20.18, allocations: 0 / 7.097 GB, free: 26.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001057/20.18, allocations: 357.5 kB / 7.097 GB, free: 25.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/20.18, allocations: 4 kB / 7.097 GB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/20.18, allocations: 11.89 kB / 7.097 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/20.18, allocations: 4 kB / 7.097 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/20.18, allocations: 88.09 kB / 7.097 GB, free: 25.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/20.18, allocations: 4 kB / 7.097 GB, free: 25.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/20.18, allocations: 27.81 kB / 7.097 GB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/20.18, allocations: 16 kB / 7.097 GB, free: 25.79 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.0001433/20.18, allocations: 112.6 kB / 7.097 GB, free: 25.68 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001061/20.18, allocations: 317.6 kB / 7.098 GB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/20.19, allocations: 23.77 kB / 7.098 GB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006574/20.19, allocations: 194.2 kB / 7.098 GB, free: 25.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/20.19, allocations: 4 kB / 7.098 GB, free: 25.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/20.19, allocations: 0 / 7.098 GB, free: 25.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/20.19, allocations: 4 kB / 7.098 GB, free: 25.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/20.19, allocations: 0.8607 MB / 7.099 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/20.19, allocations: 7.938 kB / 7.099 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/20.19, allocations: 83.88 kB / 7.099 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/20.19, allocations: 3.984 kB / 7.099 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/20.19, allocations: 11.98 kB / 7.099 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/20.19, allocations: 3.938 kB / 7.099 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/20.19, allocations: 7.953 kB / 7.099 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/20.19, allocations: 0.706 MB / 7.099 GB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/20.19, allocations: 124.8 kB / 7.1 GB, free: 23.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/20.19, allocations: 7.984 kB / 7.1 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/20.19, allocations: 11.98 kB / 7.1 GB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/20.19, allocations: 31.98 kB / 7.1 GB, free: 23.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/20.19, allocations: 15.98 kB / 7.1 GB, free: 23.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.118e-05/20.19, allocations: 99.66 kB / 7.1 GB, free: 23.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/20.19, allocations: 3.938 kB / 7.1 GB, free: 23.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00573/20.2, allocations: 1.073 MB / 7.101 GB, free: 21.95 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.01262/20.21, allocations: 3.197 MB / 7.104 GB, free: 18.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008056/20.21, allocations: 268.1 kB / 7.104 GB, free: 18.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/20.21, allocations: 4.125 kB / 7.104 GB, free: 18.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/20.21, allocations: 151.8 kB / 7.104 GB, free: 18.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/20.21, allocations: 88.53 kB / 7.104 GB, free: 18.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/20.22, allocations: 0.9217 MB / 7.105 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/20.22, allocations: 0.7456 MB / 7.106 GB, free: 16.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/20.22, allocations: 71.39 kB / 7.106 GB, free: 16.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/20.22, allocations: 0 / 7.106 GB, free: 16.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.761/23.98, allocations: 27.78 MB / 7.133 GB, free: 51.47 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat