Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.199/2.199, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.986e-05/3.995e-05, allocations: 4 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.79/19.91, allocations: 6.123 GB / 6.458 GB, free: 108.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/19.91, allocations: 76.28 kB / 6.458 GB, free: 108.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.64/23.55, allocations: 0.6443 GB / 7.103 GB, free: 34.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/23.55, allocations: 2.75 kB / 7.103 GB, free: 34.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.342e-05/23.55, allocations: 10.31 kB / 7.103 GB, free: 34.26 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01141/23.56, allocations: 2.335 MB / 7.105 GB, free: 32.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/23.56, allocations: 10.88 kB / 7.105 GB, free: 32.59 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/23.56, allocations: 103 kB / 7.105 GB, free: 32.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/23.56, allocations: 78.23 kB / 7.105 GB, free: 32.47 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/23.56, allocations: 447.9 kB / 7.106 GB, free: 32.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/23.56, allocations: 46.06 kB / 7.106 GB, free: 32.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/23.56, allocations: 65.69 kB / 7.106 GB, free: 32.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/23.57, allocations: 0.7602 MB / 7.106 GB, free: 31.63 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/23.57, allocations: 3.984 kB / 7.106 GB, free: 31.63 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/23.57, allocations: 27.66 kB / 7.106 GB, free: 31.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/23.57, allocations: 14.44 kB / 7.106 GB, free: 31.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/23.57, allocations: 0.9757 MB / 7.107 GB, free: 31.19 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/23.59, allocations: 12.47 MB / 7.12 GB, free: 16.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/23.59, allocations: 0.7548 MB / 7.12 GB, free: 16.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008744/23.59, allocations: 391.1 kB / 7.121 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4485/24.04, allocations: 30.72 MB / 7.151 GB, free: 26.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/24.04, allocations: 45.62 kB / 7.151 GB, free: 26.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 4.248e-06/24.04, allocations: 0 / 7.151 GB, free: 26.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.01742/24.06, allocations: 3.025 MB / 7.154 GB, free: 25.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/24.06, allocations: 62.69 kB / 7.154 GB, free: 25.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/24.06, allocations: 316.7 kB / 7.154 GB, free: 25.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001676/24.06, allocations: 43.27 kB / 7.154 GB, free: 25.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/24.06, allocations: 241.3 kB / 7.154 GB, free: 25.37 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/24.06, allocations: 308.3 kB / 7.155 GB, free: 25.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/24.06, allocations: 20.66 kB / 7.155 GB, free: 25.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/24.06, allocations: 360.7 kB / 7.155 GB, free: 24.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000894/24.06, allocations: 349.9 kB / 7.155 GB, free: 24.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/24.06, allocations: 463.4 kB / 7.156 GB, free: 24.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/24.07, allocations: 408.9 kB / 7.156 GB, free: 24.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/24.07, allocations: 5.156 kB / 7.156 GB, free: 24.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004254/24.07, allocations: 1.055 MB / 7.157 GB, free: 24.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/24.07, allocations: 9.281 kB / 7.157 GB, free: 24.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/24.07, allocations: 3.156 kB / 7.157 GB, free: 24.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/24.07, allocations: 167.7 kB / 7.157 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/24.07, allocations: 201.6 kB / 7.158 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/24.08, allocations: 3.905 MB / 7.161 GB, free: 20.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/24.08, allocations: 63.14 kB / 7.161 GB, free: 20.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/24.08, allocations: 50.72 kB / 7.161 GB, free: 20.98 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003551/24.08, allocations: 156 kB / 7.162 GB, free: 20.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006075/24.08, allocations: 56.75 kB / 7.162 GB, free: 20.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/24.08, allocations: 1.301 MB / 7.163 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/24.08, allocations: 11.19 kB / 7.163 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/24.08, allocations: 3.734 kB / 7.163 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002787/24.09, allocations: 1.323 MB / 7.164 GB, free: 20.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/24.09, allocations: 1.969 MB / 7.166 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/24.09, allocations: 5.047 kB / 7.166 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/24.09, allocations: 176.4 kB / 7.166 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/24.1, allocations: 302.5 kB / 7.167 GB, free: 19.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/24.1, allocations: 33.58 kB / 7.167 GB, free: 19.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008114/24.1, allocations: 1.293 MB / 7.168 GB, free: 18.47 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/24.1, allocations: 0 / 7.168 GB, free: 18.47 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/24.1, allocations: 1.421 MB / 7.169 GB, free: 18.22 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/24.1, allocations: 143 kB / 7.169 GB, free: 18.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/24.1, allocations: 23.53 kB / 7.169 GB, free: 18.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/24.1, allocations: 56.39 kB / 7.169 GB, free: 18.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/24.1, allocations: 52.45 kB / 7.17 GB, free: 18.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/24.1, allocations: 54.16 kB / 7.17 GB, free: 18.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000471/24.1, allocations: 276.9 kB / 7.17 GB, free: 18.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.11e-07/24.1, allocations: 0 / 7.17 GB, free: 18.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01107/24.11, allocations: 2.271 MB / 7.172 GB, free: 18.01 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02321/24.14, allocations: 5.248 MB / 7.177 GB, free: 17.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003166/24.14, allocations: 1.116 MB / 7.178 GB, free: 16.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/24.14, allocations: 3.625 kB / 7.178 GB, free: 16.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/24.14, allocations: 494 kB / 7.179 GB, free: 16.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/24.15, allocations: 367.6 kB / 7.179 GB, free: 16.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/24.16, allocations: 2.451 MB / 7.182 GB, free: 16.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/24.16, allocations: 0.9357 MB / 7.182 GB, free: 15.37 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001453/24.16, allocations: 208.8 kB / 7.183 GB, free: 15.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/24.16, allocations: 229.3 kB / 7.183 GB, free: 15.35 MB / 474.7 MB Notification: Performance of SimCode: time 1.323e-06/24.16, allocations: 0 / 7.183 GB, free: 15.35 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/24.34, allocations: 79.85 MB / 7.261 GB, free: 11.86 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/24.34, allocations: 220.9 kB / 7.261 GB, free: 11.63 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/32.08, allocations: 6.938 kB / 7.261 GB, free: 11.63 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat