Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.265e-05, allocations: 4 kB / 255.4 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9457/1.046, allocations: 268.4 MB / 0.555 GB, free: 109.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.047, allocations: 67.83 kB / 0.5551 GB, free: 109.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03517/1.082, allocations: 9.316 MB / 0.5642 GB, free: 107.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.066e-06/1.082, allocations: 0 / 0.5642 GB, free: 107.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/1.082, allocations: 7.344 kB / 0.5642 GB, free: 107.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001111/1.083, allocations: 452 kB / 0.5646 GB, free: 107.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.083, allocations: 10.31 kB / 0.5646 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/1.083, allocations: 44.73 kB / 0.5647 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/1.083, allocations: 29.56 kB / 0.5647 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/1.084, allocations: 211.9 kB / 0.5649 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/1.084, allocations: 11.61 kB / 0.5649 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/1.084, allocations: 22.62 kB / 0.5649 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/1.084, allocations: 205.3 kB / 0.5651 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/1.084, allocations: 3.875 kB / 0.5651 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/1.084, allocations: 7.875 kB / 0.5651 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.084, allocations: 3.906 kB / 0.5651 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/1.085, allocations: 130.1 kB / 0.5653 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/1.086, allocations: 0.9405 MB / 0.5662 GB, free: 106.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/1.087, allocations: 128.6 kB / 0.5663 GB, free: 106.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/1.087, allocations: 42.3 kB / 0.5663 GB, free: 106.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/1.088, allocations: 0.5145 MB / 0.5669 GB, free: 105.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/1.088, allocations: 38.14 kB / 0.5669 GB, free: 105.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/1.088, allocations: 0 / 0.5669 GB, free: 105.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.002764/1.09, allocations: 0.6346 MB / 0.5675 GB, free: 105.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.091, allocations: 58.94 kB / 0.5676 GB, free: 105.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.091, allocations: 140.3 kB / 0.5677 GB, free: 105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/1.091, allocations: 33.31 kB / 0.5677 GB, free: 105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/1.091, allocations: 143 kB / 0.5679 GB, free: 104.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/1.091, allocations: 78.2 kB / 0.5679 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/1.091, allocations: 3.562 kB / 0.5679 GB, free: 104.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/1.091, allocations: 325.7 kB / 0.5683 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/1.091, allocations: 58 kB / 0.5683 GB, free: 104.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/1.091, allocations: 174.3 kB / 0.5685 GB, free: 104.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/1.092, allocations: 96.48 kB / 0.5686 GB, free: 104.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.092, allocations: 3.906 kB / 0.5686 GB, free: 104.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006837/1.092, allocations: 269.7 kB / 0.5688 GB, free: 104.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.092, allocations: 8 kB / 0.5688 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.093, allocations: 7.859 kB / 0.5688 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/1.093, allocations: 10.88 kB / 0.5689 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/1.093, allocations: 84 kB / 0.5689 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.093, allocations: 7.875 kB / 0.5689 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/1.094, allocations: 23.17 kB / 0.569 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/1.094, allocations: 14.69 kB / 0.569 GB, free: 104.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.094, allocations: 120.5 kB / 0.5691 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/1.094, allocations: 15.44 kB / 0.5691 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006703/1.095, allocations: 208.7 kB / 0.5693 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/1.095, allocations: 3.812 kB / 0.5693 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.095, allocations: 0 / 0.5693 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/1.095, allocations: 3.953 kB / 0.5693 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/1.096, allocations: 0.5579 MB / 0.5699 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.096, allocations: 1.125 kB / 0.5699 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/1.097, allocations: 57.27 kB / 0.5699 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/1.097, allocations: 2.281 kB / 0.5699 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/1.097, allocations: 6.734 kB / 0.5699 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/1.097, allocations: 6.562 kB / 0.5699 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.097, allocations: 2.875 kB / 0.5699 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/1.098, allocations: 402.6 kB / 0.5703 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/1.098, allocations: 92.83 kB / 0.5704 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/1.098, allocations: 7.656 kB / 0.5704 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/1.099, allocations: 23.59 kB / 0.5704 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/1.099, allocations: 11.83 kB / 0.5704 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/1.099, allocations: 15.77 kB / 0.5705 GB, free: 103.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001077/1.099, allocations: 108.6 kB / 0.5706 GB, free: 103.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.099, allocations: 0 / 0.5706 GB, free: 103.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005622/1.099, allocations: 74.95 kB / 0.5706 GB, free: 103.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/1.101, allocations: 1.247 MB / 0.5719 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005286/1.101, allocations: 193.3 kB / 0.572 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.101, allocations: 0 / 0.572 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/1.101, allocations: 73.23 kB / 0.5721 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/1.102, allocations: 39.36 kB / 0.5721 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/1.103, allocations: 346.2 kB / 0.5725 GB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/1.103, allocations: 0.7243 MB / 0.5732 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004772/1.104, allocations: 38.08 kB / 0.5732 GB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/1.104, allocations: 54.41 kB / 0.5733 GB, free: 100.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/1.104, allocations: 0 / 0.5733 GB, free: 100.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/1.136, allocations: 4.478 MB / 0.5776 GB, free: 96.3 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/1.136, allocations: 143.1 kB / 0.5778 GB, free: 96.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.709, allocations: 0 / 0.5778 GB, free: 96.07 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat