Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.532/2.532, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.966e-05, allocations: 4 kB / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4147, allocations: 54.86 MB / 354.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.014/9.428, allocations: 2.951 GB / 3.298 GB, free: 20.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004195/9.429, allocations: 95.67 kB / 3.298 GB, free: 20.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.583/15.01, allocations: 1.123 GB / 4.42 GB, free: 36.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/15.01, allocations: 0 / 4.42 GB, free: 36.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.566e-05/15.01, allocations: 20 kB / 4.42 GB, free: 36.45 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.006801/15.02, allocations: 1.569 MB / 4.422 GB, free: 34.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/15.02, allocations: 12.03 kB / 4.422 GB, free: 34.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005138/15.02, allocations: 91.05 kB / 4.422 GB, free: 34.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/15.02, allocations: 0.5465 MB / 4.422 GB, free: 34.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/15.02, allocations: 85.22 kB / 4.423 GB, free: 34.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/15.02, allocations: 31.95 kB / 4.423 GB, free: 34.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001393/15.02, allocations: 0.5492 MB / 4.423 GB, free: 33.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/15.02, allocations: 0.7284 MB / 4.424 GB, free: 32.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/15.02, allocations: 11.88 kB / 4.424 GB, free: 32.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/15.02, allocations: 4 kB / 4.424 GB, free: 32.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.029e-05/15.02, allocations: 37.3 kB / 4.424 GB, free: 32.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006027/15.03, allocations: 3.961 MB / 4.428 GB, free: 28.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/15.03, allocations: 307.5 kB / 4.428 GB, free: 28.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/15.03, allocations: 157.4 kB / 4.428 GB, free: 28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003945/15.03, allocations: 346.2 kB / 4.428 GB, free: 27.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/15.03, allocations: 46.83 kB / 4.429 GB, free: 27.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.306e-06/15.03, allocations: 0 / 4.429 GB, free: 27.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.004676/15.04, allocations: 1.263 MB / 4.43 GB, free: 26.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/15.04, allocations: 132.5 kB / 4.43 GB, free: 26.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/15.04, allocations: 458 kB / 4.43 GB, free: 25.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/15.04, allocations: 25.7 kB / 4.43 GB, free: 25.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/15.04, allocations: 391 kB / 4.431 GB, free: 25.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/15.04, allocations: 130 kB / 4.431 GB, free: 25.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/15.04, allocations: 4 kB / 4.431 GB, free: 25.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/15.04, allocations: 370.8 kB / 4.431 GB, free: 24.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/15.04, allocations: 197.5 kB / 4.431 GB, free: 24.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/15.04, allocations: 0.5101 MB / 4.432 GB, free: 23.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/15.04, allocations: 336.4 kB / 4.432 GB, free: 23.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/15.04, allocations: 0 / 4.432 GB, free: 23.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002856/15.04, allocations: 0.9018 MB / 4.433 GB, free: 22.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/15.04, allocations: 8 kB / 4.433 GB, free: 22.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/15.04, allocations: 12 kB / 4.433 GB, free: 22.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/15.04, allocations: 225.4 kB / 4.433 GB, free: 22.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000847/15.05, allocations: 131.8 kB / 4.433 GB, free: 22.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/15.05, allocations: 0.869 MB / 4.434 GB, free: 21.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009639/15.05, allocations: 31.92 kB / 4.434 GB, free: 21.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/15.05, allocations: 39.98 kB / 4.434 GB, free: 21.26 MB / 490.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.0001841/15.05, allocations: 132.8 kB / 4.434 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001499/15.05, allocations: 485.7 kB / 4.435 GB, free: 20.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/15.05, allocations: 67.2 kB / 4.435 GB, free: 20.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/15.05, allocations: 0.5841 MB / 4.436 GB, free: 19.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/15.05, allocations: 4 kB / 4.436 GB, free: 19.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/15.05, allocations: 0 / 4.436 GB, free: 19.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/15.05, allocations: 3.984 kB / 4.436 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/15.05, allocations: 1.478 MB / 4.437 GB, free: 18.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/15.05, allocations: 8.188 kB / 4.437 GB, free: 18.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/15.06, allocations: 183.8 kB / 4.437 GB, free: 18.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003568/15.06, allocations: 52.8 kB / 4.437 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/15.06, allocations: 8 kB / 4.437 GB, free: 18.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/15.06, allocations: 2.682 MB / 4.44 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/15.06, allocations: 0 / 4.44 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/15.06, allocations: 0.9415 MB / 4.441 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/15.06, allocations: 192.3 kB / 4.441 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/15.06, allocations: 12 kB / 4.441 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/15.06, allocations: 23.98 kB / 4.441 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/15.06, allocations: 39.84 kB / 4.441 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/15.06, allocations: 19.98 kB / 4.441 GB, free: 13.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005139/15.06, allocations: 326.9 kB / 4.441 GB, free: 13.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/15.06, allocations: 2.516 kB / 4.441 GB, free: 13.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001353/15.06, allocations: 216 kB / 4.442 GB, free: 13.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (43): * Single equations (assignments): 39 * 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.00307/15.07, allocations: 2.221 MB / 4.444 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/15.07, allocations: 0.5366 MB / 4.444 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/15.07, allocations: 0 / 4.444 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/15.07, allocations: 418.6 kB / 4.445 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/15.07, allocations: 269.2 kB / 4.445 GB, free: 9.938 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/15.08, allocations: 1.116 MB / 4.446 GB, free: 8.781 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/15.08, allocations: 0.9537 MB / 4.447 GB, free: 7.797 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001555/15.08, allocations: 191.6 kB / 4.447 GB, free: 7.617 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/15.08, allocations: 231.3 kB / 4.447 GB, free: 7.395 MB / 490.7 MB Notification: Performance of SimCode: time 1.323e-06/15.08, allocations: 0 / 4.447 GB, free: 7.395 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.501/15.58, allocations: 18.71 MB / 4.466 GB, free: 75.02 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002835/15.58, allocations: 212.4 kB / 4.466 GB, free: 74.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.306/18.89, allocations: 5.672 kB / 4.466 GB, free: 74.73 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat