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.689/1.689, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.991e-05, allocations: 4 kB / 225.1 MB, free: 2.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2548, allocations: 38.77 MB / 263.8 MB, free: 9.773 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.86/20.12, allocations: 6.605 GB / 6.863 GB, free: 76.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/20.12, allocations: 72.81 kB / 6.863 GB, free: 76.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043/21.16, allocations: 190.2 MB / 7.049 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/21.16, allocations: 0 / 7.049 GB, free: 53.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/21.16, allocations: 3.594 kB / 7.049 GB, free: 53.45 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.007886/21.17, allocations: 1.44 MB / 7.05 GB, free: 52.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/21.17, allocations: 9.094 kB / 7.05 GB, free: 52.56 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.366e-05/21.17, allocations: 50.66 kB / 7.05 GB, free: 52.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/21.17, allocations: 23.17 kB / 7.05 GB, free: 52.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/21.17, allocations: 214 kB / 7.05 GB, free: 52.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/21.17, allocations: 18.39 kB / 7.05 GB, free: 52.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/21.17, allocations: 20.03 kB / 7.05 GB, free: 52.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/21.17, allocations: 240.4 kB / 7.05 GB, free: 52.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/21.17, allocations: 3.875 kB / 7.05 GB, free: 52.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/21.17, allocations: 11.23 kB / 7.051 GB, free: 52.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/21.17, allocations: 11.83 kB / 7.051 GB, free: 52.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/21.17, allocations: 244.6 kB / 7.051 GB, free: 52.25 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.001755/21.17, allocations: 0.6849 MB / 7.051 GB, free: 51.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/21.17, allocations: 299.1 kB / 7.052 GB, free: 51.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/21.17, allocations: 112.8 kB / 7.052 GB, free: 51.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01533/21.19, allocations: 10.09 MB / 7.062 GB, free: 41.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/21.19, allocations: 45.06 kB / 7.062 GB, free: 41.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.507e-06/21.19, allocations: 0 / 7.062 GB, free: 41.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002951/21.19, allocations: 0.5202 MB / 7.062 GB, free: 41.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/21.19, allocations: 80.77 kB / 7.062 GB, free: 41.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/21.19, allocations: 118.4 kB / 7.062 GB, free: 41.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/21.19, allocations: 29.52 kB / 7.062 GB, free: 41.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/21.19, allocations: 178.3 kB / 7.063 GB, free: 41.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/21.19, allocations: 126.8 kB / 7.063 GB, free: 40.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/21.19, allocations: 3.812 kB / 7.063 GB, free: 40.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/21.19, allocations: 325.3 kB / 7.063 GB, free: 40.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/21.19, allocations: 112.2 kB / 7.063 GB, free: 40.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/21.19, allocations: 185.6 kB / 7.063 GB, free: 40.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/21.19, allocations: 127.9 kB / 7.063 GB, free: 40.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/21.19, allocations: 0 / 7.063 GB, free: 40.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001111/21.2, allocations: 367.4 kB / 7.064 GB, free: 40.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/21.2, allocations: 7.656 kB / 7.064 GB, free: 40.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/21.2, allocations: 5.953 kB / 7.064 GB, free: 40.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/21.2, allocations: 7.469 kB / 7.064 GB, free: 40.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000877/21.2, allocations: 95.03 kB / 7.064 GB, free: 40.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/21.2, allocations: 3.969 kB / 7.064 GB, free: 40.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/21.2, allocations: 29.83 kB / 7.064 GB, free: 40.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/21.2, allocations: 13.81 kB / 7.064 GB, free: 40.5 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.0001359/21.2, allocations: 129.4 kB / 7.064 GB, free: 40.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/21.2, allocations: 18.94 kB / 7.064 GB, free: 40.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006768/21.2, allocations: 190.2 kB / 7.064 GB, free: 40.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/21.2, allocations: 3.156 kB / 7.064 GB, free: 40.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/21.2, allocations: 7.891 kB / 7.064 GB, free: 40.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/21.2, allocations: 3.891 kB / 7.064 GB, free: 40.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/21.2, allocations: 0.9062 MB / 7.065 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/21.2, allocations: 0 / 7.065 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/21.2, allocations: 89.38 kB / 7.065 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/21.2, allocations: 3.656 kB / 7.065 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/21.2, allocations: 17.09 kB / 7.065 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/21.2, allocations: 3.25 kB / 7.065 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/21.2, allocations: 3.828 kB / 7.065 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/21.2, allocations: 0.7231 MB / 7.066 GB, free: 39.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/21.2, allocations: 130.5 kB / 7.066 GB, free: 39.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/21.2, allocations: 9.719 kB / 7.066 GB, free: 39.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/21.2, allocations: 18.92 kB / 7.066 GB, free: 39.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/21.2, allocations: 37.45 kB / 7.066 GB, free: 39.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/21.2, allocations: 17.12 kB / 7.066 GB, free: 39.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.166e-05/21.2, allocations: 93.12 kB / 7.066 GB, free: 39.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/21.2, allocations: 3.938 kB / 7.066 GB, free: 39.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005379/21.21, allocations: 1.087 MB / 7.067 GB, free: 39.13 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.01198/21.22, allocations: 3.17 MB / 7.07 GB, free: 37.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/21.22, allocations: 299.5 kB / 7.071 GB, free: 37.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/21.22, allocations: 2.344 kB / 7.071 GB, free: 37.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/21.22, allocations: 157.5 kB / 7.071 GB, free: 37.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/21.22, allocations: 102.2 kB / 7.071 GB, free: 37.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/21.23, allocations: 0.9848 MB / 7.072 GB, free: 37.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/21.23, allocations: 0.7424 MB / 7.073 GB, free: 52.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/21.23, allocations: 76.44 kB / 7.073 GB, free: 52.37 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/21.23, allocations: 0 / 7.073 GB, free: 52.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.465/24.7, allocations: 26.98 MB / 7.099 GB, free: 39.73 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