Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.448/2.448, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.244e-05, allocations: 3.25 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 22.87/22.97, allocations: 6.529 GB / 6.816 GB, free: 98.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/22.97, allocations: 73.92 kB / 6.816 GB, free: 98.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461/28.43, allocations: 0.8268 GB / 7.643 GB, free: 18.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/28.43, allocations: 0 / 7.643 GB, free: 18.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.207e-05/28.43, allocations: 11.34 kB / 7.643 GB, free: 18.12 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01437/28.45, allocations: 2.899 MB / 7.646 GB, free: 16.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/28.45, allocations: 6.781 kB / 7.646 GB, free: 16.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/28.45, allocations: 54.59 kB / 7.646 GB, free: 16.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007895/28.45, allocations: 361.4 kB / 7.646 GB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/28.45, allocations: 12.94 kB / 7.646 GB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/28.45, allocations: 30.56 kB / 7.646 GB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001518/28.45, allocations: 0.5737 MB / 7.647 GB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/28.45, allocations: 423 kB / 7.647 GB, free: 16.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/28.45, allocations: 0 / 7.647 GB, free: 16.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/28.45, allocations: 3.812 kB / 7.647 GB, free: 16.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/28.45, allocations: 7.812 kB / 7.647 GB, free: 16.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/28.48, allocations: 11.79 MB / 7.659 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/28.48, allocations: 0.5889 MB / 7.66 GB, free: 20.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/28.48, allocations: 235.2 kB / 7.66 GB, free: 20.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04356/28.52, allocations: 20.14 MB / 7.679 GB, free: 16.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/28.52, allocations: 37.69 kB / 7.679 GB, free: 16.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 4.569e-06/28.52, allocations: 0 / 7.679 GB, free: 16.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.007386/28.53, allocations: 1.513 MB / 7.681 GB, free: 16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/28.53, allocations: 61.56 kB / 7.681 GB, free: 15.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/28.53, allocations: 220.7 kB / 7.681 GB, free: 15.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.911e-05/28.53, allocations: 29.48 kB / 7.681 GB, free: 15.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/28.53, allocations: 206.3 kB / 7.681 GB, free: 15.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/28.53, allocations: 183.8 kB / 7.682 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/28.53, allocations: 0 / 7.682 GB, free: 15.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/28.53, allocations: 348 kB / 7.682 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/28.53, allocations: 202 kB / 7.682 GB, free: 15.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006322/28.53, allocations: 280.9 kB / 7.682 GB, free: 15.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/28.54, allocations: 324.9 kB / 7.683 GB, free: 15.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/28.54, allocations: 7.375 kB / 7.683 GB, free: 15.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003212/28.54, allocations: 0.7205 MB / 7.683 GB, free: 15.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/28.54, allocations: 6.938 kB / 7.683 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/28.54, allocations: 1.812 kB / 7.683 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/28.54, allocations: 76.88 kB / 7.684 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/28.54, allocations: 123.4 kB / 7.684 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/28.55, allocations: 3.197 MB / 7.687 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/28.55, allocations: 35.52 kB / 7.687 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/28.55, allocations: 32.41 kB / 7.687 GB, free: 11.98 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] 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.0005354/28.55, allocations: 123.4 kB / 7.687 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004273/28.55, allocations: 0.6022 MB / 7.688 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007892/28.55, allocations: 37 kB / 7.688 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/28.56, allocations: 0.7262 MB / 7.688 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/28.56, allocations: 9.484 kB / 7.688 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/28.56, allocations: 0 / 7.688 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003502/28.56, allocations: 0.8001 MB / 7.689 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006669/28.57, allocations: 1.344 MB / 7.69 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/28.57, allocations: 0 / 7.69 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/28.57, allocations: 116.3 kB / 7.691 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/28.57, allocations: 77.19 kB / 7.691 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/28.57, allocations: 6.5 kB / 7.691 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009375/28.57, allocations: 0.672 MB / 7.691 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/28.57, allocations: 2.844 kB / 7.691 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/28.58, allocations: 1.005 MB / 7.692 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/28.58, allocations: 127 kB / 7.692 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/28.58, allocations: 6.688 kB / 7.692 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009405/28.58, allocations: 17.81 kB / 7.692 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/28.58, allocations: 47.2 kB / 7.692 GB, free: 9.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/28.58, allocations: 44.92 kB / 7.692 GB, free: 9.906 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003029/28.58, allocations: 183.1 kB / 7.693 GB, free: 9.828 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.51e-07/28.58, allocations: 0 / 7.693 GB, free: 9.828 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01054/28.59, allocations: 1.929 MB / 7.695 GB, free: 9.441 MB / 458.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.02344/28.61, allocations: 4.966 MB / 7.699 GB, free: 23.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002054/28.61, allocations: 0.7445 MB / 7.7 GB, free: 23.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/28.61, allocations: 3.562 kB / 7.7 GB, free: 23.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007547/28.61, allocations: 296.4 kB / 7.7 GB, free: 23.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/28.62, allocations: 219.1 kB / 7.701 GB, free: 23.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008912/28.63, allocations: 1.727 MB / 7.702 GB, free: 22.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/28.63, allocations: 0.8543 MB / 7.703 GB, free: 21.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001138/28.63, allocations: 120.1 kB / 7.703 GB, free: 21.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/28.63, allocations: 163.9 kB / 7.703 GB, free: 21.85 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/28.63, allocations: 0 / 7.703 GB, free: 21.85 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.668/29.3, allocations: 65.35 MB / 7.767 GB, free: 46.85 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002767/29.3, allocations: 170 kB / 7.767 GB, free: 46.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.312/36.61, allocations: 0 / 7.767 GB, free: 46.66 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat