Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 235.1 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.334e-05, allocations: 4 kB / 299.6 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.402, allocations: 54.87 MB / 354.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.667, allocations: 347.2 MB / 0.6852 GB, free: 138.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.667, allocations: 90.62 kB / 0.6853 GB, free: 138.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4449/2.112, allocations: 128.3 MB / 0.8105 GB, free: 60.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.512e-06/2.112, allocations: 0 / 0.8105 GB, free: 60.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.048e-05/2.112, allocations: 20.42 kB / 0.8105 GB, free: 60.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002345/2.115, allocations: 0.8886 MB / 0.8114 GB, free: 59.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/2.115, allocations: 12.02 kB / 0.8114 GB, free: 59.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004946/2.115, allocations: 95.09 kB / 0.8115 GB, free: 59.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/2.117, allocations: 0.5429 MB / 0.812 GB, free: 58.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/2.117, allocations: 84.66 kB / 0.8121 GB, free: 58.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/2.117, allocations: 28 kB / 0.8121 GB, free: 58.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001352/2.118, allocations: 0.5336 MB / 0.8127 GB, free: 58.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/2.12, allocations: 0.7254 MB / 0.8134 GB, free: 57.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/2.12, allocations: 3.938 kB / 0.8134 GB, free: 57.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/2.12, allocations: 8 kB / 0.8134 GB, free: 57.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.503e-05/2.12, allocations: 45.19 kB / 0.8134 GB, free: 57.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006089/2.126, allocations: 4.162 MB / 0.8175 GB, free: 52.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/2.127, allocations: 266.9 kB / 0.8177 GB, free: 52.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/2.127, allocations: 136.8 kB / 0.8179 GB, free: 52.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003061/2.13, allocations: 1.475 MB / 0.8193 GB, free: 50.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/2.13, allocations: 42.5 kB / 0.8193 GB, free: 50.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 3.136e-06/2.13, allocations: 0 / 0.8193 GB, free: 50.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=20): time 0.00347/2.134, allocations: 0.7466 MB / 0.8201 GB, free: 49.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/2.134, allocations: 132.5 kB / 0.8202 GB, free: 49.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/2.135, allocations: 0.5264 MB / 0.8207 GB, free: 49.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/2.135, allocations: 25.7 kB / 0.8207 GB, free: 49.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/2.136, allocations: 453.2 kB / 0.8212 GB, free: 48.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-05/2.136, allocations: 82.98 kB / 0.8213 GB, free: 48.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/2.136, allocations: 0 / 0.8213 GB, free: 48.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/2.136, allocations: 362.8 kB / 0.8216 GB, free: 48.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/2.137, allocations: 145.5 kB / 0.8217 GB, free: 48.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000783/2.137, allocations: 0.5375 MB / 0.8223 GB, free: 47.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/2.138, allocations: 251.9 kB / 0.8225 GB, free: 47.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/2.138, allocations: 8 kB / 0.8225 GB, free: 47.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00243/2.141, allocations: 0.6338 MB / 0.8231 GB, free: 46.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/2.141, allocations: 12.78 kB / 0.8231 GB, free: 46.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/2.141, allocations: 16 kB / 0.8232 GB, free: 46.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.087e-05/2.141, allocations: 20 kB / 0.8232 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/2.143, allocations: 204.2 kB / 0.8234 GB, free: 46.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.37e-05/2.143, allocations: 31.88 kB / 0.8234 GB, free: 46.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/2.145, allocations: 39.81 kB / 0.8234 GB, free: 46.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/2.145, allocations: 44 kB / 0.8235 GB, free: 46.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002502/2.145, allocations: 144.6 kB / 0.8236 GB, free: 45.89 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009857/2.146, allocations: 233.7 kB / 0.8238 GB, free: 45.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/2.146, allocations: 71.19 kB / 0.8239 GB, free: 45.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/2.148, allocations: 265.1 kB / 0.8242 GB, free: 45.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/2.148, allocations: 4 kB / 0.8242 GB, free: 45.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/2.148, allocations: 0 / 0.8242 GB, free: 45.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/2.148, allocations: 0 / 0.8242 GB, free: 45.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/2.15, allocations: 0.7547 MB / 0.8249 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/2.15, allocations: 0 / 0.8249 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/2.151, allocations: 43.92 kB / 0.8249 GB, free: 44.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/2.151, allocations: 24.84 kB / 0.825 GB, free: 44.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/2.151, allocations: 11.98 kB / 0.825 GB, free: 44.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006004/2.152, allocations: 0.5563 MB / 0.8255 GB, free: 43.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/2.152, allocations: 7.969 kB / 0.8255 GB, free: 43.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/2.153, allocations: 483.5 kB / 0.826 GB, free: 43.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/2.153, allocations: 176.3 kB / 0.8262 GB, free: 43.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/2.154, allocations: 0 / 0.8262 GB, free: 43.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/2.155, allocations: 15.98 kB / 0.8262 GB, free: 43.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/2.155, allocations: 20.05 kB / 0.8262 GB, free: 43.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/2.155, allocations: 11.98 kB / 0.8262 GB, free: 43.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000962/2.156, allocations: 391.1 kB / 0.8266 GB, free: 42.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.156, allocations: 0 / 0.8266 GB, free: 42.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002017/2.158, allocations: 195.9 kB / 0.8268 GB, free: 42.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 21 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002514/2.16, allocations: 1.436 MB / 0.8282 GB, free: 41.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/2.162, allocations: 350.8 kB / 0.8285 GB, free: 40.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/2.162, allocations: 0 / 0.8285 GB, free: 40.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/2.162, allocations: 92.34 kB / 0.8286 GB, free: 40.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/2.165, allocations: 226 kB / 0.8288 GB, free: 40.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/2.169, allocations: 0.884 MB / 0.8297 GB, free: 39.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/2.169, allocations: 0.9371 MB / 0.8306 GB, free: 38.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001584/2.171, allocations: 185.5 kB / 0.8308 GB, free: 38.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005722/2.172, allocations: 215.4 kB / 0.831 GB, free: 38.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/2.172, allocations: 0 / 0.831 GB, free: 38.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07681/2.248, allocations: 15.33 MB / 0.8459 GB, free: 22.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002168/2.249, allocations: 232.9 kB / 0.8462 GB, free: 22.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.357/5.606, allocations: 0 / 0.8462 GB, free: 22.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat