Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.284e-05, allocations: 8 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 50.42 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.997/1.109, allocations: 273.9 MB / 0.6021 GB, free: 84.88 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.109, allocations: 63.34 kB / 0.6021 GB, free: 84.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03382/1.143, allocations: 9.586 MB / 0.6115 GB, free: 76.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.143, allocations: 0 / 0.6115 GB, free: 76.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/1.143, allocations: 4 kB / 0.6115 GB, free: 76.96 MB / 442.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.001067/1.144, allocations: 453 kB / 0.6119 GB, free: 76.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.144, allocations: 12.03 kB / 0.6119 GB, free: 76.48 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/1.145, allocations: 53.69 kB / 0.612 GB, free: 76.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/1.145, allocations: 23.8 kB / 0.612 GB, free: 76.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/1.145, allocations: 209.5 kB / 0.6122 GB, free: 76.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/1.145, allocations: 15.59 kB / 0.6122 GB, free: 76.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/1.145, allocations: 15.41 kB / 0.6122 GB, free: 76.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/1.146, allocations: 200.1 kB / 0.6124 GB, free: 75.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.146, allocations: 0 / 0.6124 GB, free: 75.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/1.146, allocations: 7.625 kB / 0.6124 GB, free: 75.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/1.146, allocations: 11.89 kB / 0.6124 GB, free: 75.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/1.146, allocations: 121 kB / 0.6126 GB, free: 75.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/1.148, allocations: 0.9299 MB / 0.6135 GB, free: 74.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/1.148, allocations: 135.5 kB / 0.6136 GB, free: 74.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/1.148, allocations: 49.98 kB / 0.6136 GB, free: 74.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/1.149, allocations: 0.5169 MB / 0.6141 GB, free: 74.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/1.149, allocations: 33.94 kB / 0.6142 GB, free: 74.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/1.149, allocations: 0 / 0.6142 GB, free: 74.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.002569/1.151, allocations: 0.6266 MB / 0.6148 GB, free: 73.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/1.151, allocations: 55.41 kB / 0.6148 GB, free: 73.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/1.152, allocations: 145.9 kB / 0.615 GB, free: 73.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/1.152, allocations: 29.33 kB / 0.615 GB, free: 73.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/1.152, allocations: 209.7 kB / 0.6152 GB, free: 73.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/1.152, allocations: 77.73 kB / 0.6153 GB, free: 73.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/1.152, allocations: 7.562 kB / 0.6153 GB, free: 73.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/1.152, allocations: 322.6 kB / 0.6156 GB, free: 72.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/1.152, allocations: 68.73 kB / 0.6157 GB, free: 72.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/1.152, allocations: 166.5 kB / 0.6158 GB, free: 72.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/1.153, allocations: 94.58 kB / 0.6159 GB, free: 72.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.153, allocations: 0 / 0.6159 GB, free: 72.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005938/1.153, allocations: 263.5 kB / 0.6162 GB, free: 72.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.153, allocations: 16.02 kB / 0.6162 GB, free: 72.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.153, allocations: 4 kB / 0.6162 GB, free: 72.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/1.153, allocations: 8 kB / 0.6162 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/1.154, allocations: 83.45 kB / 0.6163 GB, free: 72.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/1.154, allocations: 4 kB / 0.6163 GB, free: 72.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/1.154, allocations: 15.48 kB / 0.6163 GB, free: 72.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/1.154, allocations: 15.31 kB / 0.6163 GB, free: 72.16 MB / 442.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.0001147/1.154, allocations: 132.5 kB / 0.6164 GB, free: 72.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/1.155, allocations: 19.73 kB / 0.6164 GB, free: 72.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/1.155, allocations: 210.2 kB / 0.6166 GB, free: 71.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.155, allocations: 0 / 0.6166 GB, free: 71.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.155, allocations: 0 / 0.6166 GB, free: 71.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.155, allocations: 7.984 kB / 0.6167 GB, free: 71.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/1.157, allocations: 0.5513 MB / 0.6172 GB, free: 71.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.157, allocations: 0 / 0.6172 GB, free: 71.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/1.157, allocations: 51.72 kB / 0.6172 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.157, allocations: 0 / 0.6172 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/1.157, allocations: 12.05 kB / 0.6173 GB, free: 71.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.157, allocations: 4 kB / 0.6173 GB, free: 71.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.157, allocations: 4 kB / 0.6173 GB, free: 71.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/1.158, allocations: 401.2 kB / 0.6176 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/1.158, allocations: 92.94 kB / 0.6177 GB, free: 70.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/1.158, allocations: 11.25 kB / 0.6177 GB, free: 70.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/1.158, allocations: 19.73 kB / 0.6178 GB, free: 70.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/1.158, allocations: 15.92 kB / 0.6178 GB, free: 70.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/1.158, allocations: 15.3 kB / 0.6178 GB, free: 70.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001047/1.159, allocations: 108.6 kB / 0.6179 GB, free: 70.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.159, allocations: 0 / 0.6179 GB, free: 70.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005305/1.159, allocations: 67.12 kB / 0.618 GB, free: 70.53 MB / 442.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.0009722/1.16, allocations: 1.245 MB / 0.6192 GB, free: 69.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004561/1.161, allocations: 170.8 kB / 0.6193 GB, free: 69.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.161, allocations: 8.062 kB / 0.6193 GB, free: 69.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/1.161, allocations: 70.56 kB / 0.6194 GB, free: 69.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/1.161, allocations: 31.22 kB / 0.6194 GB, free: 69.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/1.162, allocations: 381.5 kB / 0.6198 GB, free: 68.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/1.163, allocations: 0.7242 MB / 0.6205 GB, free: 67.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/1.163, allocations: 59.84 kB / 0.6206 GB, free: 67.93 MB / 442.7 MB Notification: Performance of SimCode: time 8.31e-07/1.163, allocations: 0 / 0.6206 GB, free: 67.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.475/3.638, allocations: 3.344 MB / 0.6238 GB, free: 64.61 MB / 442.7 MB