Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.87/3.87, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.235e-05/4.245e-05, allocations: 11.88 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6316/0.6317, allocations: 92.67 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.821, allocations: 417.4 MB / 0.9973 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/1.822, allocations: 94.31 kB / 0.9974 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.227/5.049, allocations: 0.6463 GB / 1.644 GB, free: 29.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.525e-06/5.049, allocations: 0 / 1.644 GB, free: 29.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002595/5.049, allocations: 32 kB / 1.644 GB, free: 29.61 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004999/5.054, allocations: 1.738 MB / 1.645 GB, free: 27.81 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/5.054, allocations: 16.03 kB / 1.645 GB, free: 27.79 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000338/5.055, allocations: 135.6 kB / 1.646 GB, free: 27.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/5.058, allocations: 397.5 kB / 1.646 GB, free: 27.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02644/5.085, allocations: 8.146 MB / 1.654 GB, free: 19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/5.085, allocations: 74 kB / 1.654 GB, free: 18.92 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/5.085, allocations: 95.98 kB / 1.654 GB, free: 18.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/5.088, allocations: 1.064 MB / 1.655 GB, free: 17.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/5.088, allocations: 3.938 kB / 1.655 GB, free: 17.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/5.088, allocations: 43.95 kB / 1.655 GB, free: 17.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/5.088, allocations: 28 kB / 1.655 GB, free: 17.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/5.09, allocations: 0.6754 MB / 1.656 GB, free: 16.93 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.009546/5.099, allocations: 5.741 MB / 1.661 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/5.101, allocations: 0.4996 MB / 1.662 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/5.101, allocations: 249.9 kB / 1.662 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003202/5.105, allocations: 1.715 MB / 1.664 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007264/5.105, allocations: 377.2 kB / 1.664 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007391/5.106, allocations: 99.23 kB / 1.664 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 4.439e-06/5.106, allocations: 3.984 kB / 1.664 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of matching and sorting (n=47): time 0.001692/5.108, allocations: 0.6207 MB / 1.665 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/5.108, allocations: 170.3 kB / 1.665 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/5.11, allocations: 1.125 MB / 1.666 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/5.11, allocations: 41.7 kB / 1.666 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007283/5.111, allocations: 0.692 MB / 1.667 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/5.111, allocations: 165.6 kB / 1.667 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/5.111, allocations: 16 kB / 1.667 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/5.111, allocations: 337.9 kB / 1.667 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/5.112, allocations: 205.5 kB / 1.668 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/5.113, allocations: 0.5303 MB / 1.668 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/5.113, allocations: 310.7 kB / 1.668 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/5.113, allocations: 4 kB / 1.668 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002281/5.116, allocations: 0.8992 MB / 1.669 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.5848/5.701, allocations: 3.848 MB / 1.673 GB, free: 109.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/5.701, allocations: 10.33 kB / 1.673 GB, free: 109.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006602/5.701, allocations: 89.12 kB / 1.673 GB, free: 109.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/5.703, allocations: 184.2 kB / 1.673 GB, free: 109.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009809/5.704, allocations: 1.13 MB / 1.674 GB, free: 108.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/5.706, allocations: 78.98 kB / 1.675 GB, free: 108.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/5.706, allocations: 47.2 kB / 1.675 GB, free: 108.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/5.706, allocations: 5.469 kB / 1.675 GB, free: 108.6 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002642/5.709, allocations: 0.7513 MB / 1.675 GB, free: 108.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/5.709, allocations: 9.5 kB / 1.675 GB, free: 108.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/5.709, allocations: 86.09 kB / 1.675 GB, free: 108.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/5.711, allocations: 181.8 kB / 1.676 GB, free: 108.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007544/5.712, allocations: 1.136 MB / 1.677 GB, free: 107.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/5.713, allocations: 81.08 kB / 1.677 GB, free: 107.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/5.714, allocations: 44.45 kB / 1.677 GB, free: 107.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003973/5.714, allocations: 189 kB / 1.677 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/5.714, allocations: 142.6 kB / 1.677 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/5.717, allocations: 0.7454 MB / 1.678 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/5.717, allocations: 6.391 kB / 1.678 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/5.717, allocations: 1.094 kB / 1.678 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/5.717, allocations: 6.328 kB / 1.678 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/5.722, allocations: 1.912 MB / 1.68 GB, free: 106.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/5.722, allocations: 1.031 kB / 1.68 GB, free: 106.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/5.723, allocations: 108.5 kB / 1.68 GB, free: 106.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/5.724, allocations: 79.72 kB / 1.68 GB, free: 106.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.973e-05/5.724, allocations: 18.94 kB / 1.68 GB, free: 106.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007197/5.725, allocations: 1.11 MB / 1.681 GB, free: 105.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/5.725, allocations: 4.875 kB / 1.681 GB, free: 105.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/5.727, allocations: 0.8655 MB / 1.682 GB, free: 105.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/5.728, allocations: 286.2 kB / 1.682 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/5.728, allocations: 12.55 kB / 1.682 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/5.73, allocations: 86.66 kB / 1.682 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/5.73, allocations: 30.8 kB / 1.682 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/5.73, allocations: 32.12 kB / 1.682 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002274/5.733, allocations: 0.8813 MB / 1.683 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.51e-07/5.733, allocations: 2.094 kB / 1.683 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004018/5.737, allocations: 0.7588 MB / 1.684 GB, free: 105.1 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004525/5.741, allocations: 2.463 MB / 1.686 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002968/5.744, allocations: 1.124 MB / 1.687 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/5.744, allocations: 0 / 1.687 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000801/5.745, allocations: 347.4 kB / 1.688 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005142/5.75, allocations: 0.6372 MB / 1.688 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/5.757, allocations: 1.975 MB / 1.69 GB, free: 103.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009494/5.758, allocations: 1.247 MB / 1.691 GB, free: 102.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003565/5.762, allocations: 438.8 kB / 1.692 GB, free: 102.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/5.763, allocations: 0.5145 MB / 1.692 GB, free: 102.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.542e-06/5.763, allocations: 0 / 1.692 GB, free: 102.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1665/5.929, allocations: 48.67 MB / 1.74 GB, free: 101.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/5.93, allocations: 273.2 kB / 1.74 GB, free: 100.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.711/10.64, allocations: 0 / 1.74 GB, free: 100.7 MB / 0.7761 GB