Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 270 MB / 283.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.032e-05, allocations: 4 kB / 348.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4013, allocations: 61.87 MB / 410.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.774, allocations: 422.7 MB / 0.8136 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.774, allocations: 92.31 kB / 0.8136 GB, free: 104 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8113/2.585, allocations: 121.7 MB / 0.9325 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/2.585, allocations: 3.844 kB / 0.9325 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.018e-05/2.586, allocations: 24.67 kB / 0.9325 GB, free: 145.7 MB / 0.5261 GB 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.002845/2.588, allocations: 0.9744 MB / 0.9335 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/2.588, allocations: 6.531 kB / 0.9335 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/2.589, allocations: 94.95 kB / 0.9336 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005256/2.589, allocations: 92.58 kB / 0.9337 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/2.591, allocations: 0.5286 MB / 0.9342 GB, free: 145 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/2.591, allocations: 99.53 kB / 0.9343 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/2.591, allocations: 59.56 kB / 0.9343 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/2.593, allocations: 0.8034 MB / 0.9351 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/2.593, allocations: 0 / 0.9351 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/2.593, allocations: 22.19 kB / 0.9351 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.52e-05/2.593, allocations: 42.16 kB / 0.9352 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/2.595, allocations: 0.6081 MB / 0.9358 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00683/2.602, allocations: 3.928 MB / 0.9396 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/2.603, allocations: 377.4 kB / 0.94 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/2.604, allocations: 204.1 kB / 0.9402 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005621/2.604, allocations: 0.5007 MB / 0.9406 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/2.604, allocations: 37.61 kB / 0.9407 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.467e-06/2.604, allocations: 0 / 0.9407 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.004339/2.609, allocations: 1.334 MB / 0.942 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/2.609, allocations: 135.4 kB / 0.9421 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/2.61, allocations: 0.4977 MB / 0.9426 GB, free: 141 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.755e-05/2.61, allocations: 33.61 kB / 0.9426 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/2.61, allocations: 356 kB / 0.943 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/2.61, allocations: 159.7 kB / 0.9431 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/2.61, allocations: 14.38 kB / 0.9431 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001663/2.61, allocations: 383.1 kB / 0.9435 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/2.611, allocations: 211.5 kB / 0.9437 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009853/2.612, allocations: 0.4972 MB / 0.9442 GB, free: 140 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009757/2.613, allocations: 305.3 kB / 0.9445 GB, free: 140 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/2.613, allocations: 3.906 kB / 0.9445 GB, free: 140 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003585/2.617, allocations: 0.8816 MB / 0.9453 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/2.617, allocations: 10.28 kB / 0.9454 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/2.617, allocations: 10.83 kB / 0.9454 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/2.619, allocations: 271.2 kB / 0.9456 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/2.62, allocations: 125 kB / 0.9457 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/2.622, allocations: 0.8587 MB / 0.9466 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/2.624, allocations: 44.44 kB / 0.9466 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/2.624, allocations: 39.66 kB / 0.9467 GB, free: 139.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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.0003328/2.624, allocations: 148.7 kB / 0.9468 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/2.624, allocations: 67.81 kB / 0.9469 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/2.627, allocations: 0.6923 MB / 0.9475 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/2.627, allocations: 10.5 kB / 0.9476 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/2.627, allocations: 0 / 0.9476 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/2.627, allocations: 3.938 kB / 0.9476 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/2.632, allocations: 1.368 MB / 0.9489 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/2.632, allocations: 0 / 0.9489 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/2.635, allocations: 200 kB / 0.9491 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004934/2.635, allocations: 53.38 kB / 0.9491 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/2.635, allocations: 19.34 kB / 0.9492 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/2.639, allocations: 2.782 MB / 0.9519 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/2.639, allocations: 3.203 kB / 0.9519 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/2.642, allocations: 1.047 MB / 0.9529 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/2.643, allocations: 202.4 kB / 0.9531 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/2.643, allocations: 15.44 kB / 0.9531 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/2.644, allocations: 27.17 kB / 0.9531 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/2.644, allocations: 43.05 kB / 0.9532 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.825e-05/2.644, allocations: 22.39 kB / 0.9532 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000972/2.645, allocations: 388.5 kB / 0.9536 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.12e-07/2.645, allocations: 3.438 kB / 0.9536 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002027/2.647, allocations: 219 kB / 0.9538 GB, free: 135.5 MB / 0.5261 GB 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.004182/2.652, allocations: 2.242 MB / 0.956 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002302/2.654, allocations: 0.5704 MB / 0.9565 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/2.654, allocations: 3.125 kB / 0.9565 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/2.656, allocations: 450.8 kB / 0.957 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/2.66, allocations: 323.3 kB / 0.9573 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/2.665, allocations: 1.17 MB / 0.9584 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/2.666, allocations: 0.9487 MB / 0.9593 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001622/2.667, allocations: 203.9 kB / 0.9595 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006372/2.668, allocations: 238.2 kB / 0.9598 GB, free: 133 MB / 0.5261 GB Notification: Performance of SimCode: time 2.605e-06/2.668, allocations: 9.406 kB / 0.9598 GB, free: 133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07536/2.743, allocations: 20.24 MB / 0.9795 GB, free: 132 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/2.744, allocations: 269.2 kB / 0.9798 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.53/6.273, allocations: 0 / 0.9798 GB, free: 131.7 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat