Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.36e-05/5.374e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2695, allocations: 38.77 MB / 263.8 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.61/19.88, allocations: 6.523 GB / 6.781 GB, free: 70.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/19.88, allocations: 76.59 kB / 6.781 GB, free: 70.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.832/23.71, allocations: 0.6637 GB / 7.445 GB, free: 38.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/23.71, allocations: 2.406 kB / 7.445 GB, free: 38.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.638e-05/23.71, allocations: 9.969 kB / 7.445 GB, free: 38.17 MB / 410.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.01292/23.73, allocations: 2.403 MB / 7.447 GB, free: 37.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/23.73, allocations: 7.75 kB / 7.447 GB, free: 37.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002039/23.73, allocations: 106.5 kB / 7.447 GB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/23.73, allocations: 80.78 kB / 7.447 GB, free: 37.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009095/23.73, allocations: 444 kB / 7.448 GB, free: 36.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/23.73, allocations: 48.84 kB / 7.448 GB, free: 36.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/23.73, allocations: 63.66 kB / 7.448 GB, free: 36.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/23.73, allocations: 0.6928 MB / 7.449 GB, free: 36.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/23.73, allocations: 5.875 kB / 7.449 GB, free: 36.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/23.73, allocations: 29.56 kB / 7.449 GB, free: 36.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/23.73, allocations: 19.09 kB / 7.449 GB, free: 36.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/23.73, allocations: 0.8622 MB / 7.45 GB, free: 36.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/23.76, allocations: 12.42 MB / 7.462 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/23.76, allocations: 0.8719 MB / 7.463 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009867/23.76, allocations: 411.4 kB / 7.463 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05372/23.81, allocations: 30.2 MB / 7.492 GB, free: 27.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/23.81, allocations: 50.97 kB / 7.492 GB, free: 27.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 4.028e-06/23.81, allocations: 0 / 7.492 GB, free: 27.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.016/23.83, allocations: 2.932 MB / 7.495 GB, free: 26.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/23.83, allocations: 62.41 kB / 7.495 GB, free: 26.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/23.83, allocations: 316.4 kB / 7.496 GB, free: 26.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001907/23.83, allocations: 43.55 kB / 7.496 GB, free: 26.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/23.83, allocations: 288.3 kB / 7.496 GB, free: 26.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/23.83, allocations: 308.8 kB / 7.496 GB, free: 25.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/23.83, allocations: 17.72 kB / 7.496 GB, free: 25.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/23.83, allocations: 344.3 kB / 7.497 GB, free: 25.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/23.83, allocations: 325.9 kB / 7.497 GB, free: 25.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/23.83, allocations: 433.3 kB / 7.497 GB, free: 25.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/23.83, allocations: 391.1 kB / 7.498 GB, free: 25.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/23.83, allocations: 0 / 7.498 GB, free: 25.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00357/23.84, allocations: 1 MB / 7.499 GB, free: 25.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/23.84, allocations: 6.031 kB / 7.499 GB, free: 25.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/23.84, allocations: 6.531 kB / 7.499 GB, free: 25.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/23.84, allocations: 170.1 kB / 7.499 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/23.84, allocations: 189.4 kB / 7.499 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/23.84, allocations: 3.911 MB / 7.503 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/23.85, allocations: 63.84 kB / 7.503 GB, free: 21.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/23.85, allocations: 47.39 kB / 7.503 GB, free: 21.77 MB / 442.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.0003386/23.85, allocations: 154.2 kB / 7.503 GB, free: 21.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005595/23.85, allocations: 61.44 kB / 7.503 GB, free: 21.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/23.85, allocations: 1.113 MB / 7.504 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/23.85, allocations: 9.094 kB / 7.504 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/23.85, allocations: 2.875 kB / 7.504 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002848/23.85, allocations: 1.317 MB / 7.506 GB, free: 20.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005502/23.86, allocations: 2.065 MB / 7.508 GB, free: 20.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/23.86, allocations: 3.797 kB / 7.508 GB, free: 20.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/23.86, allocations: 184.4 kB / 7.508 GB, free: 20.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002862/23.86, allocations: 309.7 kB / 7.508 GB, free: 20.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/23.86, allocations: 37.17 kB / 7.508 GB, free: 20.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/23.87, allocations: 1.294 MB / 7.509 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/23.87, allocations: 3.562 kB / 7.509 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004169/23.87, allocations: 1.479 MB / 7.511 GB, free: 18.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/23.87, allocations: 143.3 kB / 7.511 GB, free: 18.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/23.87, allocations: 19.72 kB / 7.511 GB, free: 18.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/23.87, allocations: 63.14 kB / 7.511 GB, free: 18.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/23.87, allocations: 61.75 kB / 7.511 GB, free: 18.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/23.87, allocations: 55.53 kB / 7.511 GB, free: 18.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004498/23.87, allocations: 256.7 kB / 7.511 GB, free: 18.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/23.87, allocations: 0 / 7.511 GB, free: 18.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01094/23.88, allocations: 2.292 MB / 7.514 GB, free: 18.26 MB / 442.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.02365/23.91, allocations: 5.634 MB / 7.519 GB, free: 16.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003238/23.91, allocations: 1.115 MB / 7.52 GB, free: 16.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/23.91, allocations: 0 / 7.52 GB, free: 16.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/23.91, allocations: 0.4997 MB / 7.521 GB, free: 16.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/23.91, allocations: 393.4 kB / 7.521 GB, free: 16.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/23.93, allocations: 2.57 MB / 7.524 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/23.93, allocations: 0.9396 MB / 7.525 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/23.93, allocations: 245.5 kB / 7.525 GB, free: 14.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/23.93, allocations: 0 / 7.525 GB, free: 14.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.578/28.51, allocations: 70.82 MB / 7.594 GB, free: 0.6406 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat