Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.543/2.543, allocations: 270 MB / 283.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.639e-05, allocations: 4 kB / 348.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4337, allocations: 61.87 MB / 410.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.447/1.881, allocations: 422.7 MB / 0.8136 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.881, allocations: 91.5 kB / 0.8137 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8032/2.684, allocations: 121.7 MB / 0.9325 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/2.685, allocations: 3.031 kB / 0.9325 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.459e-05/2.685, allocations: 18.12 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.002973/2.688, allocations: 0.9763 MB / 0.9335 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/2.688, allocations: 7.469 kB / 0.9335 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/2.688, allocations: 99.97 kB / 0.9336 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005378/2.688, allocations: 87.81 kB / 0.9337 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/2.69, allocations: 0.5271 MB / 0.9342 GB, free: 145 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/2.69, allocations: 104.1 kB / 0.9343 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/2.69, allocations: 59.11 kB / 0.9343 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/2.692, allocations: 0.8111 MB / 0.9351 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/2.692, allocations: 0 / 0.9351 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/2.692, allocations: 26.16 kB / 0.9352 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-05/2.692, allocations: 41.36 kB / 0.9352 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/2.693, allocations: 0.6018 MB / 0.9358 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006297/2.7, allocations: 3.924 MB / 0.9396 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/2.701, allocations: 388.6 kB / 0.94 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/2.701, allocations: 197.9 kB / 0.9402 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000518/2.702, allocations: 0.4982 MB / 0.9407 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/2.702, allocations: 40.73 kB / 0.9407 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.236e-06/2.702, allocations: 0 / 0.9407 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.004056/2.706, allocations: 1.335 MB / 0.942 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/2.706, allocations: 136 kB / 0.9421 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/2.707, allocations: 0.4959 MB / 0.9426 GB, free: 141 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/2.707, allocations: 37.48 kB / 0.9426 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/2.707, allocations: 354.4 kB / 0.943 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/2.708, allocations: 162.6 kB / 0.9431 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/2.708, allocations: 14 kB / 0.9432 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000119/2.708, allocations: 375.4 kB / 0.9435 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/2.708, allocations: 212.5 kB / 0.9437 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/2.709, allocations: 0.5028 MB / 0.9442 GB, free: 140 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006536/2.71, allocations: 309.6 kB / 0.9445 GB, free: 140 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/2.71, allocations: 0 / 0.9445 GB, free: 140 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002507/2.712, allocations: 0.8801 MB / 0.9454 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/2.712, allocations: 10.55 kB / 0.9454 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/2.712, allocations: 14.66 kB / 0.9454 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/2.714, allocations: 259.5 kB / 0.9456 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/2.715, allocations: 123.4 kB / 0.9458 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/2.716, allocations: 0.8628 MB / 0.9466 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/2.717, allocations: 45.27 kB / 0.9466 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.543e-05/2.717, allocations: 33.72 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.0002134/2.717, allocations: 158.6 kB / 0.9468 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/2.717, allocations: 64.78 kB / 0.9469 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/2.719, allocations: 0.692 MB / 0.9476 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/2.719, allocations: 7.312 kB / 0.9476 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/2.719, allocations: 3.531 kB / 0.9476 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/2.719, allocations: 3.891 kB / 0.9476 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/2.722, allocations: 1.365 MB / 0.9489 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/2.722, allocations: 6.719 kB / 0.9489 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/2.724, allocations: 194.3 kB / 0.9491 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/2.725, allocations: 55.38 kB / 0.9492 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/2.725, allocations: 19.08 kB / 0.9492 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/2.727, allocations: 2.776 MB / 0.9519 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/2.727, allocations: 3.312 kB / 0.9519 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/2.729, allocations: 1.056 MB / 0.9529 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/2.73, allocations: 200.1 kB / 0.9531 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/2.73, allocations: 14.38 kB / 0.9531 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/2.731, allocations: 27.23 kB / 0.9531 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/2.731, allocations: 43.92 kB / 0.9532 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/2.731, allocations: 17.22 kB / 0.9532 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006495/2.732, allocations: 389 kB / 0.9536 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/2.732, allocations: 3.531 kB / 0.9536 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001233/2.733, allocations: 222.8 kB / 0.9538 GB, free: 135.6 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.002919/2.736, allocations: 2.245 MB / 0.956 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001624/2.737, allocations: 0.5688 MB / 0.9565 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/2.737, allocations: 0 / 0.9565 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/2.739, allocations: 450.7 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.002733/2.742, allocations: 324.5 kB / 0.9573 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/2.745, allocations: 1.172 MB / 0.9584 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/2.746, allocations: 0.9476 MB / 0.9593 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001198/2.747, allocations: 203.8 kB / 0.9595 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/2.747, allocations: 237.7 kB / 0.9598 GB, free: 133 MB / 0.5261 GB Notification: Performance of SimCode: time 1.654e-06/2.747, allocations: 0 / 0.9598 GB, free: 133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06486/2.812, allocations: 20.25 MB / 0.9795 GB, free: 132 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/2.813, allocations: 265.2 kB / 0.9798 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.649/6.461, allocations: 5.312 kB / 0.9798 GB, free: 131.7 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat