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.031/2.031, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.571e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 44.49 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9542/1.062, allocations: 268.4 MB / 0.555 GB, free: 109.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/1.063, allocations: 61.94 kB / 0.5551 GB, free: 109.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03265/1.095, allocations: 9.325 MB / 0.5642 GB, free: 108.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.095, allocations: 0 / 0.5642 GB, free: 108.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/1.095, allocations: 3.188 kB / 0.5642 GB, free: 108.6 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.001062/1.097, allocations: 454.7 kB / 0.5647 GB, free: 108.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.097, allocations: 11.47 kB / 0.5647 GB, free: 108.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/1.097, allocations: 45.62 kB / 0.5647 GB, free: 108.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/1.097, allocations: 23.12 kB / 0.5647 GB, free: 108.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/1.097, allocations: 213.4 kB / 0.5649 GB, free: 107.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.097, allocations: 15.91 kB / 0.5649 GB, free: 107.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/1.097, allocations: 15.53 kB / 0.565 GB, free: 107.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/1.098, allocations: 204 kB / 0.5652 GB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/1.098, allocations: 7.906 kB / 0.5652 GB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/1.098, allocations: 3.812 kB / 0.5652 GB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.098, allocations: 3.875 kB / 0.5652 GB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/1.098, allocations: 121.5 kB / 0.5653 GB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/1.1, allocations: 0.9395 MB / 0.5662 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/1.1, allocations: 125.1 kB / 0.5663 GB, free: 106.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/1.1, allocations: 46.34 kB / 0.5664 GB, free: 106.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/1.101, allocations: 0.5063 MB / 0.5669 GB, free: 106.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/1.101, allocations: 45.89 kB / 0.5669 GB, free: 106.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.775e-06/1.101, allocations: 0 / 0.5669 GB, free: 106.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.00258/1.103, allocations: 0.6335 MB / 0.5675 GB, free: 106 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/1.103, allocations: 58.5 kB / 0.5676 GB, free: 105.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/1.104, allocations: 145.3 kB / 0.5677 GB, free: 105.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/1.104, allocations: 33.3 kB / 0.5677 GB, free: 105.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/1.104, allocations: 142.7 kB / 0.5679 GB, free: 105.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/1.104, allocations: 69.25 kB / 0.568 GB, free: 105.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/1.104, allocations: 3.625 kB / 0.568 GB, free: 105.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.01e-05/1.104, allocations: 325.5 kB / 0.5683 GB, free: 105.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/1.104, allocations: 68.33 kB / 0.5683 GB, free: 105.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/1.104, allocations: 167.7 kB / 0.5685 GB, free: 105.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/1.105, allocations: 92.45 kB / 0.5686 GB, free: 105.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.105, allocations: 0 / 0.5686 GB, free: 105.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005965/1.105, allocations: 275.3 kB / 0.5688 GB, free: 105.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.105, allocations: 8.453 kB / 0.5688 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.105, allocations: 7.797 kB / 0.5689 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/1.105, allocations: 7.781 kB / 0.5689 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/1.106, allocations: 77.92 kB / 0.5689 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/1.106, allocations: 7.719 kB / 0.5689 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/1.106, allocations: 19.14 kB / 0.569 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/1.106, allocations: 19.09 kB / 0.569 GB, free: 105 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.0001012/1.107, allocations: 119.6 kB / 0.5691 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/1.107, allocations: 19.58 kB / 0.5691 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/1.107, allocations: 204 kB / 0.5693 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.107, allocations: 3.906 kB / 0.5693 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.107, allocations: 0 / 0.5693 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.107, allocations: 7.938 kB / 0.5693 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/1.109, allocations: 0.5568 MB / 0.5699 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.109, allocations: 3.906 kB / 0.5699 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/1.109, allocations: 47.06 kB / 0.5699 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.109, allocations: 8.031 kB / 0.5699 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/1.109, allocations: 7.734 kB / 0.5699 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.109, allocations: 3.906 kB / 0.5699 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.109, allocations: 0 / 0.5699 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/1.11, allocations: 408 kB / 0.5703 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/1.11, allocations: 96.66 kB / 0.5704 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/1.11, allocations: 7.094 kB / 0.5704 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/1.11, allocations: 19.12 kB / 0.5704 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/1.11, allocations: 11.98 kB / 0.5705 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/1.11, allocations: 19.05 kB / 0.5705 GB, free: 104 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.464e-05/1.111, allocations: 105.9 kB / 0.5706 GB, free: 103.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.111, allocations: 0 / 0.5706 GB, free: 103.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005487/1.111, allocations: 69.66 kB / 0.5706 GB, free: 103.9 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.0009988/1.112, allocations: 1.244 MB / 0.5719 GB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004668/1.113, allocations: 182.8 kB / 0.572 GB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.113, allocations: 0 / 0.572 GB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/1.113, allocations: 75.08 kB / 0.5721 GB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/1.113, allocations: 41.83 kB / 0.5721 GB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.115, allocations: 342.2 kB / 0.5725 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/1.115, allocations: 0.7286 MB / 0.5732 GB, free: 101.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004555/1.115, allocations: 41.19 kB / 0.5732 GB, free: 101.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/1.115, allocations: 51.11 kB / 0.5733 GB, free: 101.8 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/1.115, allocations: 0 / 0.5733 GB, free: 101.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/1.144, allocations: 4.464 MB / 0.5776 GB, free: 98.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/1.144, allocations: 140.2 kB / 0.5778 GB, free: 98.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.717, allocations: 0 / 0.5778 GB, free: 98.62 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