Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.705/3.705, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.587e-05/4.606e-05, allocations: 11.12 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5945, allocations: 92.66 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.782, allocations: 384.2 MB / 0.9648 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/1.783, allocations: 90.2 kB / 0.9649 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.41/5.192, allocations: 0.6853 GB / 1.65 GB, free: 18.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.114e-06/5.192, allocations: 0 / 1.65 GB, free: 18.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002988/5.193, allocations: 60.08 kB / 1.65 GB, free: 18.4 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.005649/5.198, allocations: 1.845 MB / 1.652 GB, free: 16.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/5.198, allocations: 12.03 kB / 1.652 GB, free: 16.48 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003611/5.199, allocations: 152.1 kB / 1.652 GB, free: 16.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/5.201, allocations: 328.8 kB / 1.653 GB, free: 16.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008907/5.21, allocations: 2.482 MB / 1.655 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/5.21, allocations: 86 kB / 1.655 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/5.211, allocations: 111.9 kB / 1.655 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/5.215, allocations: 1.409 MB / 1.657 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/5.215, allocations: 7.938 kB / 1.657 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/5.216, allocations: 47.95 kB / 1.657 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/5.216, allocations: 27.98 kB / 1.657 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0041/5.22, allocations: 1.046 MB / 1.658 GB, free: 10.65 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/5.234, allocations: 7.12 MB / 1.665 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/5.237, allocations: 0.6448 MB / 1.665 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009021/5.238, allocations: 372.8 kB / 1.666 GB, free: 2.016 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003819/5.242, allocations: 1.519 MB / 1.667 GB, free: 420 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5656/5.808, allocations: 0.5101 MB / 1.668 GB, free: 181.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00156/5.809, allocations: 146.6 kB / 1.668 GB, free: 181.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 4.228e-06/5.809, allocations: 8.188 kB / 1.668 GB, free: 181.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=53): time 0.01592/5.825, allocations: 2.609 MB / 1.67 GB, free: 180.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/5.825, allocations: 139.9 kB / 1.67 GB, free: 180.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/5.829, allocations: 1.539 MB / 1.672 GB, free: 180.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002516/5.829, allocations: 43.17 kB / 1.672 GB, free: 180.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/5.83, allocations: 0.8658 MB / 1.673 GB, free: 180.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/5.83, allocations: 186 kB / 1.673 GB, free: 180.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/5.83, allocations: 23.19 kB / 1.673 GB, free: 180.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001034/5.831, allocations: 338.4 kB / 1.673 GB, free: 179.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008629/5.831, allocations: 307.6 kB / 1.674 GB, free: 179.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/5.833, allocations: 0.7833 MB / 1.674 GB, free: 179.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/5.834, allocations: 457.3 kB / 1.675 GB, free: 179.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/5.834, allocations: 3.156 kB / 1.675 GB, free: 179.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00827/5.842, allocations: 1.473 MB / 1.676 GB, free: 178.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001044/5.843, allocations: 4.686 MB / 1.681 GB, free: 174.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/5.843, allocations: 15.92 kB / 1.681 GB, free: 174.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008376/5.844, allocations: 210.9 kB / 1.681 GB, free: 174.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/5.846, allocations: 194.4 kB / 1.681 GB, free: 174.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/5.847, allocations: 0.9239 MB / 1.682 GB, free: 173.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/5.85, allocations: 119.5 kB / 1.682 GB, free: 173.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/5.85, allocations: 53.84 kB / 1.682 GB, free: 173.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/5.85, allocations: 7.031 kB / 1.682 GB, free: 173.5 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002428/5.853, allocations: 1.099 MB / 1.683 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/5.853, allocations: 10.97 kB / 1.683 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/5.853, allocations: 118.4 kB / 1.683 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/5.854, allocations: 185.8 kB / 1.684 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/5.857, allocations: 2.12 MB / 1.686 GB, free: 172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/5.859, allocations: 104.4 kB / 1.686 GB, free: 172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/5.859, allocations: 48.41 kB / 1.686 GB, free: 172 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003919/5.86, allocations: 172.4 kB / 1.686 GB, free: 171.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/5.86, allocations: 175.2 kB / 1.686 GB, free: 171.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007225/5.867, allocations: 1.22 MB / 1.687 GB, free: 171.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/5.867, allocations: 8 kB / 1.687 GB, free: 171.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/5.867, allocations: 0.5625 kB / 1.687 GB, free: 171.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006307/5.873, allocations: 1.174 MB / 1.689 GB, free: 171.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/5.884, allocations: 2.631 MB / 1.691 GB, free: 170.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/5.884, allocations: 7.266 kB / 1.691 GB, free: 170.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/5.885, allocations: 96.61 kB / 1.691 GB, free: 170.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006138/5.885, allocations: 198.3 kB / 1.691 GB, free: 170.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.691e-05/5.886, allocations: 20.05 kB / 1.691 GB, free: 170.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/5.898, allocations: 3.241 MB / 1.695 GB, free: 169.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/5.898, allocations: 0 / 1.695 GB, free: 169.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007992/5.906, allocations: 1.705 MB / 1.696 GB, free: 169.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/5.908, allocations: 320.1 kB / 1.697 GB, free: 168.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/5.908, allocations: 18.98 kB / 1.697 GB, free: 168.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/5.91, allocations: 93.72 kB / 1.697 GB, free: 168.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/5.91, allocations: 55.92 kB / 1.697 GB, free: 168.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/5.91, allocations: 30.98 kB / 1.697 GB, free: 168.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002338/5.913, allocations: 1.21 MB / 1.698 GB, free: 168.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.91e-07/5.913, allocations: 0 / 1.698 GB, free: 168.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004393/5.917, allocations: 0.8707 MB / 1.699 GB, free: 168.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (pump.vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.009919/5.927, allocations: 3.134 MB / 1.702 GB, free: 167.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004308/5.931, allocations: 1.599 MB / 1.703 GB, free: 167.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/5.931, allocations: 6.062 kB / 1.703 GB, free: 167.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/5.933, allocations: 0.5284 MB / 1.704 GB, free: 167.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005796/5.939, allocations: 0.7627 MB / 1.705 GB, free: 167.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007467/5.946, allocations: 2.796 MB / 1.707 GB, free: 166.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/5.948, allocations: 1.531 MB / 1.709 GB, free: 165.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004859/5.952, allocations: 0.9083 MB / 1.71 GB, free: 165.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/5.954, allocations: 0.6405 MB / 1.71 GB, free: 165.9 MB / 0.7761 GB Notification: Performance of SimCode: time 1.262e-06/5.954, allocations: 1.625 kB / 1.71 GB, free: 165.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1798/6.133, allocations: 59.37 MB / 1.768 GB, free: 163.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/6.134, allocations: 220.8 kB / 1.769 GB, free: 163.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.894/11.03, allocations: 4 kB / 1.769 GB, free: 163.4 MB / 0.7761 GB