Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.713e-05, allocations: 4 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.286, allocations: 38.76 MB / 263.8 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.64/19.93, allocations: 6.523 GB / 6.781 GB, free: 77.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/19.93, allocations: 72.53 kB / 6.781 GB, free: 77.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.765/24.7, allocations: 0.8372 GB / 7.618 GB, free: 19.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.886e-06/24.7, allocations: 0 / 7.618 GB, free: 19.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.649e-05/24.7, allocations: 7.906 kB / 7.618 GB, free: 19.63 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01809/24.71, allocations: 2.898 MB / 7.621 GB, free: 18.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/24.71, allocations: 14.34 kB / 7.621 GB, free: 18.12 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002811/24.72, allocations: 79.14 kB / 7.621 GB, free: 18.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007641/24.72, allocations: 64.73 kB / 7.621 GB, free: 18.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/24.72, allocations: 356.8 kB / 7.622 GB, free: 17.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/24.72, allocations: 32.44 kB / 7.622 GB, free: 17.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/24.72, allocations: 38.94 kB / 7.622 GB, free: 17.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/24.72, allocations: 0.5079 MB / 7.622 GB, free: 17.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/24.72, allocations: 0 / 7.622 GB, free: 17.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/24.72, allocations: 18.28 kB / 7.622 GB, free: 17.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/24.72, allocations: 11.66 kB / 7.622 GB, free: 17.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/24.72, allocations: 0.6244 MB / 7.623 GB, free: 17.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02964/24.75, allocations: 11.7 MB / 7.634 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/24.76, allocations: 0.6404 MB / 7.635 GB, free: 22.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/24.76, allocations: 250.8 kB / 7.635 GB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04343/24.8, allocations: 20.14 MB / 7.655 GB, free: 18.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/24.8, allocations: 43.84 kB / 7.655 GB, free: 18.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.406e-06/24.8, allocations: 0 / 7.655 GB, free: 18.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.01352/24.81, allocations: 1.731 MB / 7.657 GB, free: 18.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.282e-05/24.81, allocations: 59.16 kB / 7.657 GB, free: 17.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008687/24.82, allocations: 288.4 kB / 7.657 GB, free: 17.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000249/24.82, allocations: 39.11 kB / 7.657 GB, free: 17.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/24.82, allocations: 199.8 kB / 7.657 GB, free: 17.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/24.82, allocations: 186.5 kB / 7.657 GB, free: 17.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/24.82, allocations: 12.84 kB / 7.657 GB, free: 17.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002222/24.82, allocations: 350.6 kB / 7.658 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008449/24.82, allocations: 209 kB / 7.658 GB, free: 17.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/24.82, allocations: 302.8 kB / 7.658 GB, free: 17.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/24.82, allocations: 254.7 kB / 7.658 GB, free: 17.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/24.82, allocations: 3.25 kB / 7.658 GB, free: 17.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004306/24.83, allocations: 0.7 MB / 7.659 GB, free: 17.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/24.83, allocations: 7.375 kB / 7.659 GB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/24.83, allocations: 1.969 kB / 7.659 GB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/24.83, allocations: 109.1 kB / 7.659 GB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/24.83, allocations: 120.9 kB / 7.659 GB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004275/24.83, allocations: 3.274 MB / 7.663 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/24.83, allocations: 37.77 kB / 7.663 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/24.83, allocations: 34.44 kB / 7.663 GB, free: 13.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0003491/24.83, allocations: 136.9 kB / 7.663 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006869/24.83, allocations: 43.39 kB / 7.663 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/24.84, allocations: 0.7183 MB / 7.663 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/24.84, allocations: 7 kB / 7.663 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/24.84, allocations: 0 / 7.663 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002748/24.84, allocations: 0.7766 MB / 7.664 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005603/24.85, allocations: 1.405 MB / 7.666 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/24.85, allocations: 2.719 kB / 7.666 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/24.85, allocations: 116.5 kB / 7.666 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/24.85, allocations: 156.5 kB / 7.666 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/24.85, allocations: 17.5 kB / 7.666 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007863/24.85, allocations: 0.6566 MB / 7.667 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/24.85, allocations: 0 / 7.667 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/24.86, allocations: 0.9911 MB / 7.667 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/24.86, allocations: 124 kB / 7.668 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/24.86, allocations: 18.94 kB / 7.668 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/24.86, allocations: 41.75 kB / 7.668 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/24.86, allocations: 40.59 kB / 7.668 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/24.86, allocations: 36.86 kB / 7.668 GB, free: 11.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005812/24.86, allocations: 234.7 kB / 7.668 GB, free: 11.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.21e-07/24.86, allocations: 0 / 7.668 GB, free: 11.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01241/24.87, allocations: 1.973 MB / 7.67 GB, free: 11.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02245/24.89, allocations: 4.834 MB / 7.675 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002889/24.9, allocations: 0.7819 MB / 7.675 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/24.9, allocations: 2.125 kB / 7.675 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008849/24.9, allocations: 310.9 kB / 7.676 GB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/24.9, allocations: 284.6 kB / 7.676 GB, free: 9.602 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007846/24.91, allocations: 1.794 MB / 7.678 GB, free: 8.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/24.91, allocations: 0.8529 MB / 7.679 GB, free: 8.238 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000923/24.91, allocations: 133 kB / 7.679 GB, free: 8.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/24.91, allocations: 162.6 kB / 7.679 GB, free: 8.219 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/24.91, allocations: 2.531 kB / 7.679 GB, free: 8.219 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5064/25.42, allocations: 76.67 MB / 7.754 GB, free: 45.08 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/25.42, allocations: 218 kB / 7.754 GB, free: 44.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.561/31.98, allocations: 4.547 kB / 7.754 GB, free: 44.85 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat