Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.333e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.15/20.25, allocations: 6.53 GB / 6.823 GB, free: 93.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/20.25, allocations: 73.56 kB / 6.823 GB, free: 93.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699/24.95, allocations: 0.8402 GB / 7.663 GB, free: 27.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.444e-06/24.95, allocations: 0 / 7.663 GB, free: 27.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.679e-05/24.95, allocations: 9.875 kB / 7.663 GB, free: 27.23 MB / 442.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.01565/24.97, allocations: 2.89 MB / 7.666 GB, free: 25.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/24.97, allocations: 8.656 kB / 7.666 GB, free: 25.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/24.97, allocations: 82.55 kB / 7.666 GB, free: 25.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/24.97, allocations: 56.72 kB / 7.666 GB, free: 25.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/24.97, allocations: 363 kB / 7.666 GB, free: 25.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/24.97, allocations: 31.69 kB / 7.666 GB, free: 25.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/24.97, allocations: 48.22 kB / 7.666 GB, free: 25.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/24.97, allocations: 0.497 MB / 7.667 GB, free: 25.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/24.97, allocations: 0 / 7.667 GB, free: 25.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/24.97, allocations: 20.59 kB / 7.667 GB, free: 25.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/24.97, allocations: 10.06 kB / 7.667 GB, free: 25.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/24.98, allocations: 0.6133 MB / 7.667 GB, free: 25.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0225/25, allocations: 11.89 MB / 7.679 GB, free: 30.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/25, allocations: 0.6317 MB / 7.68 GB, free: 29.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/25, allocations: 252.2 kB / 7.68 GB, free: 29.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03829/25.04, allocations: 20.13 MB / 7.699 GB, free: 25.53 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.309e-05/25.04, allocations: 47.58 kB / 7.7 GB, free: 25.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 4.077e-06/25.04, allocations: 0 / 7.7 GB, free: 25.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.01/25.05, allocations: 1.728 MB / 7.701 GB, free: 25.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/25.05, allocations: 58.69 kB / 7.701 GB, free: 25.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/25.05, allocations: 281.4 kB / 7.702 GB, free: 24.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/25.05, allocations: 39.08 kB / 7.702 GB, free: 24.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/25.05, allocations: 199.2 kB / 7.702 GB, free: 24.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/25.05, allocations: 194.4 kB / 7.702 GB, free: 24.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/25.05, allocations: 9.438 kB / 7.702 GB, free: 24.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/25.05, allocations: 352.5 kB / 7.702 GB, free: 24.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/25.05, allocations: 206.1 kB / 7.702 GB, free: 24.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/25.05, allocations: 298.6 kB / 7.703 GB, free: 24.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009825/25.05, allocations: 257.4 kB / 7.703 GB, free: 24.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/25.05, allocations: 2.531 kB / 7.703 GB, free: 24.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002806/25.06, allocations: 0.686 MB / 7.704 GB, free: 24.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/25.06, allocations: 5.656 kB / 7.704 GB, free: 24.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/25.06, allocations: 3.438 kB / 7.704 GB, free: 24.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007981/25.06, allocations: 102.7 kB / 7.704 GB, free: 24.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/25.06, allocations: 127.5 kB / 7.704 GB, free: 24.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/25.06, allocations: 3.264 MB / 7.707 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/25.06, allocations: 44.81 kB / 7.707 GB, free: 20.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/25.06, allocations: 30.69 kB / 7.707 GB, free: 20.94 MB / 474.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.0003/25.06, allocations: 142.5 kB / 7.707 GB, free: 20.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/25.06, allocations: 43.06 kB / 7.707 GB, free: 20.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/25.07, allocations: 0.6938 MB / 7.708 GB, free: 20.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/25.07, allocations: 6.281 kB / 7.708 GB, free: 20.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/25.07, allocations: 3.953 kB / 7.708 GB, free: 20.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001965/25.07, allocations: 0.7816 MB / 7.709 GB, free: 20.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/25.07, allocations: 1.402 MB / 7.71 GB, free: 19.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/25.07, allocations: 3.562 kB / 7.71 GB, free: 19.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/25.07, allocations: 112.8 kB / 7.71 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/25.08, allocations: 154.1 kB / 7.71 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/25.08, allocations: 18.09 kB / 7.71 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006267/25.08, allocations: 0.6548 MB / 7.711 GB, free: 19.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/25.08, allocations: 3.656 kB / 7.711 GB, free: 19.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/25.08, allocations: 0.9906 MB / 7.712 GB, free: 19.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/25.08, allocations: 126.9 kB / 7.712 GB, free: 18.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/25.08, allocations: 11.75 kB / 7.712 GB, free: 18.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008603/25.08, allocations: 38.8 kB / 7.712 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/25.08, allocations: 42.45 kB / 7.712 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/25.08, allocations: 32.73 kB / 7.712 GB, free: 18.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004208/25.08, allocations: 233.5 kB / 7.713 GB, free: 18.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/25.08, allocations: 0 / 7.713 GB, free: 18.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01115/25.09, allocations: 1.974 MB / 7.714 GB, free: 18.46 MB / 474.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.02181/25.11, allocations: 4.855 MB / 7.719 GB, free: 16.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002364/25.12, allocations: 0.766 MB / 7.72 GB, free: 16.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/25.12, allocations: 7.688 kB / 7.72 GB, free: 16.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009888/25.12, allocations: 297.6 kB / 7.72 GB, free: 16.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/25.12, allocations: 276.5 kB / 7.72 GB, free: 16.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00939/25.13, allocations: 1.791 MB / 7.722 GB, free: 15.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/25.13, allocations: 0.8536 MB / 7.723 GB, free: 14.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001115/25.13, allocations: 136 kB / 7.723 GB, free: 14.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/25.13, allocations: 169.4 kB / 7.723 GB, free: 14.87 MB / 474.7 MB Notification: Performance of SimCode: time 3.417e-06/25.13, allocations: 0 / 7.723 GB, free: 14.87 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6013/25.73, allocations: 76.87 MB / 7.798 GB, free: 43.74 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/25.73, allocations: 223.2 kB / 7.799 GB, free: 43.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/32.63, allocations: 0.6562 kB / 7.799 GB, free: 43.51 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat