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 1.919/1.919, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.366e-05, allocations: 0 / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.0957, allocations: 44.51 MB / 300 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.28/19.38, allocations: 6.53 GB / 6.823 GB, free: 98.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/19.38, allocations: 79.58 kB / 6.823 GB, free: 98.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588/23.97, allocations: 0.8402 GB / 7.663 GB, free: 21.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.923e-06/23.97, allocations: 0 / 7.663 GB, free: 21.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.713e-05/23.97, allocations: 12.31 kB / 7.663 GB, free: 21.62 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.01461/23.98, allocations: 2.893 MB / 7.666 GB, free: 20.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/23.98, allocations: 10.75 kB / 7.666 GB, free: 20.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/23.98, allocations: 84.03 kB / 7.666 GB, free: 20.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004678/23.98, allocations: 54.09 kB / 7.666 GB, free: 20.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/23.98, allocations: 354.5 kB / 7.666 GB, free: 19.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/23.98, allocations: 36.72 kB / 7.666 GB, free: 19.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/23.98, allocations: 42.75 kB / 7.666 GB, free: 19.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/23.98, allocations: 0.4968 MB / 7.667 GB, free: 19.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/23.98, allocations: 0 / 7.667 GB, free: 19.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/23.98, allocations: 23.69 kB / 7.667 GB, free: 19.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/23.98, allocations: 8.047 kB / 7.667 GB, free: 19.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/23.99, allocations: 0.6194 MB / 7.667 GB, free: 19.83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/24.01, allocations: 11.88 MB / 7.679 GB, free: 24.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/24.01, allocations: 0.6296 MB / 7.68 GB, free: 24.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007116/24.01, allocations: 251.6 kB / 7.68 GB, free: 24.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03784/24.05, allocations: 20.14 MB / 7.699 GB, free: 20.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/24.05, allocations: 45.58 kB / 7.699 GB, free: 20.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 4.137e-06/24.05, allocations: 0 / 7.699 GB, free: 20.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.008891/24.06, allocations: 1.723 MB / 7.701 GB, free: 19.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/24.06, allocations: 65.28 kB / 7.701 GB, free: 19.83 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/24.06, allocations: 277.9 kB / 7.702 GB, free: 19.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-05/24.06, allocations: 40.48 kB / 7.702 GB, free: 19.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/24.06, allocations: 256.5 kB / 7.702 GB, free: 19.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/24.06, allocations: 195.9 kB / 7.702 GB, free: 19.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/24.06, allocations: 13.41 kB / 7.702 GB, free: 19.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/24.06, allocations: 332 kB / 7.702 GB, free: 19.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/24.06, allocations: 208.3 kB / 7.703 GB, free: 19.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/24.06, allocations: 296.2 kB / 7.703 GB, free: 18.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008726/24.06, allocations: 259 kB / 7.703 GB, free: 18.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/24.06, allocations: 0 / 7.703 GB, free: 18.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002551/24.06, allocations: 0.6665 MB / 7.704 GB, free: 18.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/24.06, allocations: 7.281 kB / 7.704 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/24.06, allocations: 3.812 kB / 7.704 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007365/24.06, allocations: 104.3 kB / 7.704 GB, free: 18.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009497/24.07, allocations: 119.9 kB / 7.704 GB, free: 18.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/24.07, allocations: 3.267 MB / 7.707 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/24.07, allocations: 40.92 kB / 7.707 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/24.07, allocations: 26.8 kB / 7.707 GB, free: 15.73 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.000289/24.07, allocations: 142.8 kB / 7.707 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/24.07, allocations: 42.38 kB / 7.707 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/24.07, allocations: 0.7081 MB / 7.708 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/24.07, allocations: 7.344 kB / 7.708 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/24.07, allocations: 3.953 kB / 7.708 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001767/24.07, allocations: 0.7726 MB / 7.709 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/24.08, allocations: 1.407 MB / 7.71 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/24.08, allocations: 2.766 kB / 7.71 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/24.08, allocations: 111.3 kB / 7.71 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/24.08, allocations: 154 kB / 7.71 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.52e-05/24.08, allocations: 19.44 kB / 7.71 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005978/24.08, allocations: 0.6515 MB / 7.711 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/24.08, allocations: 4.094 kB / 7.711 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/24.08, allocations: 0.9951 MB / 7.712 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/24.08, allocations: 126 kB / 7.712 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/24.08, allocations: 15.09 kB / 7.712 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008797/24.09, allocations: 44.69 kB / 7.712 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/24.09, allocations: 37.7 kB / 7.712 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.934e-05/24.09, allocations: 33.61 kB / 7.712 GB, free: 13.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003979/24.09, allocations: 233.4 kB / 7.713 GB, free: 13.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.21e-07/24.09, allocations: 0 / 7.713 GB, free: 13.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009648/24.1, allocations: 1.965 MB / 7.714 GB, free: 13.25 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.02056/24.12, allocations: 4.854 MB / 7.719 GB, free: 11.47 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002384/24.12, allocations: 0.7667 MB / 7.72 GB, free: 11.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/24.12, allocations: 6.875 kB / 7.72 GB, free: 11.24 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/24.12, allocations: 311 kB / 7.72 GB, free: 11.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/24.12, allocations: 275.2 kB / 7.72 GB, free: 11.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00901/24.13, allocations: 1.83 MB / 7.722 GB, free: 10.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/24.13, allocations: 0.8542 MB / 7.723 GB, free: 9.699 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/24.13, allocations: 163.2 kB / 7.723 GB, free: 9.691 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/24.13, allocations: 4 kB / 7.723 GB, free: 9.688 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.708/28.84, allocations: 57.04 MB / 7.779 GB, free: 52.2 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