Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.015e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.0953, allocations: 44.5 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.31/19.4, allocations: 6.53 GB / 6.822 GB, free: 93.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003673/19.4, allocations: 73.88 kB / 6.823 GB, free: 93.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.793/23.2, allocations: 0.6651 GB / 7.488 GB, free: 24.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/23.2, allocations: 0 / 7.488 GB, free: 24.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.691e-05/23.2, allocations: 16.22 kB / 7.488 GB, free: 24.15 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.01173/23.21, allocations: 2.4 MB / 7.49 GB, free: 22.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/23.21, allocations: 8.375 kB / 7.49 GB, free: 22.74 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/23.21, allocations: 106.6 kB / 7.49 GB, free: 22.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005945/23.21, allocations: 90.42 kB / 7.49 GB, free: 22.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008637/23.21, allocations: 436.3 kB / 7.491 GB, free: 22.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/23.21, allocations: 47.19 kB / 7.491 GB, free: 22.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/23.21, allocations: 64.58 kB / 7.491 GB, free: 22.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/23.21, allocations: 0.6906 MB / 7.491 GB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/23.21, allocations: 3.906 kB / 7.491 GB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/23.21, allocations: 30.03 kB / 7.491 GB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/23.21, allocations: 13.16 kB / 7.491 GB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/23.22, allocations: 0.8588 MB / 7.492 GB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0211/23.24, allocations: 12.66 MB / 7.505 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/23.24, allocations: 0.8705 MB / 7.506 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009705/23.24, allocations: 406.9 kB / 7.506 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05326/23.29, allocations: 30.2 MB / 7.535 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/23.29, allocations: 45.55 kB / 7.535 GB, free: 12.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 3.957e-06/23.29, allocations: 2.5 kB / 7.535 GB, free: 12.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01615/23.31, allocations: 2.932 MB / 7.538 GB, free: 11.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/23.31, allocations: 61.84 kB / 7.538 GB, free: 11.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/23.31, allocations: 318.2 kB / 7.539 GB, free: 11.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/23.31, allocations: 41.86 kB / 7.539 GB, free: 11.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/23.31, allocations: 289.4 kB / 7.539 GB, free: 11.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/23.31, allocations: 311.2 kB / 7.539 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/23.31, allocations: 14.78 kB / 7.539 GB, free: 11.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/23.31, allocations: 340 kB / 7.54 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008913/23.31, allocations: 327.2 kB / 7.54 GB, free: 10.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/23.31, allocations: 431.8 kB / 7.54 GB, free: 10.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/23.32, allocations: 387.9 kB / 7.541 GB, free: 10.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/23.32, allocations: 0.8125 kB / 7.541 GB, free: 10.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003655/23.32, allocations: 0.9841 MB / 7.542 GB, free: 10.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/23.32, allocations: 7.531 kB / 7.542 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/23.32, allocations: 3.469 kB / 7.542 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/23.32, allocations: 166.7 kB / 7.542 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/23.32, allocations: 196 kB / 7.542 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/23.33, allocations: 3.901 MB / 7.546 GB, free: 22.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/23.33, allocations: 68.56 kB / 7.546 GB, free: 22.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/23.33, allocations: 40.34 kB / 7.546 GB, free: 22.9 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.0003964/23.33, allocations: 156.4 kB / 7.546 GB, free: 22.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006566/23.33, allocations: 59.97 kB / 7.546 GB, free: 22.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/23.33, allocations: 1.099 MB / 7.547 GB, free: 22.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/23.33, allocations: 9.281 kB / 7.547 GB, free: 22.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/23.33, allocations: 0 / 7.547 GB, free: 22.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003021/23.34, allocations: 1.318 MB / 7.549 GB, free: 21.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/23.34, allocations: 2.083 MB / 7.551 GB, free: 21.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/23.34, allocations: 0 / 7.551 GB, free: 21.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/23.34, allocations: 183.3 kB / 7.551 GB, free: 21.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002994/23.35, allocations: 297.6 kB / 7.551 GB, free: 21.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/23.35, allocations: 33.48 kB / 7.551 GB, free: 21.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/23.35, allocations: 1.293 MB / 7.552 GB, free: 20.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/23.35, allocations: 2.906 kB / 7.552 GB, free: 20.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/23.35, allocations: 1.483 MB / 7.554 GB, free: 20.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/23.35, allocations: 148.6 kB / 7.554 GB, free: 19.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/23.35, allocations: 19.5 kB / 7.554 GB, free: 19.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/23.35, allocations: 49.86 kB / 7.554 GB, free: 19.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/23.35, allocations: 67.28 kB / 7.554 GB, free: 19.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/23.35, allocations: 48.42 kB / 7.554 GB, free: 19.89 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004663/23.36, allocations: 263.2 kB / 7.554 GB, free: 19.81 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.964e-06/23.36, allocations: 0 / 7.554 GB, free: 19.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01196/23.37, allocations: 2.298 MB / 7.557 GB, free: 19.34 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.0249/23.39, allocations: 5.644 MB / 7.562 GB, free: 17.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003282/23.4, allocations: 1.091 MB / 7.563 GB, free: 17.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.954e-06/23.4, allocations: 6.688 kB / 7.563 GB, free: 17.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/23.4, allocations: 0.4953 MB / 7.564 GB, free: 16.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/23.4, allocations: 390.6 kB / 7.564 GB, free: 16.83 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/23.41, allocations: 2.555 MB / 7.567 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/23.41, allocations: 0.9363 MB / 7.567 GB, free: 14.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/23.41, allocations: 246.8 kB / 7.568 GB, free: 14.82 MB / 474.7 MB Notification: Performance of SimCode: time 1.283e-06/23.41, allocations: 5.312 kB / 7.568 GB, free: 14.81 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.954/28.37, allocations: 71.11 MB / 7.637 GB, free: 58.32 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat