Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.79/1.79, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.41e-05, allocations: 4 kB / 225.1 MB, free: 2.621 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2912, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.71/20, allocations: 6.605 GB / 6.863 GB, free: 74.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/20, allocations: 76.12 kB / 6.863 GB, free: 74.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111/21.11, allocations: 190.2 MB / 7.049 GB, free: 70.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.52e-06/21.11, allocations: 3.812 kB / 7.049 GB, free: 70.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.23e-05/21.11, allocations: 6.625 kB / 7.049 GB, free: 70.06 MB / 378.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.008687/21.12, allocations: 1.445 MB / 7.05 GB, free: 69.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/21.12, allocations: 14.8 kB / 7.05 GB, free: 69.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.632e-05/21.12, allocations: 45.61 kB / 7.05 GB, free: 69.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/21.12, allocations: 26.83 kB / 7.05 GB, free: 69.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/21.12, allocations: 208.1 kB / 7.05 GB, free: 68.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/21.12, allocations: 8.078 kB / 7.05 GB, free: 68.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/21.12, allocations: 24.16 kB / 7.05 GB, free: 68.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008239/21.12, allocations: 243.6 kB / 7.051 GB, free: 68.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/21.12, allocations: 0 / 7.051 GB, free: 68.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/21.12, allocations: 6.531 kB / 7.051 GB, free: 68.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/21.12, allocations: 12.86 kB / 7.051 GB, free: 68.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007798/21.12, allocations: 250.1 kB / 7.051 GB, free: 68.87 MB / 378.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.001933/21.13, allocations: 0.6836 MB / 7.051 GB, free: 68.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/21.13, allocations: 294.7 kB / 7.052 GB, free: 68.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/21.13, allocations: 121.6 kB / 7.052 GB, free: 68.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/21.14, allocations: 10.08 MB / 7.062 GB, free: 58.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/21.14, allocations: 37.22 kB / 7.062 GB, free: 58.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.837e-06/21.14, allocations: 0 / 7.062 GB, free: 58.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.00311/21.15, allocations: 0.5245 MB / 7.062 GB, free: 58.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/21.15, allocations: 80.55 kB / 7.062 GB, free: 57.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/21.15, allocations: 117.6 kB / 7.062 GB, free: 57.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/21.15, allocations: 34.7 kB / 7.062 GB, free: 57.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/21.15, allocations: 181.8 kB / 7.063 GB, free: 57.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/21.15, allocations: 123.3 kB / 7.063 GB, free: 57.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/21.15, allocations: 7.562 kB / 7.063 GB, free: 57.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.419e-05/21.15, allocations: 329.7 kB / 7.063 GB, free: 57.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/21.15, allocations: 111.4 kB / 7.063 GB, free: 57.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/21.15, allocations: 177 kB / 7.063 GB, free: 57.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/21.15, allocations: 129 kB / 7.063 GB, free: 57.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/21.15, allocations: 3.438 kB / 7.063 GB, free: 57.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001139/21.15, allocations: 360.8 kB / 7.064 GB, free: 57.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/21.15, allocations: 13.22 kB / 7.064 GB, free: 57.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/21.15, allocations: 0 / 7.064 GB, free: 57.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/21.15, allocations: 7.906 kB / 7.064 GB, free: 57.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008873/21.15, allocations: 90.19 kB / 7.064 GB, free: 57.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/21.15, allocations: 4.75 kB / 7.064 GB, free: 57.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/21.15, allocations: 36 kB / 7.064 GB, free: 57.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/21.15, allocations: 18.16 kB / 7.064 GB, free: 57.12 MB / 378.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.0001557/21.15, allocations: 126.8 kB / 7.064 GB, free: 57.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/21.15, allocations: 19.34 kB / 7.064 GB, free: 57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000769/21.15, allocations: 185.2 kB / 7.064 GB, free: 56.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/21.15, allocations: 6.5 kB / 7.064 GB, free: 56.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/21.15, allocations: 3.953 kB / 7.064 GB, free: 56.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/21.15, allocations: 0 / 7.064 GB, free: 56.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/21.16, allocations: 0.9104 MB / 7.065 GB, free: 56.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/21.16, allocations: 0 / 7.065 GB, free: 56.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008536/21.16, allocations: 87.95 kB / 7.065 GB, free: 56.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/21.16, allocations: 3.531 kB / 7.065 GB, free: 56.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/21.16, allocations: 6.531 kB / 7.065 GB, free: 56.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/21.16, allocations: 7.906 kB / 7.065 GB, free: 56.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/21.16, allocations: 3.969 kB / 7.065 GB, free: 56.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/21.16, allocations: 0.7247 MB / 7.066 GB, free: 56.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/21.16, allocations: 127.5 kB / 7.066 GB, free: 56.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/21.16, allocations: 11.44 kB / 7.066 GB, free: 56.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/21.16, allocations: 28.7 kB / 7.066 GB, free: 56.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/21.16, allocations: 33.12 kB / 7.066 GB, free: 56.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/21.16, allocations: 18.52 kB / 7.066 GB, free: 56.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.461e-05/21.16, allocations: 97.22 kB / 7.066 GB, free: 55.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/21.16, allocations: 0 / 7.066 GB, free: 55.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005776/21.17, allocations: 1.08 MB / 7.067 GB, free: 55.75 MB / 378.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.01266/21.18, allocations: 3.175 MB / 7.07 GB, free: 54.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/21.18, allocations: 292.1 kB / 7.071 GB, free: 54.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/21.18, allocations: 0 / 7.071 GB, free: 54.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/21.18, allocations: 157.9 kB / 7.071 GB, free: 54.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/21.18, allocations: 98.86 kB / 7.071 GB, free: 54.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/21.19, allocations: 0.9859 MB / 7.072 GB, free: 53.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/21.19, allocations: 0.7383 MB / 7.073 GB, free: 53.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/21.19, allocations: 75.41 kB / 7.073 GB, free: 53.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/21.19, allocations: 0 / 7.073 GB, free: 53.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.674/24.86, allocations: 26.99 MB / 7.099 GB, free: 44.77 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat