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.964/1.964, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.23e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 44.51 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.29/20.39, allocations: 6.611 GB / 6.904 GB, free: 47.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/20.39, allocations: 75.17 kB / 6.904 GB, free: 47.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119/21.51, allocations: 191 MB / 7.091 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/21.51, allocations: 0 / 7.091 GB, free: 29.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/21.51, allocations: 4 kB / 7.091 GB, free: 29.85 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.008003/21.52, allocations: 1.449 MB / 7.092 GB, free: 28.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/21.52, allocations: 8.031 kB / 7.092 GB, free: 28.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.72e-05/21.52, allocations: 50.55 kB / 7.092 GB, free: 28.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/21.52, allocations: 27.8 kB / 7.092 GB, free: 28.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/21.52, allocations: 210.8 kB / 7.092 GB, free: 28.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/21.52, allocations: 16.33 kB / 7.092 GB, free: 28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/21.52, allocations: 15.91 kB / 7.092 GB, free: 27.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/21.52, allocations: 245.5 kB / 7.093 GB, free: 27.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/21.52, allocations: 0 / 7.093 GB, free: 27.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/21.52, allocations: 11.94 kB / 7.093 GB, free: 27.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/21.52, allocations: 7.984 kB / 7.093 GB, free: 27.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/21.52, allocations: 251.8 kB / 7.093 GB, free: 27.46 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.001715/21.52, allocations: 0.6795 MB / 7.094 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/21.53, allocations: 298.3 kB / 7.094 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/21.53, allocations: 129.6 kB / 7.094 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01539/21.54, allocations: 10.07 MB / 7.104 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/21.54, allocations: 42.56 kB / 7.104 GB, free: 14.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.966e-06/21.54, allocations: 0 / 7.104 GB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002977/21.54, allocations: 0.5149 MB / 7.104 GB, free: 13.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/21.54, allocations: 85.23 kB / 7.104 GB, free: 13.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/21.54, allocations: 113 kB / 7.105 GB, free: 13.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/21.54, allocations: 33.7 kB / 7.105 GB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/21.54, allocations: 179 kB / 7.105 GB, free: 13.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/21.54, allocations: 122.2 kB / 7.105 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/21.54, allocations: 12 kB / 7.105 GB, free: 13.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/21.54, allocations: 322.8 kB / 7.105 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/21.54, allocations: 108 kB / 7.105 GB, free: 12.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/21.55, allocations: 179.9 kB / 7.105 GB, free: 12.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/21.55, allocations: 135.6 kB / 7.106 GB, free: 12.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/21.55, allocations: 4 kB / 7.106 GB, free: 12.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00111/21.55, allocations: 365.5 kB / 7.106 GB, free: 11.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/21.55, allocations: 5.562 kB / 7.106 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/21.55, allocations: 4 kB / 7.106 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/21.55, allocations: 7.938 kB / 7.106 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/21.55, allocations: 87.88 kB / 7.106 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/21.55, allocations: 8.203 kB / 7.106 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/21.55, allocations: 35.88 kB / 7.106 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/21.55, allocations: 12 kB / 7.106 GB, free: 11.77 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.000125/21.55, allocations: 132.8 kB / 7.106 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/21.55, allocations: 19.77 kB / 7.106 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006744/21.55, allocations: 190.2 kB / 7.106 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/21.55, allocations: 4 kB / 7.106 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/21.55, allocations: 0 / 7.106 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/21.55, allocations: 3.984 kB / 7.106 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/21.55, allocations: 0.9132 MB / 7.107 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/21.55, allocations: 4 kB / 7.107 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/21.55, allocations: 88.03 kB / 7.107 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/21.55, allocations: 0 / 7.107 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/21.55, allocations: 15.98 kB / 7.107 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/21.55, allocations: 7.938 kB / 7.107 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/21.55, allocations: 3.953 kB / 7.107 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/21.55, allocations: 0.7214 MB / 7.108 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/21.55, allocations: 124.8 kB / 7.108 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/21.55, allocations: 8 kB / 7.108 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/21.55, allocations: 27.97 kB / 7.108 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/21.55, allocations: 27.91 kB / 7.108 GB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/21.56, allocations: 12 kB / 7.108 GB, free: 9.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.964e-05/21.56, allocations: 103.3 kB / 7.108 GB, free: 9.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/21.56, allocations: 0 / 7.108 GB, free: 9.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00558/21.56, allocations: 1.085 MB / 7.11 GB, free: 8.113 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.01198/21.57, allocations: 3.173 MB / 7.113 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/21.57, allocations: 299.8 kB / 7.113 GB, free: 4.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/21.57, allocations: 0 / 7.113 GB, free: 4.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004424/21.57, allocations: 164.4 kB / 7.113 GB, free: 4.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/21.58, allocations: 100.4 kB / 7.113 GB, free: 4.332 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/21.58, allocations: 0.9549 MB / 7.114 GB, free: 3.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/21.58, allocations: 0.7456 MB / 7.115 GB, free: 2.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/21.58, allocations: 67.41 kB / 7.115 GB, free: 2.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/21.58, allocations: 4 kB / 7.115 GB, free: 2.477 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.812/25.39, allocations: 27.04 MB / 7.141 GB, free: 55.12 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