Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 3.107/3.107, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.091e-05, allocations: 2.812 kB / 249.7 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.403/1.526, allocations: 267.7 MB / 0.5488 GB, free: 84.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/1.527, allocations: 60.78 kB / 0.5489 GB, free: 84.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05509/1.582, allocations: 9.279 MB / 0.5579 GB, free: 76.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.377e-06/1.582, allocations: 4 kB / 0.5579 GB, free: 76.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.853e-05/1.582, allocations: 7.938 kB / 0.5579 GB, free: 76.6 MB / 394.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.001621/1.584, allocations: 457.2 kB / 0.5584 GB, free: 76.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/1.584, allocations: 8.031 kB / 0.5584 GB, free: 76.11 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.56e-05/1.584, allocations: 38.25 kB / 0.5584 GB, free: 76.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/1.584, allocations: 23.8 kB / 0.5584 GB, free: 76.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/1.585, allocations: 217.1 kB / 0.5587 GB, free: 75.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/1.585, allocations: 4.281 kB / 0.5587 GB, free: 75.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/1.585, allocations: 11.91 kB / 0.5587 GB, free: 75.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005307/1.585, allocations: 111.3 kB / 0.5588 GB, free: 75.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/1.586, allocations: 176.3 kB / 0.5589 GB, free: 75.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/1.586, allocations: 0.5 kB / 0.5589 GB, free: 75.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/1.586, allocations: 4 kB / 0.5589 GB, free: 75.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/1.586, allocations: 4 kB / 0.5589 GB, free: 75.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/1.588, allocations: 0.9075 MB / 0.5598 GB, free: 74.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/1.589, allocations: 121.6 kB / 0.56 GB, free: 74.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/1.589, allocations: 36.61 kB / 0.56 GB, free: 74.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/1.59, allocations: 0.5136 MB / 0.5605 GB, free: 73.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.59, allocations: 30.56 kB / 0.5605 GB, free: 73.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 4.599e-06/1.59, allocations: 0 / 0.5605 GB, free: 73.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.004439/1.595, allocations: 0.6031 MB / 0.5611 GB, free: 73.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/1.595, allocations: 55.41 kB / 0.5612 GB, free: 73.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/1.595, allocations: 143.6 kB / 0.5613 GB, free: 73.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/1.595, allocations: 29.7 kB / 0.5613 GB, free: 73.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/1.595, allocations: 146.7 kB / 0.5615 GB, free: 72.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/1.595, allocations: 66.31 kB / 0.5615 GB, free: 72.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/1.595, allocations: 0 / 0.5615 GB, free: 72.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/1.595, allocations: 326 kB / 0.5618 GB, free: 72.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/1.596, allocations: 57.23 kB / 0.5619 GB, free: 72.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/1.596, allocations: 158.7 kB / 0.562 GB, free: 72.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/1.596, allocations: 89.08 kB / 0.5621 GB, free: 72.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.597, allocations: 0 / 0.5621 GB, free: 72.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001038/1.598, allocations: 249.1 kB / 0.5624 GB, free: 72.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/1.598, allocations: 4 kB / 0.5624 GB, free: 72.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.598, allocations: 4 kB / 0.5624 GB, free: 72.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/1.598, allocations: 8 kB / 0.5624 GB, free: 72.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.599, allocations: 91.81 kB / 0.5625 GB, free: 72.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/1.599, allocations: 8 kB / 0.5625 GB, free: 72.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000653/1.6, allocations: 15.92 kB / 0.5625 GB, free: 71.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/1.6, allocations: 19.48 kB / 0.5625 GB, free: 71.98 MB / 394.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.0001543/1.6, allocations: 116.6 kB / 0.5626 GB, free: 71.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.6, allocations: 15.81 kB / 0.5626 GB, free: 71.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009941/1.601, allocations: 185.5 kB / 0.5628 GB, free: 71.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.601, allocations: 4 kB / 0.5628 GB, free: 71.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.601, allocations: 4 kB / 0.5628 GB, free: 71.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.601, allocations: 0 / 0.5628 GB, free: 71.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/1.603, allocations: 0.51 MB / 0.5633 GB, free: 71.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.603, allocations: 8.031 kB / 0.5633 GB, free: 71.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000867/1.604, allocations: 51.58 kB / 0.5634 GB, free: 71.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/1.604, allocations: 7.953 kB / 0.5634 GB, free: 71.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/1.604, allocations: 3.984 kB / 0.5634 GB, free: 71.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.604, allocations: 4 kB / 0.5634 GB, free: 71.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.604, allocations: 3.938 kB / 0.5634 GB, free: 71.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.605, allocations: 384.1 kB / 0.5638 GB, free: 70.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/1.606, allocations: 88.95 kB / 0.5638 GB, free: 70.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.431e-05/1.606, allocations: 8.062 kB / 0.5639 GB, free: 70.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/1.606, allocations: 15.92 kB / 0.5639 GB, free: 70.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/1.606, allocations: 15.31 kB / 0.5639 GB, free: 70.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/1.606, allocations: 15.92 kB / 0.5639 GB, free: 70.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001159/1.607, allocations: 105.7 kB / 0.564 GB, free: 70.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.607, allocations: 0 / 0.564 GB, free: 70.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008342/1.607, allocations: 59.94 kB / 0.5641 GB, free: 70.43 MB / 394.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.001501/1.609, allocations: 1.242 MB / 0.5653 GB, free: 69.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006805/1.61, allocations: 166.8 kB / 0.5654 GB, free: 69.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.61, allocations: 0 / 0.5654 GB, free: 69.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/1.61, allocations: 74.42 kB / 0.5655 GB, free: 69.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/1.611, allocations: 36.09 kB / 0.5655 GB, free: 69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/1.613, allocations: 326.4 kB / 0.5658 GB, free: 68.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/1.613, allocations: 0.7165 MB / 0.5665 GB, free: 67.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007836/1.614, allocations: 50.05 kB / 0.5666 GB, free: 67.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/1.614, allocations: 44.36 kB / 0.5666 GB, free: 67.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/1.614, allocations: 0 / 0.5666 GB, free: 67.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06752/1.682, allocations: 3.941 MB / 0.5705 GB, free: 63.92 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002966/1.682, allocations: 135.3 kB / 0.5706 GB, free: 63.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.591/5.273, allocations: 4 kB / 0.5706 GB, free: 63.72 MB / 394.7 MB