Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.821e-05, allocations: 0 / 255.4 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.1/20.2, allocations: 6.53 GB / 6.822 GB, free: 98.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/20.2, allocations: 74.5 kB / 6.823 GB, free: 98.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.904/24.11, allocations: 0.6651 GB / 7.488 GB, free: 24.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/24.11, allocations: 0 / 7.488 GB, free: 24.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.933e-05/24.11, allocations: 16.38 kB / 7.488 GB, free: 24.38 MB / 426.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.01182/24.12, allocations: 2.396 MB / 7.49 GB, free: 23.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/24.12, allocations: 8.219 kB / 7.49 GB, free: 23.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/24.12, allocations: 102.6 kB / 7.49 GB, free: 22.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006572/24.12, allocations: 99.98 kB / 7.49 GB, free: 22.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009827/24.12, allocations: 432.8 kB / 7.491 GB, free: 22.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/24.12, allocations: 47.48 kB / 7.491 GB, free: 22.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/24.12, allocations: 63.03 kB / 7.491 GB, free: 22.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/24.12, allocations: 0.6967 MB / 7.491 GB, free: 22.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/24.12, allocations: 7.438 kB / 7.491 GB, free: 22.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/24.12, allocations: 26.34 kB / 7.491 GB, free: 22.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/24.12, allocations: 19.22 kB / 7.491 GB, free: 22.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/24.13, allocations: 0.8593 MB / 7.492 GB, free: 22.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02282/24.15, allocations: 12.67 MB / 7.505 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/24.15, allocations: 0.8766 MB / 7.506 GB, free: 27.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/24.15, allocations: 406.7 kB / 7.506 GB, free: 27.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05558/24.21, allocations: 30.2 MB / 7.535 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.604e-05/24.21, allocations: 51.44 kB / 7.535 GB, free: 12.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 4.339e-06/24.21, allocations: 3.062 kB / 7.535 GB, free: 12.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01651/24.23, allocations: 2.929 MB / 7.538 GB, free: 12.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/24.23, allocations: 62.56 kB / 7.538 GB, free: 12.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/24.23, allocations: 321 kB / 7.539 GB, free: 11.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002117/24.23, allocations: 43.7 kB / 7.539 GB, free: 11.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/24.23, allocations: 235.9 kB / 7.539 GB, free: 11.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/24.23, allocations: 313.6 kB / 7.539 GB, free: 11.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/24.23, allocations: 16.16 kB / 7.539 GB, free: 11.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/24.23, allocations: 358.3 kB / 7.54 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008341/24.23, allocations: 323.5 kB / 7.54 GB, free: 11.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/24.23, allocations: 438 kB / 7.54 GB, free: 11.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/24.23, allocations: 394.7 kB / 7.541 GB, free: 11.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/24.23, allocations: 0 / 7.541 GB, free: 11.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003768/24.23, allocations: 1.017 MB / 7.542 GB, free: 10.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.371e-05/24.23, allocations: 11.77 kB / 7.542 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/24.23, allocations: 0 / 7.542 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/24.24, allocations: 172.1 kB / 7.542 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/24.24, allocations: 193.8 kB / 7.542 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/24.24, allocations: 3.916 MB / 7.546 GB, free: 23.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/24.24, allocations: 59.56 kB / 7.546 GB, free: 23.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/24.24, allocations: 46.22 kB / 7.546 GB, free: 23.25 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 (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.0003689/24.24, allocations: 152.1 kB / 7.546 GB, free: 23.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005989/24.24, allocations: 62.48 kB / 7.546 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/24.25, allocations: 1.108 MB / 7.547 GB, free: 22.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/24.25, allocations: 11.5 kB / 7.547 GB, free: 22.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/24.25, allocations: 3.938 kB / 7.547 GB, free: 22.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003189/24.25, allocations: 1.32 MB / 7.549 GB, free: 22.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/24.26, allocations: 2.064 MB / 7.551 GB, free: 21.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/24.26, allocations: 3.375 kB / 7.551 GB, free: 21.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/24.26, allocations: 182 kB / 7.551 GB, free: 21.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/24.26, allocations: 310.3 kB / 7.551 GB, free: 21.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003014/24.26, allocations: 32.97 kB / 7.551 GB, free: 21.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/24.26, allocations: 1.298 MB / 7.552 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/24.26, allocations: 0 / 7.552 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/24.27, allocations: 1.48 MB / 7.554 GB, free: 20.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/24.27, allocations: 137.1 kB / 7.554 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/24.27, allocations: 27.97 kB / 7.554 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/24.27, allocations: 60.22 kB / 7.554 GB, free: 20.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/24.27, allocations: 61.28 kB / 7.554 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/24.27, allocations: 59.39 kB / 7.554 GB, free: 20.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004908/24.27, allocations: 255.3 kB / 7.554 GB, free: 20.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/24.27, allocations: 3.062 kB / 7.554 GB, free: 20.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01196/24.28, allocations: 2.299 MB / 7.557 GB, free: 19.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (97): * Single equations (assignments): 95 * 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.02433/24.31, allocations: 5.622 MB / 7.562 GB, free: 18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00334/24.31, allocations: 1.113 MB / 7.563 GB, free: 17.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/24.31, allocations: 3.906 kB / 7.563 GB, free: 17.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/24.31, allocations: 0.502 MB / 7.564 GB, free: 17.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/24.32, allocations: 391.8 kB / 7.564 GB, free: 17.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/24.33, allocations: 2.51 MB / 7.567 GB, free: 16.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/24.33, allocations: 0.9417 MB / 7.567 GB, free: 16.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001357/24.33, allocations: 192.7 kB / 7.568 GB, free: 16.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/24.33, allocations: 236.6 kB / 7.568 GB, free: 16.08 MB / 474.7 MB Notification: Performance of SimCode: time 2.675e-06/24.33, allocations: 0 / 7.568 GB, free: 16.08 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6282/24.96, allocations: 89.49 MB / 7.655 GB, free: 56 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/24.96, allocations: 213.8 kB / 7.655 GB, free: 55.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/32.69, allocations: 0 / 7.655 GB, free: 55.77 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat