Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 6.034e-05/6.052e-05, allocations: 7.984 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 44.52 MB / 299.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.09/20.19, allocations: 6.53 GB / 6.822 GB, free: 93.97 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/20.19, allocations: 76.41 kB / 6.823 GB, free: 93.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.471/24.66, allocations: 0.8402 GB / 7.663 GB, free: 27.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/24.66, allocations: 384 / 7.663 GB, free: 27.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.408e-05/24.66, allocations: 12.44 kB / 7.663 GB, free: 27.39 MB / 442.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.01445/24.68, allocations: 2.897 MB / 7.666 GB, free: 25.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/24.68, allocations: 11 kB / 7.666 GB, free: 25.74 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/24.68, allocations: 84.19 kB / 7.666 GB, free: 25.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004971/24.68, allocations: 54.06 kB / 7.666 GB, free: 25.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/24.68, allocations: 361.1 kB / 7.666 GB, free: 25.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/24.68, allocations: 33.75 kB / 7.666 GB, free: 25.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/24.68, allocations: 42.41 kB / 7.666 GB, free: 25.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/24.68, allocations: 0.504 MB / 7.667 GB, free: 25.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/24.68, allocations: 6.906 kB / 7.667 GB, free: 25.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/24.68, allocations: 17 kB / 7.667 GB, free: 25.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/24.68, allocations: 10.69 kB / 7.667 GB, free: 25.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/24.68, allocations: 0.62 MB / 7.667 GB, free: 25.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/24.7, allocations: 11.88 MB / 7.679 GB, free: 30.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/24.7, allocations: 0.6358 MB / 7.68 GB, free: 30.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/24.7, allocations: 253.6 kB / 7.68 GB, free: 30.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03615/24.74, allocations: 20.13 MB / 7.699 GB, free: 25.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/24.74, allocations: 49.48 kB / 7.699 GB, free: 25.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 2.645e-06/24.74, allocations: 0 / 7.699 GB, free: 25.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.00901/24.75, allocations: 1.735 MB / 7.701 GB, free: 25.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/24.75, allocations: 58.97 kB / 7.701 GB, free: 25.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/24.75, allocations: 282.7 kB / 7.701 GB, free: 25.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/24.75, allocations: 39.33 kB / 7.702 GB, free: 25.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/24.75, allocations: 251.1 kB / 7.702 GB, free: 24.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/24.75, allocations: 197 kB / 7.702 GB, free: 24.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/24.75, allocations: 12.22 kB / 7.702 GB, free: 24.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/24.75, allocations: 337.4 kB / 7.702 GB, free: 24.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/24.75, allocations: 210.8 kB / 7.702 GB, free: 24.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008941/24.75, allocations: 296.6 kB / 7.703 GB, free: 24.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008768/24.75, allocations: 260.3 kB / 7.703 GB, free: 24.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/24.75, allocations: 0 / 7.703 GB, free: 24.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002561/24.76, allocations: 0.6709 MB / 7.704 GB, free: 24.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/24.76, allocations: 6.156 kB / 7.704 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/24.76, allocations: 2.75 kB / 7.704 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008087/24.76, allocations: 113 kB / 7.704 GB, free: 24.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/24.76, allocations: 126.5 kB / 7.704 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/24.76, allocations: 3.27 MB / 7.707 GB, free: 21.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008536/24.76, allocations: 37.81 kB / 7.707 GB, free: 21.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/24.76, allocations: 30.19 kB / 7.707 GB, free: 21.03 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 (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.0002697/24.76, allocations: 142.5 kB / 7.707 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004251/24.76, allocations: 48.31 kB / 7.707 GB, free: 20.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/24.77, allocations: 0.7071 MB / 7.708 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/24.77, allocations: 12.97 kB / 7.708 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/24.77, allocations: 0 / 7.708 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001706/24.77, allocations: 0.7766 MB / 7.709 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/24.77, allocations: 1.41 MB / 7.71 GB, free: 20.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/24.77, allocations: 3.812 kB / 7.71 GB, free: 20.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009682/24.77, allocations: 108 kB / 7.71 GB, free: 20.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/24.77, allocations: 153.5 kB / 7.71 GB, free: 20.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/24.77, allocations: 26.14 kB / 7.71 GB, free: 20.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005708/24.77, allocations: 0.6463 MB / 7.711 GB, free: 19.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/24.77, allocations: 0 / 7.711 GB, free: 19.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/24.78, allocations: 1.004 MB / 7.712 GB, free: 19.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/24.78, allocations: 129.8 kB / 7.712 GB, free: 19.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/24.78, allocations: 14.16 kB / 7.712 GB, free: 19.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/24.78, allocations: 38.34 kB / 7.712 GB, free: 19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/24.78, allocations: 36.72 kB / 7.712 GB, free: 19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.891e-05/24.78, allocations: 35.84 kB / 7.712 GB, free: 19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003902/24.78, allocations: 236.9 kB / 7.713 GB, free: 18.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.2e-07/24.78, allocations: 0 / 7.713 GB, free: 18.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009926/24.79, allocations: 1.97 MB / 7.714 GB, free: 18.53 MB / 474.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.02118/24.81, allocations: 4.832 MB / 7.719 GB, free: 16.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002636/24.81, allocations: 0.7945 MB / 7.72 GB, free: 16.52 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/24.81, allocations: 0 / 7.72 GB, free: 16.52 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/24.81, allocations: 311.2 kB / 7.72 GB, free: 16.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/24.82, allocations: 286.9 kB / 7.721 GB, free: 16.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008542/24.83, allocations: 1.831 MB / 7.722 GB, free: 15.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/24.83, allocations: 0.8532 MB / 7.723 GB, free: 14.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/24.83, allocations: 166.8 kB / 7.723 GB, free: 14.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/24.83, allocations: 0 / 7.723 GB, free: 14.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.697/29.52, allocations: 56.87 MB / 7.779 GB, free: 56.98 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat