Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.496/2.496, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.007e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4061, allocations: 44.5 MB / 294.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.61/11.01, allocations: 2.901 GB / 3.188 GB, free: 78.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/11.01, allocations: 84.38 kB / 3.188 GB, free: 78.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69/16.7, allocations: 0.9694 GB / 4.158 GB, free: 56.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.076e-06/16.7, allocations: 4 kB / 4.158 GB, free: 56.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.644e-05/16.7, allocations: 4 kB / 4.158 GB, free: 56.39 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.007142/16.71, allocations: 1.192 MB / 4.159 GB, free: 55.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.387e-05/16.71, allocations: 14.66 kB / 4.159 GB, free: 55.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007699/16.71, allocations: 41.84 kB / 4.159 GB, free: 55.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/16.71, allocations: 288.6 kB / 4.159 GB, free: 54.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/16.71, allocations: 8 kB / 4.159 GB, free: 54.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/16.71, allocations: 15.91 kB / 4.159 GB, free: 54.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001034/16.71, allocations: 171.8 kB / 4.159 GB, free: 54.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000934/16.71, allocations: 252.6 kB / 4.159 GB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/16.71, allocations: 4 kB / 4.159 GB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.847e-05/16.71, allocations: 8.578 kB / 4.159 GB, free: 54.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/16.71, allocations: 4 kB / 4.159 GB, free: 54.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/16.72, allocations: 1.378 MB / 4.161 GB, free: 53.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/16.72, allocations: 158.3 kB / 4.161 GB, free: 52.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/16.72, allocations: 77.8 kB / 4.161 GB, free: 52.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/16.72, allocations: 4.188 kB / 4.161 GB, free: 52.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/16.72, allocations: 38.69 kB / 4.161 GB, free: 52.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.506e-06/16.72, allocations: 4 kB / 4.161 GB, free: 52.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003005/16.72, allocations: 0.7513 MB / 4.162 GB, free: 52.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/16.72, allocations: 55.41 kB / 4.162 GB, free: 52.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/16.72, allocations: 193.2 kB / 4.162 GB, free: 51.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/16.72, allocations: 25.7 kB / 4.162 GB, free: 51.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/16.72, allocations: 186.9 kB / 4.162 GB, free: 51.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.414e-05/16.72, allocations: 85.84 kB / 4.162 GB, free: 51.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/16.72, allocations: 4 kB / 4.162 GB, free: 51.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/16.72, allocations: 333.5 kB / 4.163 GB, free: 51.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/16.72, allocations: 72 kB / 4.163 GB, free: 51.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/16.72, allocations: 166.5 kB / 4.163 GB, free: 50.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/16.72, allocations: 105 kB / 4.163 GB, free: 50.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/16.72, allocations: 0 / 4.163 GB, free: 50.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001121/16.72, allocations: 344.6 kB / 4.163 GB, free: 50.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/16.72, allocations: 4 kB / 4.163 GB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/16.72, allocations: 4 kB / 4.163 GB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/16.72, allocations: 70.47 kB / 4.163 GB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/16.72, allocations: 67.67 kB / 4.163 GB, free: 50.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/16.73, allocations: 2.564 MB / 4.166 GB, free: 47.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/16.73, allocations: 15.8 kB / 4.166 GB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/16.73, allocations: 19.95 kB / 4.166 GB, free: 47.64 MB / 410.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002148/16.73, allocations: 115.8 kB / 4.166 GB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000857/16.73, allocations: 260.7 kB / 4.166 GB, free: 47.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/16.73, allocations: 23.72 kB / 4.166 GB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/16.73, allocations: 29.97 kB / 4.166 GB, free: 47.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/16.73, allocations: 0 / 4.166 GB, free: 47.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/16.73, allocations: 5.875 kB / 4.166 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007787/16.73, allocations: 0.5425 MB / 4.167 GB, free: 46.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/16.73, allocations: 0.6402 MB / 4.168 GB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/16.73, allocations: 0 / 4.168 GB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/16.73, allocations: 39.5 kB / 4.168 GB, free: 46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/16.73, allocations: 60.06 kB / 4.168 GB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/16.73, allocations: 7.797 kB / 4.168 GB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/16.73, allocations: 1.332 MB / 4.169 GB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/16.73, allocations: 0 / 4.169 GB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/16.73, allocations: 457.3 kB / 4.169 GB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/16.73, allocations: 96.77 kB / 4.169 GB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/16.73, allocations: 4 kB / 4.169 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/16.74, allocations: 13.48 kB / 4.17 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/16.74, allocations: 15.61 kB / 4.17 GB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/16.74, allocations: 15.22 kB / 4.17 GB, free: 43.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00021/16.74, allocations: 156.1 kB / 4.17 GB, free: 43.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/16.74, allocations: 4.062 kB / 4.17 GB, free: 43.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001014/16.74, allocations: 108 kB / 4.17 GB, free: 43.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001722/16.74, allocations: 1.252 MB / 4.171 GB, free: 42.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/16.74, allocations: 450.8 kB / 4.171 GB, free: 42.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/16.74, allocations: 0 / 4.171 GB, free: 42.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/16.74, allocations: 217.5 kB / 4.172 GB, free: 41.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/16.74, allocations: 125.4 kB / 4.172 GB, free: 41.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/16.74, allocations: 0.523 MB / 4.172 GB, free: 41.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/16.74, allocations: 0.7763 MB / 4.173 GB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005727/16.74, allocations: 53.73 kB / 4.173 GB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/16.74, allocations: 82.7 kB / 4.173 GB, free: 40.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.694e-06/16.74, allocations: 0 / 4.173 GB, free: 40.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07205/16.82, allocations: 8.523 MB / 4.181 GB, free: 35.39 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002899/16.82, allocations: 169.1 kB / 4.182 GB, free: 35.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.534/20.35, allocations: 7.938 kB / 4.182 GB, free: 35.19 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat