Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 208.4 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.321e-05, allocations: 4 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09765, allocations: 44.5 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9597/1.057, allocations: 268.4 MB / 0.555 GB, free: 109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.058, allocations: 66.56 kB / 0.555 GB, free: 109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03606/1.094, allocations: 9.322 MB / 0.5642 GB, free: 107.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.094, allocations: 0 / 0.5642 GB, free: 107.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/1.094, allocations: 7.812 kB / 0.5642 GB, free: 107.3 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.001187/1.095, allocations: 454.3 kB / 0.5646 GB, free: 106.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.095, allocations: 6.812 kB / 0.5646 GB, free: 106.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.972e-05/1.095, allocations: 52.61 kB / 0.5646 GB, free: 106.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/1.096, allocations: 22.17 kB / 0.5647 GB, free: 106.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/1.096, allocations: 214.6 kB / 0.5649 GB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/1.096, allocations: 7.406 kB / 0.5649 GB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/1.096, allocations: 18.03 kB / 0.5649 GB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/1.096, allocations: 207.9 kB / 0.5651 GB, free: 106.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/1.096, allocations: 0 / 0.5651 GB, free: 106.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/1.096, allocations: 7.531 kB / 0.5651 GB, free: 106.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.096, allocations: 3.844 kB / 0.5651 GB, free: 106.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/1.097, allocations: 128.5 kB / 0.5652 GB, free: 106.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/1.099, allocations: 0.9418 MB / 0.5661 GB, free: 105.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/1.099, allocations: 121.1 kB / 0.5663 GB, free: 105.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/1.099, allocations: 53.88 kB / 0.5663 GB, free: 105.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/1.1, allocations: 0.508 MB / 0.5668 GB, free: 105.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/1.1, allocations: 42.27 kB / 0.5669 GB, free: 105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.657e-06/1.1, allocations: 0 / 0.5669 GB, free: 105 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.002777/1.103, allocations: 0.6331 MB / 0.5675 GB, free: 104.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/1.103, allocations: 59.31 kB / 0.5675 GB, free: 104.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/1.103, allocations: 144.5 kB / 0.5677 GB, free: 104.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/1.103, allocations: 28.27 kB / 0.5677 GB, free: 104.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/1.103, allocations: 216.2 kB / 0.5679 GB, free: 104.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/1.103, allocations: 71.19 kB / 0.568 GB, free: 104.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/1.103, allocations: 3.625 kB / 0.568 GB, free: 104.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/1.103, allocations: 325.7 kB / 0.5683 GB, free: 103.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.104, allocations: 64.81 kB / 0.5683 GB, free: 103.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/1.104, allocations: 173.5 kB / 0.5685 GB, free: 103.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/1.104, allocations: 90.72 kB / 0.5686 GB, free: 103.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.104, allocations: 0 / 0.5686 GB, free: 103.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006668/1.105, allocations: 276.5 kB / 0.5689 GB, free: 103.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/1.105, allocations: 13.28 kB / 0.5689 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.105, allocations: 7.891 kB / 0.5689 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/1.105, allocations: 3.594 kB / 0.5689 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/1.106, allocations: 86.28 kB / 0.569 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/1.106, allocations: 7.75 kB / 0.569 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/1.106, allocations: 23.17 kB / 0.569 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/1.106, allocations: 11.31 kB / 0.569 GB, free: 103.6 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.0001236/1.106, allocations: 123.2 kB / 0.5691 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/1.106, allocations: 15.41 kB / 0.5691 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/1.107, allocations: 213.3 kB / 0.5693 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.107, allocations: 3.938 kB / 0.5693 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.107, allocations: 0 / 0.5693 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/1.107, allocations: 3.953 kB / 0.5693 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/1.109, allocations: 0.5583 MB / 0.5699 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.109, allocations: 3.812 kB / 0.5699 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/1.109, allocations: 52.77 kB / 0.5699 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.109, allocations: 0 / 0.5699 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/1.109, allocations: 15.05 kB / 0.57 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/1.109, allocations: 2.094 kB / 0.57 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.109, allocations: 0.9375 kB / 0.57 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/1.11, allocations: 398.6 kB / 0.5703 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/1.11, allocations: 100.7 kB / 0.5704 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/1.11, allocations: 7.281 kB / 0.5704 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/1.111, allocations: 19.5 kB / 0.5705 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/1.111, allocations: 13.2 kB / 0.5705 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/1.111, allocations: 19.45 kB / 0.5705 GB, free: 102.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001078/1.111, allocations: 103.6 kB / 0.5706 GB, free: 102.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.111, allocations: 0 / 0.5706 GB, free: 102.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005548/1.112, allocations: 69.67 kB / 0.5707 GB, free: 102.5 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.001107/1.113, allocations: 1.24 MB / 0.5719 GB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005461/1.113, allocations: 191.9 kB / 0.5721 GB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.113, allocations: 3.938 kB / 0.5721 GB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/1.113, allocations: 71.14 kB / 0.5721 GB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/1.114, allocations: 39.95 kB / 0.5722 GB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/1.115, allocations: 382.8 kB / 0.5725 GB, free: 101 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/1.116, allocations: 0.7243 MB / 0.5732 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/1.116, allocations: 50.41 kB / 0.5733 GB, free: 100.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/1.116, allocations: 0 / 0.5733 GB, free: 100.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.564/3.68, allocations: 3.344 MB / 0.5766 GB, free: 96.89 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat