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.791/1.791, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.192e-05/4.221e-05, allocations: 0 / 225.1 MB, free: 2.742 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3327, allocations: 38.77 MB / 263.8 MB, free: 9.777 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 21.57/21.9, allocations: 6.523 GB / 6.781 GB, free: 68.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/21.9, allocations: 69.84 kB / 6.781 GB, free: 68.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.131/26.03, allocations: 0.6637 GB / 7.445 GB, free: 38.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.006e-06/26.03, allocations: 1.719 kB / 7.445 GB, free: 38.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.702e-05/26.03, allocations: 18.22 kB / 7.445 GB, free: 38.32 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.01267/26.04, allocations: 2.404 MB / 7.447 GB, free: 37.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/26.04, allocations: 6.562 kB / 7.447 GB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002616/26.04, allocations: 105.2 kB / 7.447 GB, free: 37.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008092/26.04, allocations: 79.14 kB / 7.447 GB, free: 37.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/26.05, allocations: 440.9 kB / 7.448 GB, free: 36.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/26.05, allocations: 50.59 kB / 7.448 GB, free: 36.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/26.05, allocations: 61.09 kB / 7.448 GB, free: 36.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/26.05, allocations: 0.6958 MB / 7.449 GB, free: 36.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/26.05, allocations: 2.219 kB / 7.449 GB, free: 36.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/26.05, allocations: 27.78 kB / 7.449 GB, free: 36.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/26.05, allocations: 15.78 kB / 7.449 GB, free: 36.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004073/26.05, allocations: 0.8534 MB / 7.45 GB, free: 36.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/26.08, allocations: 12.42 MB / 7.462 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/26.09, allocations: 0.8708 MB / 7.463 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/26.09, allocations: 412.8 kB / 7.463 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06169/26.15, allocations: 30.2 MB / 7.492 GB, free: 27.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/26.15, allocations: 54.09 kB / 7.492 GB, free: 27.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.306e-06/26.15, allocations: 0 / 7.492 GB, free: 27.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.01578/26.17, allocations: 2.916 MB / 7.495 GB, free: 26.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/26.17, allocations: 64.72 kB / 7.495 GB, free: 26.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/26.17, allocations: 324.8 kB / 7.496 GB, free: 26.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/26.17, allocations: 43.08 kB / 7.496 GB, free: 26.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/26.17, allocations: 286.3 kB / 7.496 GB, free: 26.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/26.17, allocations: 307.5 kB / 7.496 GB, free: 26.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/26.17, allocations: 16.56 kB / 7.496 GB, free: 26.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/26.17, allocations: 351.3 kB / 7.497 GB, free: 25.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008293/26.17, allocations: 319.5 kB / 7.497 GB, free: 25.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/26.17, allocations: 433.3 kB / 7.497 GB, free: 25.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/26.17, allocations: 386.1 kB / 7.498 GB, free: 25.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/26.17, allocations: 0 / 7.498 GB, free: 25.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003494/26.17, allocations: 0.9845 MB / 7.499 GB, free: 25.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/26.17, allocations: 5.906 kB / 7.499 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/26.17, allocations: 3.469 kB / 7.499 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/26.18, allocations: 172.4 kB / 7.499 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/26.18, allocations: 190.3 kB / 7.499 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/26.18, allocations: 3.9 MB / 7.503 GB, free: 21.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/26.18, allocations: 71.5 kB / 7.503 GB, free: 21.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/26.18, allocations: 43.72 kB / 7.503 GB, free: 21.9 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.0003639/26.18, allocations: 158.9 kB / 7.503 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/26.18, allocations: 58.19 kB / 7.503 GB, free: 21.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/26.19, allocations: 1.093 MB / 7.504 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/26.19, allocations: 8.219 kB / 7.504 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/26.19, allocations: 0 / 7.504 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002796/26.19, allocations: 1.328 MB / 7.506 GB, free: 20.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/26.19, allocations: 2.057 MB / 7.508 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/26.19, allocations: 6.281 kB / 7.508 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/26.2, allocations: 178.4 kB / 7.508 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002974/26.2, allocations: 315.8 kB / 7.508 GB, free: 20.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/26.2, allocations: 35.59 kB / 7.508 GB, free: 20.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/26.2, allocations: 1.291 MB / 7.509 GB, free: 19.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/26.2, allocations: 2.906 kB / 7.509 GB, free: 19.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/26.21, allocations: 1.48 MB / 7.511 GB, free: 19.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/26.21, allocations: 139.4 kB / 7.511 GB, free: 18.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/26.21, allocations: 22.22 kB / 7.511 GB, free: 18.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/26.21, allocations: 61.16 kB / 7.511 GB, free: 18.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/26.21, allocations: 62.5 kB / 7.511 GB, free: 18.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/26.21, allocations: 46.91 kB / 7.511 GB, free: 18.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004606/26.21, allocations: 269.3 kB / 7.511 GB, free: 18.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/26.21, allocations: 0 / 7.511 GB, free: 18.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01133/26.22, allocations: 2.291 MB / 7.514 GB, free: 18.4 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.02431/26.24, allocations: 5.647 MB / 7.519 GB, free: 16.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003331/26.25, allocations: 1.095 MB / 7.52 GB, free: 16.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/26.25, allocations: 3.688 kB / 7.52 GB, free: 16.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/26.25, allocations: 0.491 MB / 7.521 GB, free: 16.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/26.25, allocations: 390.5 kB / 7.521 GB, free: 16.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/26.26, allocations: 2.552 MB / 7.524 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/26.26, allocations: 0.9357 MB / 7.524 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006914/26.26, allocations: 246.6 kB / 7.525 GB, free: 14.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/26.26, allocations: 0 / 7.525 GB, free: 14.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.571/30.84, allocations: 71.04 MB / 7.594 GB, free: 48 kB / 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