Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.683/1.683, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.158e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2597, allocations: 38.78 MB / 263.9 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.36/19.62, allocations: 6.523 GB / 6.781 GB, free: 74.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/19.62, allocations: 76.83 kB / 6.781 GB, free: 74.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.722/24.34, allocations: 0.8372 GB / 7.618 GB, free: 18.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.967e-06/24.34, allocations: 0 / 7.618 GB, free: 18.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.657e-05/24.34, allocations: 14.36 kB / 7.618 GB, free: 18.46 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.01512/24.35, allocations: 2.896 MB / 7.621 GB, free: 16.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/24.35, allocations: 11.06 kB / 7.621 GB, free: 16.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/24.35, allocations: 83.86 kB / 7.621 GB, free: 16.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/24.35, allocations: 61.59 kB / 7.621 GB, free: 16.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/24.36, allocations: 359.2 kB / 7.622 GB, free: 16.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/24.36, allocations: 33.53 kB / 7.622 GB, free: 16.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/24.36, allocations: 42.69 kB / 7.622 GB, free: 16.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/24.36, allocations: 0.5023 MB / 7.622 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/24.36, allocations: 0 / 7.622 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/24.36, allocations: 23.75 kB / 7.622 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/24.36, allocations: 7.625 kB / 7.622 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/24.36, allocations: 0.6181 MB / 7.623 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0215/24.38, allocations: 11.7 MB / 7.634 GB, free: 21.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/24.38, allocations: 0.6277 MB / 7.635 GB, free: 21.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/24.38, allocations: 254.7 kB / 7.635 GB, free: 21.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03747/24.42, allocations: 20.13 MB / 7.655 GB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/24.42, allocations: 40.62 kB / 7.655 GB, free: 17.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 2.976e-06/24.42, allocations: 0 / 7.655 GB, free: 17.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.009299/24.43, allocations: 1.727 MB / 7.657 GB, free: 16.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/24.43, allocations: 58.44 kB / 7.657 GB, free: 16.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/24.43, allocations: 298.3 kB / 7.657 GB, free: 16.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/24.43, allocations: 38.64 kB / 7.657 GB, free: 16.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/24.43, allocations: 247.9 kB / 7.657 GB, free: 16.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/24.43, allocations: 193.6 kB / 7.657 GB, free: 16.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/24.43, allocations: 10.62 kB / 7.657 GB, free: 16.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/24.43, allocations: 337.5 kB / 7.658 GB, free: 16.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/24.43, allocations: 206.2 kB / 7.658 GB, free: 16.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009056/24.43, allocations: 293.3 kB / 7.658 GB, free: 16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/24.43, allocations: 256.2 kB / 7.658 GB, free: 15.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/24.43, allocations: 2.594 kB / 7.658 GB, free: 15.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002571/24.44, allocations: 0.6669 MB / 7.659 GB, free: 15.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/24.44, allocations: 5.312 kB / 7.659 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/24.44, allocations: 6.328 kB / 7.659 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007411/24.44, allocations: 108.8 kB / 7.659 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/24.44, allocations: 121.4 kB / 7.659 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/24.44, allocations: 3.264 MB / 7.662 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/24.44, allocations: 40.23 kB / 7.663 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-05/24.44, allocations: 29.47 kB / 7.663 GB, free: 12.76 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.0002713/24.44, allocations: 144.5 kB / 7.663 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/24.44, allocations: 46.88 kB / 7.663 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/24.45, allocations: 0.6996 MB / 7.663 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/24.45, allocations: 6.406 kB / 7.663 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/24.45, allocations: 0 / 7.663 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/24.45, allocations: 0.7781 MB / 7.664 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/24.45, allocations: 1.397 MB / 7.666 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/24.45, allocations: 3.281 kB / 7.666 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/24.45, allocations: 118 kB / 7.666 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/24.45, allocations: 156.8 kB / 7.666 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/24.45, allocations: 24.41 kB / 7.666 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000627/24.46, allocations: 0.6489 MB / 7.666 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/24.46, allocations: 3.562 kB / 7.666 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/24.46, allocations: 0.9891 MB / 7.667 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/24.46, allocations: 130.7 kB / 7.668 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/24.46, allocations: 16.55 kB / 7.668 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008479/24.46, allocations: 33.62 kB / 7.668 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.351e-05/24.46, allocations: 43.08 kB / 7.668 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.931e-05/24.46, allocations: 37.38 kB / 7.668 GB, free: 10.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003975/24.46, allocations: 233.4 kB / 7.668 GB, free: 10.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/24.46, allocations: 0 / 7.668 GB, free: 10.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009766/24.47, allocations: 1.964 MB / 7.67 GB, free: 10.3 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.02032/24.49, allocations: 4.85 MB / 7.675 GB, free: 8.695 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002288/24.49, allocations: 0.7636 MB / 7.675 GB, free: 8.477 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/24.49, allocations: 3.844 kB / 7.675 GB, free: 8.477 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009244/24.49, allocations: 314 kB / 7.676 GB, free: 8.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/24.5, allocations: 280.3 kB / 7.676 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008458/24.5, allocations: 1.831 MB / 7.678 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/24.51, allocations: 0.855 MB / 7.679 GB, free: 7.031 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/24.51, allocations: 175 kB / 7.679 GB, free: 7.023 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/24.51, allocations: 0 / 7.679 GB, free: 7.023 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.866/29.37, allocations: 56.97 MB / 7.734 GB, free: 48.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat