Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.459/2.459, allocations: 270.1 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.407e-05/4.42e-05, allocations: 3.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.24/10.38, allocations: 3.126 GB / 3.527 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/10.38, allocations: 91 kB / 3.527 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.693/16.08, allocations: 1.141 GB / 4.669 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.506e-06/16.08, allocations: 0 / 4.669 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001477/16.08, allocations: 16.41 kB / 4.669 GB, free: 67.75 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.008455/16.08, allocations: 1.574 MB / 4.67 GB, free: 67.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/16.08, allocations: 13.33 kB / 4.67 GB, free: 67.29 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000416/16.08, allocations: 95.23 kB / 4.67 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/16.09, allocations: 90.81 kB / 4.67 GB, free: 67.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/16.09, allocations: 0.5388 MB / 4.671 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/16.09, allocations: 101.1 kB / 4.671 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/16.09, allocations: 50.14 kB / 4.671 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/16.09, allocations: 0.7952 MB / 4.672 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/16.09, allocations: 5.156 kB / 4.672 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/16.09, allocations: 26.27 kB / 4.672 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/16.09, allocations: 41.75 kB / 4.672 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/16.09, allocations: 0.6073 MB / 4.673 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008443/16.1, allocations: 3.927 MB / 4.676 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/16.1, allocations: 389 kB / 4.677 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/16.1, allocations: 197.3 kB / 4.677 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/16.1, allocations: 0.4964 MB / 4.677 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/16.1, allocations: 45.66 kB / 4.677 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.956e-06/16.1, allocations: 0 / 4.677 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.005012/16.11, allocations: 1.333 MB / 4.679 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/16.11, allocations: 135.6 kB / 4.679 GB, free: 63.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/16.11, allocations: 0.4943 MB / 4.679 GB, free: 62.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/16.11, allocations: 36.11 kB / 4.679 GB, free: 62.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/16.11, allocations: 351.8 kB / 4.68 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/16.11, allocations: 163.2 kB / 4.68 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/16.11, allocations: 16.66 kB / 4.68 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000155/16.11, allocations: 372.4 kB / 4.68 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/16.11, allocations: 211.8 kB / 4.68 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007678/16.11, allocations: 0.494 MB / 4.681 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008428/16.11, allocations: 309.8 kB / 4.681 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/16.11, allocations: 3 kB / 4.681 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003053/16.12, allocations: 0.8807 MB / 4.682 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/16.12, allocations: 12.3 kB / 4.682 GB, free: 61.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/16.12, allocations: 13.31 kB / 4.682 GB, free: 61.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/16.12, allocations: 260.8 kB / 4.682 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/16.12, allocations: 125 kB / 4.683 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/16.12, allocations: 0.858 MB / 4.683 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/16.12, allocations: 46.19 kB / 4.683 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/16.12, allocations: 35.75 kB / 4.683 GB, free: 61.27 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.0002568/16.12, allocations: 160.3 kB / 4.684 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/16.12, allocations: 63.8 kB / 4.684 GB, free: 61.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/16.13, allocations: 0.6898 MB / 4.684 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/16.13, allocations: 6.781 kB / 4.684 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/16.13, allocations: 1.219 kB / 4.684 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/16.13, allocations: 4.359 kB / 4.684 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/16.13, allocations: 1.365 MB / 4.686 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/16.13, allocations: 4.844 kB / 4.686 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/16.13, allocations: 194 kB / 4.686 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/16.13, allocations: 60.58 kB / 4.686 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/16.13, allocations: 14.11 kB / 4.686 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/16.13, allocations: 2.782 MB / 4.689 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/16.13, allocations: 2.438 kB / 4.689 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/16.14, allocations: 1.045 MB / 4.69 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007085/16.14, allocations: 211.3 kB / 4.69 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/16.14, allocations: 13.23 kB / 4.69 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009844/16.14, allocations: 30.81 kB / 4.69 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/16.14, allocations: 44.7 kB / 4.69 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.103e-05/16.14, allocations: 18.86 kB / 4.69 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007569/16.14, allocations: 385.4 kB / 4.69 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.71e-07/16.14, allocations: 0 / 4.69 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001951/16.14, allocations: 245.2 kB / 4.691 GB, free: 57.48 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.004102/16.15, allocations: 2.368 MB / 4.693 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00201/16.15, allocations: 0.5623 MB / 4.693 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/16.15, allocations: 1.25 kB / 4.693 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/16.15, allocations: 458.6 kB / 4.694 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/16.15, allocations: 318 kB / 4.694 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/16.16, allocations: 1.178 MB / 4.695 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009315/16.16, allocations: 0.9486 MB / 4.696 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001864/16.16, allocations: 203.5 kB / 4.696 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/16.16, allocations: 236.3 kB / 4.697 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/16.16, allocations: 0 / 4.697 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07033/16.23, allocations: 23.35 MB / 4.719 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/16.23, allocations: 260.4 kB / 4.72 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.669/19.9, allocations: 0 / 4.72 GB, free: 53.98 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat