Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.998e-05, allocations: 8 kB / 255.4 MB, free: 3.121 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09358, allocations: 44.5 MB / 299.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.16/11.26, allocations: 3.699 GB / 3.992 GB, free: 107.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/11.26, allocations: 69.19 kB / 3.992 GB, free: 107.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.178/11.44, allocations: 48.62 MB / 4.039 GB, free: 94.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/11.44, allocations: 0 / 4.039 GB, free: 94.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/11.44, allocations: 4 kB / 4.039 GB, free: 94.64 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.002411/11.44, allocations: 0.6304 MB / 4.04 GB, free: 93.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/11.44, allocations: 8.031 kB / 4.04 GB, free: 93.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.587e-05/11.44, allocations: 49.8 kB / 4.04 GB, free: 93.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/11.44, allocations: 15.91 kB / 4.04 GB, free: 93.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/11.44, allocations: 220 kB / 4.04 GB, free: 93.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/11.44, allocations: 7.953 kB / 4.04 GB, free: 93.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/11.44, allocations: 28.72 kB / 4.04 GB, free: 93.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/11.44, allocations: 231.4 kB / 4.041 GB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/11.44, allocations: 4 kB / 4.041 GB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/11.44, allocations: 9.688 kB / 4.041 GB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/11.44, allocations: 7.984 kB / 4.041 GB, free: 93.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/11.44, allocations: 224.6 kB / 4.041 GB, free: 93.28 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.001913/11.44, allocations: 0.6863 MB / 4.042 GB, free: 92.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/11.44, allocations: 209.7 kB / 4.042 GB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/11.44, allocations: 115.7 kB / 4.042 GB, free: 92.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/11.44, allocations: 355.7 kB / 4.042 GB, free: 91.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/11.44, allocations: 42.31 kB / 4.042 GB, free: 91.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.925e-06/11.44, allocations: 0 / 4.042 GB, free: 91.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002408/11.45, allocations: 0.4902 MB / 4.043 GB, free: 91.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/11.45, allocations: 85.23 kB / 4.043 GB, free: 91.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/11.45, allocations: 112.9 kB / 4.043 GB, free: 91.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/11.45, allocations: 37.08 kB / 4.043 GB, free: 91.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/11.45, allocations: 175 kB / 4.043 GB, free: 91.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/11.45, allocations: 132.6 kB / 4.043 GB, free: 90.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/11.45, allocations: 3.75 kB / 4.043 GB, free: 90.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/11.45, allocations: 330.2 kB / 4.044 GB, free: 90.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/11.45, allocations: 112.8 kB / 4.044 GB, free: 90.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/11.45, allocations: 177.7 kB / 4.044 GB, free: 90.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/11.45, allocations: 128.4 kB / 4.044 GB, free: 90.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/11.45, allocations: 4 kB / 4.044 GB, free: 90.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000889/11.45, allocations: 350.1 kB / 4.044 GB, free: 90.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/11.45, allocations: 9.562 kB / 4.044 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/11.45, allocations: 3.984 kB / 4.044 GB, free: 90.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/11.45, allocations: 4 kB / 4.044 GB, free: 90.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/11.45, allocations: 86.94 kB / 4.044 GB, free: 90 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/11.45, allocations: 12.16 kB / 4.044 GB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/11.45, allocations: 34.75 kB / 4.044 GB, free: 89.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/11.45, allocations: 14.75 kB / 4.044 GB, free: 89.95 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.0001415/11.45, allocations: 124.5 kB / 4.045 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/11.45, allocations: 27.31 kB / 4.045 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/11.45, allocations: 167.9 kB / 4.045 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/11.45, allocations: 4 kB / 4.045 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/11.45, allocations: 4 kB / 4.045 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/11.45, allocations: 7.922 kB / 4.045 GB, free: 89.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/11.45, allocations: 0.7028 MB / 4.045 GB, free: 89.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/11.45, allocations: 0 / 4.045 GB, free: 89.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/11.45, allocations: 79.84 kB / 4.046 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/11.45, allocations: 4 kB / 4.046 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/11.45, allocations: 15.23 kB / 4.046 GB, free: 88.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/11.45, allocations: 4 kB / 4.046 GB, free: 88.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/11.45, allocations: 0 / 4.046 GB, free: 88.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/11.46, allocations: 0.7016 MB / 4.046 GB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/11.46, allocations: 130.5 kB / 4.046 GB, free: 88.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/11.46, allocations: 7.188 kB / 4.046 GB, free: 88.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006088/11.46, allocations: 26.41 kB / 4.046 GB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/11.46, allocations: 27.28 kB / 4.046 GB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/11.46, allocations: 18.73 kB / 4.046 GB, free: 88.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.919e-05/11.46, allocations: 90.59 kB / 4.047 GB, free: 88 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/11.46, allocations: 0 / 4.047 GB, free: 88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001045/11.46, allocations: 185.2 kB / 4.047 GB, free: 87.85 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 (38): * Single equations (assignments): 38 * 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.002783/11.46, allocations: 2.211 MB / 4.049 GB, free: 85.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008288/11.46, allocations: 278.8 kB / 4.049 GB, free: 85.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/11.46, allocations: 0 / 4.049 GB, free: 85.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/11.46, allocations: 157.2 kB / 4.049 GB, free: 85.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/11.46, allocations: 96.59 kB / 4.049 GB, free: 85.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/11.46, allocations: 0.5879 MB / 4.05 GB, free: 84.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/11.47, allocations: 0.7446 MB / 4.051 GB, free: 83.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/11.47, allocations: 69.27 kB / 4.051 GB, free: 83.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/11.47, allocations: 0 / 4.051 GB, free: 83.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.772/14.24, allocations: 7.895 MB / 4.058 GB, free: 76.05 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat