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.699/2.699, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.879e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3884, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.677, allocations: 347.1 MB / 0.6851 GB, free: 130.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/1.677, allocations: 100.4 kB / 0.6852 GB, free: 130.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5006/2.178, allocations: 128.6 MB / 0.8108 GB, free: 25.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/2.178, allocations: 0 / 0.8108 GB, free: 25.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.952e-05/2.178, allocations: 20.12 kB / 0.8108 GB, free: 25.75 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.002587/2.181, allocations: 0.8887 MB / 0.8117 GB, free: 24.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/2.181, allocations: 12.03 kB / 0.8117 GB, free: 24.81 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/2.181, allocations: 82.45 kB / 0.8118 GB, free: 24.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005552/2.181, allocations: 91.09 kB / 0.8118 GB, free: 24.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/2.183, allocations: 0.539 MB / 0.8124 GB, free: 24.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/2.183, allocations: 84.7 kB / 0.8124 GB, free: 23.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/2.183, allocations: 32 kB / 0.8125 GB, free: 23.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001553/2.185, allocations: 0.5219 MB / 0.813 GB, free: 23.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/2.187, allocations: 0.7332 MB / 0.8137 GB, free: 22.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/2.187, allocations: 4 kB / 0.8137 GB, free: 22.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/2.187, allocations: 3.953 kB / 0.8137 GB, free: 22.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.554e-05/2.187, allocations: 45.23 kB / 0.8138 GB, free: 22.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006893/2.194, allocations: 4.173 MB / 0.8178 GB, free: 18.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/2.195, allocations: 258.9 kB / 0.8181 GB, free: 17.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/2.195, allocations: 132.8 kB / 0.8182 GB, free: 17.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002642/2.198, allocations: 1.487 MB / 0.8197 GB, free: 16.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/2.198, allocations: 30.56 kB / 0.8197 GB, free: 15.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.755e-06/2.198, allocations: 3.938 kB / 0.8197 GB, free: 15.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=20): time 0.002905/2.2, allocations: 0.7489 MB / 0.8204 GB, free: 15.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/2.201, allocations: 136.5 kB / 0.8205 GB, free: 15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/2.202, allocations: 0.5264 MB / 0.8211 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/2.202, allocations: 25.7 kB / 0.8211 GB, free: 14.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/2.202, allocations: 453.2 kB / 0.8215 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/2.202, allocations: 75 kB / 0.8216 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/2.202, allocations: 4 kB / 0.8216 GB, free: 13.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/2.202, allocations: 378.7 kB / 0.822 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/2.203, allocations: 137.5 kB / 0.8221 GB, free: 13.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/2.203, allocations: 0.5336 MB / 0.8226 GB, free: 12.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/2.204, allocations: 263.6 kB / 0.8229 GB, free: 12.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/2.204, allocations: 4 kB / 0.8229 GB, free: 12.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001851/2.206, allocations: 0.6341 MB / 0.8235 GB, free: 11.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/2.206, allocations: 8 kB / 0.8235 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/2.206, allocations: 19.98 kB / 0.8235 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/2.206, allocations: 20 kB / 0.8235 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/2.208, allocations: 203.7 kB / 0.8237 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/2.208, allocations: 27.86 kB / 0.8238 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/2.209, allocations: 40.08 kB / 0.8238 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/2.209, allocations: 43.98 kB / 0.8238 GB, free: 11.41 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.0001982/2.209, allocations: 136.6 kB / 0.824 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/2.21, allocations: 63.25 kB / 0.824 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/2.211, allocations: 255.4 kB / 0.8243 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/2.211, allocations: 4 kB / 0.8243 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/2.211, allocations: 4 kB / 0.8243 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/2.211, allocations: 0 / 0.8243 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/2.212, allocations: 0.7606 MB / 0.825 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/2.212, allocations: 0 / 0.825 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/2.213, allocations: 47.91 kB / 0.8251 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/2.213, allocations: 28.89 kB / 0.8251 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/2.213, allocations: 7.984 kB / 0.8251 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004595/2.214, allocations: 0.5523 MB / 0.8256 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/2.214, allocations: 8.141 kB / 0.8256 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/2.215, allocations: 493 kB / 0.8261 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/2.215, allocations: 172.4 kB / 0.8263 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/2.215, allocations: 4 kB / 0.8263 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007088/2.216, allocations: 15.98 kB / 0.8263 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/2.216, allocations: 15.92 kB / 0.8263 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/2.216, allocations: 15.98 kB / 0.8263 GB, free: 8.676 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007061/2.217, allocations: 383.2 kB / 0.8267 GB, free: 8.309 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.01e-07/2.217, allocations: 4 kB / 0.8267 GB, free: 8.305 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001282/2.218, allocations: 191.9 kB / 0.8269 GB, free: 8.117 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.001941/2.22, allocations: 1.434 MB / 0.8283 GB, free: 6.648 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009733/2.221, allocations: 356.4 kB / 0.8286 GB, free: 6.301 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/2.221, allocations: 2.688 kB / 0.8286 GB, free: 6.301 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/2.221, allocations: 87.86 kB / 0.8287 GB, free: 6.215 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/2.223, allocations: 229.1 kB / 0.8289 GB, free: 5.992 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/2.226, allocations: 0.8977 MB / 0.8298 GB, free: 5.043 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/2.227, allocations: 0.9332 MB / 0.8307 GB, free: 4.078 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001225/2.228, allocations: 189.4 kB / 0.8309 GB, free: 3.891 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/2.229, allocations: 211.4 kB / 0.8311 GB, free: 3.684 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/2.229, allocations: 0 / 0.8311 GB, free: 3.684 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5415/2.77, allocations: 15.66 MB / 0.8464 GB, free: 126.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003274/2.77, allocations: 220.9 kB / 0.8466 GB, free: 126 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.522/6.292, allocations: 0 / 0.8466 GB, free: 126 MB / 490.7 MB