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.997/1.997, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.491e-05/4.495e-05, allocations: 0 / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3438, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.04/20.39, allocations: 6.523 GB / 6.781 GB, free: 75.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/20.39, allocations: 72.78 kB / 6.781 GB, free: 75.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.763/25.15, allocations: 0.8372 GB / 7.618 GB, free: 18.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.156e-06/25.15, allocations: 0 / 7.618 GB, free: 18.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.324e-05/25.15, allocations: 8.406 kB / 7.618 GB, free: 18.25 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.01588/25.17, allocations: 2.901 MB / 7.621 GB, free: 16.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/25.17, allocations: 10.06 kB / 7.621 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/25.17, allocations: 82.03 kB / 7.621 GB, free: 16.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/25.17, allocations: 63.17 kB / 7.621 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/25.17, allocations: 350.3 kB / 7.622 GB, free: 16.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/25.17, allocations: 33.09 kB / 7.622 GB, free: 16.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/25.17, allocations: 46.62 kB / 7.622 GB, free: 16.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/25.17, allocations: 0.5021 MB / 7.622 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/25.17, allocations: 3.812 kB / 7.622 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/25.17, allocations: 22.88 kB / 7.622 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/25.17, allocations: 15.28 kB / 7.622 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/25.17, allocations: 0.613 MB / 7.623 GB, free: 16.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0223/25.2, allocations: 11.7 MB / 7.634 GB, free: 21.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/25.2, allocations: 0.6304 MB / 7.635 GB, free: 21.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006417/25.2, allocations: 251.5 kB / 7.635 GB, free: 21.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03701/25.24, allocations: 20.14 MB / 7.655 GB, free: 17.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.443e-05/25.24, allocations: 45.62 kB / 7.655 GB, free: 17.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.477e-06/25.24, allocations: 0 / 7.655 GB, free: 17.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.009354/25.25, allocations: 1.728 MB / 7.657 GB, free: 16.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/25.25, allocations: 55.75 kB / 7.657 GB, free: 16.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/25.25, allocations: 290 kB / 7.657 GB, free: 16.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/25.25, allocations: 45.8 kB / 7.657 GB, free: 16.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/25.25, allocations: 193.4 kB / 7.657 GB, free: 16.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/25.25, allocations: 193.7 kB / 7.657 GB, free: 16.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/25.25, allocations: 12.94 kB / 7.657 GB, free: 16.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/25.25, allocations: 350.3 kB / 7.658 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/25.25, allocations: 206.8 kB / 7.658 GB, free: 15.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009331/25.25, allocations: 296.4 kB / 7.658 GB, free: 15.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009786/25.25, allocations: 255.9 kB / 7.658 GB, free: 15.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/25.25, allocations: 0 / 7.658 GB, free: 15.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002744/25.25, allocations: 0.6784 MB / 7.659 GB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/25.25, allocations: 10.19 kB / 7.659 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/25.25, allocations: 2.812 kB / 7.659 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007975/25.25, allocations: 115.3 kB / 7.659 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/25.25, allocations: 117.4 kB / 7.659 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/25.26, allocations: 3.262 MB / 7.662 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/25.26, allocations: 43.27 kB / 7.663 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/25.26, allocations: 32.92 kB / 7.663 GB, free: 12.61 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.0002843/25.26, allocations: 143.4 kB / 7.663 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/25.26, allocations: 43.31 kB / 7.663 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/25.26, allocations: 0.7017 MB / 7.663 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/25.26, allocations: 8.594 kB / 7.663 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/25.26, allocations: 3.938 kB / 7.663 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001913/25.26, allocations: 0.771 MB / 7.664 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/25.27, allocations: 1.395 MB / 7.666 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/25.27, allocations: 0 / 7.666 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/25.27, allocations: 120.6 kB / 7.666 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/25.27, allocations: 152.9 kB / 7.666 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/25.27, allocations: 29.19 kB / 7.666 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005895/25.27, allocations: 0.6414 MB / 7.666 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/25.27, allocations: 7.906 kB / 7.666 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/25.28, allocations: 0.9901 MB / 7.667 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/25.28, allocations: 128.4 kB / 7.668 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/25.28, allocations: 14.98 kB / 7.668 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008631/25.28, allocations: 37.3 kB / 7.668 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/25.28, allocations: 40.12 kB / 7.668 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/25.28, allocations: 37.92 kB / 7.668 GB, free: 10.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004193/25.28, allocations: 236.4 kB / 7.668 GB, free: 10.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/25.28, allocations: 0 / 7.668 GB, free: 10.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01062/25.29, allocations: 1.968 MB / 7.67 GB, free: 10.15 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.02178/25.31, allocations: 4.853 MB / 7.675 GB, free: 8.539 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002362/25.31, allocations: 0.7699 MB / 7.675 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/25.31, allocations: 0 / 7.675 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000971/25.31, allocations: 307.6 kB / 7.676 GB, free: 8.293 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/25.32, allocations: 281.7 kB / 7.676 GB, free: 8.273 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/25.33, allocations: 1.785 MB / 7.678 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/25.33, allocations: 0.852 MB / 7.678 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001061/25.33, allocations: 138.5 kB / 7.679 GB, free: 6.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/25.33, allocations: 166.4 kB / 7.679 GB, free: 6.891 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/25.33, allocations: 0 / 7.679 GB, free: 6.891 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5622/25.89, allocations: 76.82 MB / 7.754 GB, free: 43.48 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/25.89, allocations: 212.8 kB / 7.754 GB, free: 43.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/32.84, allocations: 1.312 kB / 7.754 GB, free: 43.26 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