Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.461e-05, allocations: 7.984 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.439/1.543, allocations: 408.4 MB / 0.7132 GB, free: 98.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.543, allocations: 95.39 kB / 0.7132 GB, free: 98.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6886/2.232, allocations: 117.5 MB / 0.828 GB, free: 94.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/2.232, allocations: 2.688 kB / 0.828 GB, free: 94.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.601e-05/2.232, allocations: 24.05 kB / 0.828 GB, free: 94.95 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002906/2.235, allocations: 0.9751 MB / 0.829 GB, free: 94.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/2.235, allocations: 10.44 kB / 0.829 GB, free: 94.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/2.235, allocations: 93.14 kB / 0.8291 GB, free: 94.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/2.235, allocations: 86.31 kB / 0.8292 GB, free: 94.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/2.237, allocations: 0.5501 MB / 0.8297 GB, free: 94.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/2.237, allocations: 107.3 kB / 0.8298 GB, free: 94.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/2.237, allocations: 50.14 kB / 0.8299 GB, free: 94.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/2.239, allocations: 0.7917 MB / 0.8306 GB, free: 93.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/2.239, allocations: 5 kB / 0.8306 GB, free: 93.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/2.239, allocations: 27.89 kB / 0.8307 GB, free: 93.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.789e-05/2.239, allocations: 40.02 kB / 0.8307 GB, free: 93.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/2.241, allocations: 0.6193 MB / 0.8313 GB, free: 93.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006619/2.248, allocations: 3.901 MB / 0.8351 GB, free: 91.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/2.249, allocations: 379.9 kB / 0.8355 GB, free: 91.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/2.25, allocations: 203.2 kB / 0.8357 GB, free: 91.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/2.25, allocations: 0.4994 MB / 0.8362 GB, free: 90.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/2.25, allocations: 37.73 kB / 0.8362 GB, free: 90.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 3.446e-06/2.25, allocations: 3.125 kB / 0.8362 GB, free: 90.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.004474/2.255, allocations: 1.315 MB / 0.8375 GB, free: 90.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/2.255, allocations: 138 kB / 0.8376 GB, free: 90.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008965/2.256, allocations: 490.5 kB / 0.8381 GB, free: 90.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/2.256, allocations: 41.17 kB / 0.8381 GB, free: 90.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/2.256, allocations: 364.4 kB / 0.8385 GB, free: 89.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/2.256, allocations: 168.5 kB / 0.8386 GB, free: 89.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/2.256, allocations: 13.16 kB / 0.8386 GB, free: 89.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/2.256, allocations: 372.2 kB / 0.839 GB, free: 89.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/2.257, allocations: 215 kB / 0.8392 GB, free: 89.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/2.258, allocations: 0.5262 MB / 0.8397 GB, free: 89.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/2.259, allocations: 317.2 kB / 0.84 GB, free: 89.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/2.259, allocations: 2.906 kB / 0.84 GB, free: 89.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002876/2.261, allocations: 0.9555 MB / 0.841 GB, free: 88.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/2.261, allocations: 8.625 kB / 0.841 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/2.262, allocations: 10.28 kB / 0.841 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/2.263, allocations: 249.4 kB / 0.8412 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009193/2.264, allocations: 139.9 kB / 0.8413 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/2.265, allocations: 0.8412 MB / 0.8422 GB, free: 88.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/2.267, allocations: 53.55 kB / 0.8422 GB, free: 88.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/2.267, allocations: 41.73 kB / 0.8423 GB, free: 88.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002444/2.267, allocations: 151.2 kB / 0.8424 GB, free: 88.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/2.267, allocations: 76.64 kB / 0.8425 GB, free: 88.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/2.269, allocations: 0.6804 MB / 0.8431 GB, free: 88.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/2.269, allocations: 10.91 kB / 0.8432 GB, free: 88.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/2.269, allocations: 0 / 0.8432 GB, free: 88.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/2.269, allocations: 0 / 0.8432 GB, free: 88.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/2.272, allocations: 1.36 MB / 0.8445 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/2.272, allocations: 3.906 kB / 0.8445 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/2.274, allocations: 192 kB / 0.8447 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/2.275, allocations: 54.05 kB / 0.8447 GB, free: 87.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/2.275, allocations: 24.09 kB / 0.8447 GB, free: 87.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/2.277, allocations: 2.785 MB / 0.8475 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.277, allocations: 2.25 kB / 0.8475 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/2.28, allocations: 1.028 MB / 0.8485 GB, free: 84.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/2.28, allocations: 202.3 kB / 0.8487 GB, free: 84.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/2.28, allocations: 10.28 kB / 0.8487 GB, free: 84.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/2.281, allocations: 31.36 kB / 0.8487 GB, free: 84.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/2.281, allocations: 38.73 kB / 0.8487 GB, free: 84.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/2.281, allocations: 24.05 kB / 0.8488 GB, free: 84.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006989/2.282, allocations: 375.3 kB / 0.8491 GB, free: 84.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.282, allocations: 3.828 kB / 0.8491 GB, free: 84.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0014/2.284, allocations: 223.2 kB / 0.8493 GB, free: 84.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003093/2.287, allocations: 2.231 MB / 0.8515 GB, free: 83.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/2.288, allocations: 0.5805 MB / 0.8521 GB, free: 83.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/2.288, allocations: 6.781 kB / 0.8521 GB, free: 83.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001718/2.29, allocations: 458.1 kB / 0.8525 GB, free: 83.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/2.293, allocations: 295.5 kB / 0.8528 GB, free: 83.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/2.296, allocations: 1.191 MB / 0.854 GB, free: 82.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/2.297, allocations: 0.9513 MB / 0.8549 GB, free: 82.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001269/2.298, allocations: 208.8 kB / 0.8551 GB, free: 82.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/2.299, allocations: 229 kB / 0.8553 GB, free: 82.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/2.299, allocations: 0 / 0.8553 GB, free: 82.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0597/2.358, allocations: 19.74 MB / 0.8746 GB, free: 80.86 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/2.359, allocations: 251.3 kB / 0.8748 GB, free: 80.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/5.555, allocations: 0 / 0.8748 GB, free: 80.53 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat