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.96/1.96, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.816e-05/4.824e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3573, allocations: 38.77 MB / 263.9 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.46/20.81, allocations: 6.605 GB / 6.863 GB, free: 76.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/20.81, allocations: 76.81 kB / 6.863 GB, free: 76.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15/21.96, allocations: 190.2 MB / 7.049 GB, free: 55.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/21.96, allocations: 2.75 kB / 7.049 GB, free: 55.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/21.96, allocations: 3.906 kB / 7.049 GB, free: 55.04 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.008178/21.97, allocations: 1.446 MB / 7.05 GB, free: 54.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/21.97, allocations: 7.812 kB / 7.05 GB, free: 54.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.627e-05/21.97, allocations: 50.03 kB / 7.05 GB, free: 54.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/21.97, allocations: 23.58 kB / 7.05 GB, free: 54.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/21.97, allocations: 215.5 kB / 7.05 GB, free: 53.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/21.97, allocations: 11.3 kB / 7.05 GB, free: 53.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/21.97, allocations: 13.44 kB / 7.05 GB, free: 53.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/21.97, allocations: 245.7 kB / 7.051 GB, free: 53.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/21.97, allocations: 0 / 7.051 GB, free: 53.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/21.97, allocations: 14 kB / 7.051 GB, free: 53.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/21.97, allocations: 11.56 kB / 7.051 GB, free: 53.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007694/21.98, allocations: 243.4 kB / 7.051 GB, free: 53.85 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.001881/21.98, allocations: 0.6858 MB / 7.051 GB, free: 53.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008393/21.98, allocations: 297.9 kB / 7.052 GB, free: 53.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/21.98, allocations: 121.1 kB / 7.052 GB, free: 53.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01602/21.99, allocations: 10.08 MB / 7.062 GB, free: 43.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/21.99, allocations: 34.31 kB / 7.062 GB, free: 43.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.948e-06/21.99, allocations: 0 / 7.062 GB, free: 43.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003076/22, allocations: 0.5199 MB / 7.062 GB, free: 43.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/22, allocations: 84.58 kB / 7.062 GB, free: 42.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/22, allocations: 122.7 kB / 7.062 GB, free: 42.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/22, allocations: 36.56 kB / 7.062 GB, free: 42.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/22, allocations: 107.2 kB / 7.063 GB, free: 42.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/22, allocations: 123.5 kB / 7.063 GB, free: 42.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/22, allocations: 7.406 kB / 7.063 GB, free: 42.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.599e-05/22, allocations: 332 kB / 7.063 GB, free: 42.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/22, allocations: 106.6 kB / 7.063 GB, free: 42.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/22, allocations: 179.5 kB / 7.063 GB, free: 42.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/22, allocations: 131.2 kB / 7.063 GB, free: 42.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/22, allocations: 0 / 7.063 GB, free: 42.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001192/22, allocations: 358.1 kB / 7.064 GB, free: 42.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/22, allocations: 7.25 kB / 7.064 GB, free: 42.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/22, allocations: 0 / 7.064 GB, free: 42.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/22, allocations: 3.406 kB / 7.064 GB, free: 42.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/22, allocations: 96.38 kB / 7.064 GB, free: 42.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/22, allocations: 9 kB / 7.064 GB, free: 42.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/22, allocations: 37.59 kB / 7.064 GB, free: 42.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/22, allocations: 17.03 kB / 7.064 GB, free: 42.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.0001758/22, allocations: 119.7 kB / 7.064 GB, free: 42.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/22, allocations: 14.19 kB / 7.064 GB, free: 42.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/22, allocations: 193.6 kB / 7.064 GB, free: 42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/22, allocations: 3.656 kB / 7.064 GB, free: 42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/22, allocations: 3.953 kB / 7.064 GB, free: 42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/22, allocations: 3.375 kB / 7.064 GB, free: 42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/22.01, allocations: 0.9114 MB / 7.065 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/22.01, allocations: 6.969 kB / 7.065 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008666/22.01, allocations: 81.55 kB / 7.065 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/22.01, allocations: 3.875 kB / 7.065 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/22.01, allocations: 17.42 kB / 7.065 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/22.01, allocations: 3.906 kB / 7.065 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/22.01, allocations: 3.938 kB / 7.065 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/22.01, allocations: 0.7207 MB / 7.066 GB, free: 41.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/22.01, allocations: 125.5 kB / 7.066 GB, free: 41.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/22.01, allocations: 10.75 kB / 7.066 GB, free: 41.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/22.01, allocations: 21.89 kB / 7.066 GB, free: 41.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/22.01, allocations: 37.05 kB / 7.066 GB, free: 41.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/22.01, allocations: 18.8 kB / 7.066 GB, free: 41.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.053e-05/22.01, allocations: 94.23 kB / 7.066 GB, free: 40.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/22.01, allocations: 0 / 7.066 GB, free: 40.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005641/22.02, allocations: 1.088 MB / 7.067 GB, free: 40.8 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.01242/22.03, allocations: 3.168 MB / 7.07 GB, free: 39.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/22.03, allocations: 293.6 kB / 7.071 GB, free: 39.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/22.03, allocations: 0 / 7.071 GB, free: 39.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000466/22.03, allocations: 160.9 kB / 7.071 GB, free: 39.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/22.03, allocations: 101.7 kB / 7.071 GB, free: 39.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/22.04, allocations: 0.9572 MB / 7.072 GB, free: 38.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/22.04, allocations: 0.7394 MB / 7.073 GB, free: 54.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000773/22.04, allocations: 80.45 kB / 7.073 GB, free: 54.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/22.04, allocations: 70.2 kB / 7.073 GB, free: 54.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/22.04, allocations: 0 / 7.073 GB, free: 54.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/22.16, allocations: 37.62 MB / 7.109 GB, free: 30.39 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/22.16, allocations: 193.1 kB / 7.11 GB, free: 30.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.567/26.73, allocations: 0 / 7.11 GB, free: 30.16 MB / 378.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