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.701/1.701, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.201e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2775, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.56/19.84, allocations: 6.523 GB / 6.781 GB, free: 72.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/19.84, allocations: 76.7 kB / 6.781 GB, free: 72.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.556/24.4, allocations: 0.8372 GB / 7.618 GB, free: 17.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.402e-06/24.4, allocations: 0 / 7.618 GB, free: 17.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.066e-05/24.4, allocations: 13.41 kB / 7.618 GB, free: 17.97 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.01377/24.41, allocations: 2.9 MB / 7.621 GB, free: 16.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/24.41, allocations: 7.688 kB / 7.621 GB, free: 16.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/24.41, allocations: 81.67 kB / 7.621 GB, free: 16.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/24.41, allocations: 60.14 kB / 7.621 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/24.41, allocations: 361.4 kB / 7.622 GB, free: 16.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/24.41, allocations: 36.03 kB / 7.622 GB, free: 16.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/24.41, allocations: 40.38 kB / 7.622 GB, free: 16.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/24.42, allocations: 0.5082 MB / 7.622 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/24.42, allocations: 3.938 kB / 7.622 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/24.42, allocations: 20.75 kB / 7.622 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/24.42, allocations: 11 kB / 7.622 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/24.42, allocations: 0.6235 MB / 7.623 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02027/24.44, allocations: 11.7 MB / 7.634 GB, free: 21.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/24.44, allocations: 0.6426 MB / 7.635 GB, free: 21.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/24.44, allocations: 255.7 kB / 7.635 GB, free: 21.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03492/24.47, allocations: 20.13 MB / 7.655 GB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/24.47, allocations: 39.31 kB / 7.655 GB, free: 16.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.346e-06/24.47, allocations: 0 / 7.655 GB, free: 16.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.008403/24.48, allocations: 1.737 MB / 7.657 GB, free: 16.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/24.48, allocations: 55.94 kB / 7.657 GB, free: 16.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/24.48, allocations: 295 kB / 7.657 GB, free: 16.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/24.48, allocations: 39.67 kB / 7.657 GB, free: 16.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/24.48, allocations: 249.4 kB / 7.657 GB, free: 16.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/24.48, allocations: 187.7 kB / 7.657 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/24.48, allocations: 12.62 kB / 7.657 GB, free: 15.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/24.48, allocations: 334 kB / 7.658 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/24.48, allocations: 204.6 kB / 7.658 GB, free: 15.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/24.49, allocations: 302.5 kB / 7.658 GB, free: 15.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/24.49, allocations: 258 kB / 7.658 GB, free: 15.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/24.49, allocations: 0 / 7.658 GB, free: 15.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00247/24.49, allocations: 0.681 MB / 7.659 GB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/24.49, allocations: 6.719 kB / 7.659 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/24.49, allocations: 3.75 kB / 7.659 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007789/24.49, allocations: 111.6 kB / 7.659 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/24.49, allocations: 119.7 kB / 7.659 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/24.49, allocations: 3.274 MB / 7.663 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/24.49, allocations: 43.08 kB / 7.663 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/24.49, allocations: 34.38 kB / 7.663 GB, free: 12.26 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.0002454/24.49, allocations: 130.5 kB / 7.663 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004096/24.5, allocations: 50.44 kB / 7.663 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/24.5, allocations: 0.7162 MB / 7.663 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/24.5, allocations: 10.31 kB / 7.663 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/24.5, allocations: 0 / 7.663 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001674/24.5, allocations: 0.7765 MB / 7.664 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/24.5, allocations: 1.402 MB / 7.666 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/24.5, allocations: 2.219 kB / 7.666 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/24.5, allocations: 116 kB / 7.666 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/24.51, allocations: 151.6 kB / 7.666 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/24.51, allocations: 27.33 kB / 7.666 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005331/24.51, allocations: 0.656 MB / 7.667 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/24.51, allocations: 3 kB / 7.667 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/24.51, allocations: 0.9942 MB / 7.667 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/24.51, allocations: 129.3 kB / 7.668 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/24.51, allocations: 13.69 kB / 7.668 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000788/24.51, allocations: 40.64 kB / 7.668 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/24.51, allocations: 42.62 kB / 7.668 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/24.51, allocations: 34.44 kB / 7.668 GB, free: 10.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003623/24.51, allocations: 233.8 kB / 7.668 GB, free: 10.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/24.51, allocations: 0 / 7.668 GB, free: 10.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009128/24.52, allocations: 1.965 MB / 7.67 GB, free: 9.797 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.01926/24.54, allocations: 4.838 MB / 7.675 GB, free: 8.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002297/24.54, allocations: 0.7851 MB / 7.675 GB, free: 7.957 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/24.54, allocations: 6.688 kB / 7.675 GB, free: 7.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000858/24.54, allocations: 308.5 kB / 7.676 GB, free: 7.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/24.54, allocations: 288.2 kB / 7.676 GB, free: 7.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008106/24.55, allocations: 1.84 MB / 7.678 GB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/24.55, allocations: 0.8555 MB / 7.679 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/24.55, allocations: 167.6 kB / 7.679 GB, free: 6.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/24.55, allocations: 0 / 7.679 GB, free: 6.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.684/29.24, allocations: 56.84 MB / 7.734 GB, free: 48.54 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