Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.43/2.43, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.809e-05, allocations: 3.5 kB / 249.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.749/0.8552, allocations: 185.1 MB / 479.4 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005412/0.8558, allocations: 88.94 kB / 479.5 MB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.708/2.564, allocations: 198.8 MB / 0.6624 GB, free: 89.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.564, allocations: 0 / 0.6624 GB, free: 89.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.972e-05/2.564, allocations: 7.281 kB / 0.6624 GB, free: 89.73 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002778/2.567, allocations: 0.966 MB / 0.6634 GB, free: 89.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/2.567, allocations: 10.81 kB / 0.6634 GB, free: 89.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004894/2.568, allocations: 43.53 kB / 0.6634 GB, free: 89.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/2.568, allocations: 290.2 kB / 0.6637 GB, free: 89.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/2.568, allocations: 7.625 kB / 0.6637 GB, free: 89.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/2.568, allocations: 17.47 kB / 0.6637 GB, free: 89.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005162/2.569, allocations: 165 kB / 0.6639 GB, free: 89.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/2.57, allocations: 283.4 kB / 0.6642 GB, free: 89.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/2.57, allocations: 7.797 kB / 0.6642 GB, free: 89.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/2.57, allocations: 3.969 kB / 0.6642 GB, free: 89.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/2.57, allocations: 3.875 kB / 0.6642 GB, free: 89.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/2.573, allocations: 2.014 MB / 0.6662 GB, free: 87.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/2.573, allocations: 176.1 kB / 0.6663 GB, free: 87.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/2.573, allocations: 71.42 kB / 0.6664 GB, free: 87.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/2.574, allocations: 249.7 kB / 0.6666 GB, free: 87.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/2.574, allocations: 42.28 kB / 0.6667 GB, free: 87.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.767e-06/2.574, allocations: 0 / 0.6667 GB, free: 87.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.004209/2.578, allocations: 0.8085 MB / 0.6675 GB, free: 86.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/2.578, allocations: 55.34 kB / 0.6675 GB, free: 86.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/2.578, allocations: 200.3 kB / 0.6677 GB, free: 86.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/2.579, allocations: 25.7 kB / 0.6677 GB, free: 86.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/2.579, allocations: 183.6 kB / 0.6679 GB, free: 86.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/2.579, allocations: 102.9 kB / 0.668 GB, free: 86.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/2.579, allocations: 3.75 kB / 0.668 GB, free: 86.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/2.579, allocations: 336.1 kB / 0.6683 GB, free: 86.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/2.579, allocations: 75.03 kB / 0.6684 GB, free: 86.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/2.579, allocations: 157.1 kB / 0.6685 GB, free: 85.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000986/2.58, allocations: 135.1 kB / 0.6687 GB, free: 85.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/2.58, allocations: 0 / 0.6687 GB, free: 85.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001512/2.582, allocations: 363.6 kB / 0.669 GB, free: 85.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/2.582, allocations: 7.562 kB / 0.669 GB, free: 85.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/2.582, allocations: 3.844 kB / 0.669 GB, free: 85.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/2.583, allocations: 86.42 kB / 0.6691 GB, free: 85.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/2.583, allocations: 70.33 kB / 0.6692 GB, free: 85.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009942/2.584, allocations: 0.6742 MB / 0.6698 GB, free: 85.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/2.585, allocations: 15.81 kB / 0.6699 GB, free: 85.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/2.585, allocations: 24.81 kB / 0.6699 GB, free: 85.35 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002398/2.585, allocations: 121.4 kB / 0.67 GB, free: 85.23 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001398/2.586, allocations: 302.3 kB / 0.6703 GB, free: 85.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/2.587, allocations: 26.44 kB / 0.6703 GB, free: 85.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/2.588, allocations: 384.4 kB / 0.6707 GB, free: 85.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/2.588, allocations: 3.938 kB / 0.6707 GB, free: 85.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/2.588, allocations: 3.375 kB / 0.6707 GB, free: 85.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/2.589, allocations: 0.5638 MB / 0.6712 GB, free: 84.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/2.591, allocations: 0.6921 MB / 0.6719 GB, free: 84.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/2.591, allocations: 5.797 kB / 0.6719 GB, free: 84.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/2.592, allocations: 32.16 kB / 0.6719 GB, free: 84.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/2.592, allocations: 81.09 kB / 0.672 GB, free: 84.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/2.592, allocations: 3.75 kB / 0.672 GB, free: 84.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008983/2.593, allocations: 0.6503 MB / 0.6727 GB, free: 83.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/2.593, allocations: 0 / 0.6727 GB, free: 83.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/2.595, allocations: 497.9 kB / 0.6731 GB, free: 83.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/2.595, allocations: 102.6 kB / 0.6732 GB, free: 83.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/2.595, allocations: 9.672 kB / 0.6732 GB, free: 83.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/2.596, allocations: 3.312 kB / 0.6732 GB, free: 83.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/2.596, allocations: 21.17 kB / 0.6733 GB, free: 83.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/2.596, allocations: 17.42 kB / 0.6733 GB, free: 83.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002398/2.596, allocations: 168 kB / 0.6734 GB, free: 83.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.596, allocations: 0 / 0.6734 GB, free: 83.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001107/2.597, allocations: 148 kB / 0.6736 GB, free: 83.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002314/2.599, allocations: 1.289 MB / 0.6748 GB, free: 82.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/2.6, allocations: 228 kB / 0.6751 GB, free: 82.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/2.6, allocations: 1.781 kB / 0.6751 GB, free: 82.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/2.601, allocations: 111.7 kB / 0.6752 GB, free: 82.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/2.603, allocations: 125.1 kB / 0.6753 GB, free: 82.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/2.605, allocations: 0.5088 MB / 0.6758 GB, free: 82.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/2.605, allocations: 0.7713 MB / 0.6765 GB, free: 81.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006175/2.606, allocations: 60.06 kB / 0.6766 GB, free: 81.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/2.606, allocations: 90.28 kB / 0.6767 GB, free: 81.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/2.606, allocations: 0 / 0.6767 GB, free: 81.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07852/2.684, allocations: 9.111 MB / 0.6856 GB, free: 81.33 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003205/2.685, allocations: 168.9 kB / 0.6857 GB, free: 81.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.445/6.13, allocations: 0 / 0.6857 GB, free: 81.14 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat