Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.919e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.586/9.724, allocations: 3.083 GB / 3.484 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/9.724, allocations: 73.06 kB / 3.484 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.104/10.83, allocations: 212.9 MB / 3.692 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/10.83, allocations: 0 / 3.692 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.507e-05/10.83, allocations: 3.156 kB / 3.692 GB, free: 108.8 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.005833/10.83, allocations: 1.157 MB / 3.693 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/10.83, allocations: 7.75 kB / 3.693 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.62e-05/10.83, allocations: 56.17 kB / 3.693 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/10.83, allocations: 36.36 kB / 3.693 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/10.83, allocations: 220 kB / 3.693 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/10.83, allocations: 120.8 kB / 3.693 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/10.83, allocations: 21.97 kB / 3.693 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/10.84, allocations: 313.9 kB / 3.694 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/10.84, allocations: 3.562 kB / 3.694 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/10.84, allocations: 15.16 kB / 3.694 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/10.84, allocations: 11.61 kB / 3.694 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/10.84, allocations: 0.726 MB / 3.694 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/10.84, allocations: 1.234 MB / 3.696 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/10.84, allocations: 147 kB / 3.696 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/10.84, allocations: 76.56 kB / 3.696 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003213/10.84, allocations: 3.029 MB / 3.699 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/10.84, allocations: 41.64 kB / 3.699 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 2.434e-06/10.84, allocations: 3.828 kB / 3.699 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0003516/10.84, allocations: 107.1 kB / 3.699 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/10.84, allocations: 58.62 kB / 3.699 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/10.84, allocations: 189 kB / 3.699 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/10.84, allocations: 29.58 kB / 3.699 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/10.84, allocations: 212.1 kB / 3.699 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/10.84, allocations: 51.55 kB / 3.699 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/10.84, allocations: 8.25 kB / 3.7 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/10.84, allocations: 330.9 kB / 3.7 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/10.84, allocations: 41.75 kB / 3.7 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/10.84, allocations: 324 kB / 3.7 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/10.84, allocations: 97.39 kB / 3.7 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/10.84, allocations: 7.781 kB / 3.7 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007002/10.84, allocations: 340.9 kB / 3.701 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/10.84, allocations: 7.75 kB / 3.701 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/10.84, allocations: 10.78 kB / 3.701 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/10.84, allocations: 18.7 kB / 3.701 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/10.85, allocations: 106.4 kB / 3.701 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/10.85, allocations: 18.78 kB / 3.701 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/10.85, allocations: 56.22 kB / 3.701 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/10.85, allocations: 28.19 kB / 3.701 GB, free: 102.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/10.85, allocations: 137.2 kB / 3.701 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/10.85, allocations: 17.72 kB / 3.701 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/10.85, allocations: 171.5 kB / 3.701 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/10.85, allocations: 0 / 3.701 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/10.85, allocations: 3.953 kB / 3.701 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/10.85, allocations: 3.688 kB / 3.701 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/10.85, allocations: 427.5 kB / 3.702 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/10.85, allocations: 0 / 3.702 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/10.85, allocations: 14.45 kB / 3.702 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/10.85, allocations: 2.562 kB / 3.702 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/10.85, allocations: 14.38 kB / 3.702 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/10.85, allocations: 0 / 3.702 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/10.85, allocations: 7.625 kB / 3.702 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/10.85, allocations: 255.8 kB / 3.702 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.61e-05/10.85, allocations: 121.6 kB / 3.702 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/10.85, allocations: 0 / 3.702 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/10.85, allocations: 6 kB / 3.702 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/10.85, allocations: 22.95 kB / 3.702 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/10.85, allocations: 3.25 kB / 3.702 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001466/10.85, allocations: 149.2 kB / 3.702 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/10.85, allocations: 0 / 3.702 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008843/10.85, allocations: 117.5 kB / 3.702 GB, free: 101.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008628/10.85, allocations: 1.238 MB / 3.703 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004023/10.85, allocations: 158.1 kB / 3.704 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/10.85, allocations: 3.938 kB / 3.704 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/10.85, allocations: 17.94 kB / 3.704 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/10.85, allocations: 49.42 kB / 3.704 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3237/11.17, allocations: 98.78 MB / 3.8 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/11.17, allocations: 0.723 MB / 3.801 GB, free: 63.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004013/11.18, allocations: 60.89 kB / 3.801 GB, free: 63.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/11.18, allocations: 62.73 kB / 3.801 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/11.18, allocations: 0 / 3.801 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/11.21, allocations: 7.804 MB / 3.809 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/11.21, allocations: 167.9 kB / 3.809 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/13.74, allocations: 0 / 3.809 GB, free: 58.33 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat