Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.941e-05, allocations: 8 kB / 255.4 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 44.52 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.76/20.86, allocations: 6.611 GB / 6.904 GB, free: 49.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/20.86, allocations: 75.7 kB / 6.904 GB, free: 49.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13/21.99, allocations: 191 MB / 7.091 GB, free: 32.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/21.99, allocations: 0 / 7.091 GB, free: 32.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/21.99, allocations: 8 kB / 7.091 GB, free: 32.05 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.008053/22, allocations: 1.445 MB / 7.092 GB, free: 30.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/22, allocations: 12.03 kB / 7.092 GB, free: 30.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.024e-05/22, allocations: 54.48 kB / 7.092 GB, free: 30.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/22, allocations: 19.81 kB / 7.092 GB, free: 30.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/22, allocations: 214.8 kB / 7.092 GB, free: 30.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/22, allocations: 8.328 kB / 7.092 GB, free: 30.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/22, allocations: 19.91 kB / 7.092 GB, free: 30.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/22, allocations: 249.4 kB / 7.093 GB, free: 29.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/22, allocations: 7.938 kB / 7.093 GB, free: 29.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/22, allocations: 4 kB / 7.093 GB, free: 29.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/22, allocations: 15.98 kB / 7.093 GB, free: 29.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/22, allocations: 243.8 kB / 7.093 GB, free: 29.67 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.001747/22.01, allocations: 0.6757 MB / 7.094 GB, free: 28.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007625/22.01, allocations: 294.3 kB / 7.094 GB, free: 28.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/22.01, allocations: 121.6 kB / 7.094 GB, free: 28.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/22.02, allocations: 10.08 MB / 7.104 GB, free: 16.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/22.02, allocations: 50.48 kB / 7.104 GB, free: 16.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.877e-06/22.02, allocations: 0 / 7.104 GB, free: 16.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.00297/22.03, allocations: 0.511 MB / 7.104 GB, free: 15.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/22.03, allocations: 89.3 kB / 7.105 GB, free: 15.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/22.03, allocations: 113 kB / 7.105 GB, free: 15.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/22.03, allocations: 33.7 kB / 7.105 GB, free: 15.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/22.03, allocations: 108.6 kB / 7.105 GB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/22.03, allocations: 126.1 kB / 7.105 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/22.03, allocations: 4 kB / 7.105 GB, free: 15.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/22.03, allocations: 330.8 kB / 7.105 GB, free: 15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/22.03, allocations: 108 kB / 7.105 GB, free: 14.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/22.03, allocations: 183.9 kB / 7.105 GB, free: 14.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/22.03, allocations: 127.7 kB / 7.106 GB, free: 14.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/22.03, allocations: 4 kB / 7.106 GB, free: 14.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001109/22.03, allocations: 365.5 kB / 7.106 GB, free: 14.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/22.03, allocations: 8 kB / 7.106 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/22.03, allocations: 7.875 kB / 7.106 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/22.03, allocations: 4 kB / 7.106 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008525/22.03, allocations: 92.09 kB / 7.106 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/22.03, allocations: 7.984 kB / 7.106 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/22.03, allocations: 27.89 kB / 7.106 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/22.03, allocations: 19.98 kB / 7.106 GB, free: 14.03 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.0001324/22.03, allocations: 124 kB / 7.106 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/22.03, allocations: 23.77 kB / 7.106 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006968/22.03, allocations: 190.2 kB / 7.106 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/22.03, allocations: 4 kB / 7.106 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/22.03, allocations: 4 kB / 7.106 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/22.03, allocations: 0 / 7.106 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/22.03, allocations: 0.9205 MB / 7.107 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/22.03, allocations: 4 kB / 7.107 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/22.03, allocations: 83.88 kB / 7.107 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/22.03, allocations: 4 kB / 7.107 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/22.03, allocations: 8 kB / 7.107 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/22.03, allocations: 4 kB / 7.107 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/22.03, allocations: 7.891 kB / 7.107 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/22.04, allocations: 0.7183 MB / 7.108 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/22.04, allocations: 128.8 kB / 7.108 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/22.04, allocations: 8 kB / 7.108 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/22.04, allocations: 23.97 kB / 7.108 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/22.04, allocations: 39.83 kB / 7.108 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/22.04, allocations: 23.97 kB / 7.108 GB, free: 11.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.508e-05/22.04, allocations: 95.66 kB / 7.108 GB, free: 11.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.814e-06/22.04, allocations: 0 / 7.108 GB, free: 11.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006585/22.04, allocations: 1.081 MB / 7.11 GB, free: 10.38 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.01233/22.06, allocations: 3.169 MB / 7.113 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/22.06, allocations: 300.2 kB / 7.113 GB, free: 6.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/22.06, allocations: 0 / 7.113 GB, free: 6.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/22.06, allocations: 157.5 kB / 7.113 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/22.06, allocations: 96.81 kB / 7.113 GB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/22.06, allocations: 0.922 MB / 7.114 GB, free: 5.633 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/22.06, allocations: 0.7456 MB / 7.115 GB, free: 4.859 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000701/22.06, allocations: 78.03 kB / 7.115 GB, free: 4.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/22.06, allocations: 67.39 kB / 7.115 GB, free: 4.715 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/22.06, allocations: 0 / 7.115 GB, free: 4.715 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4087/22.47, allocations: 37.7 MB / 7.152 GB, free: 55.05 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/22.47, allocations: 194.4 kB / 7.152 GB, free: 54.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.484/26.96, allocations: 3.938 kB / 7.152 GB, free: 54.82 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat