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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.646/4.646, allocations: 404.2 MB / 411.3 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.837e-05/4.842e-05, allocations: 4 kB / 0.4945 GB, free: 1.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.696, allocations: 92.69 MB / 0.5851 GB, free: 2.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.376/2.072, allocations: 416.8 MB / 0.9921 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004257/2.073, allocations: 98.42 kB / 0.9921 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.036/6.109, allocations: 0.6429 GB / 1.635 GB, free: 47.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.415e-06/6.109, allocations: 0 / 1.635 GB, free: 47.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003036/6.109, allocations: 34.66 kB / 1.635 GB, free: 47.36 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.005617/6.115, allocations: 1.741 MB / 1.637 GB, free: 45.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/6.115, allocations: 8.031 kB / 1.637 GB, free: 45.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/6.12, allocations: 405.5 kB / 1.637 GB, free: 45.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03384/6.153, allocations: 8.113 MB / 1.645 GB, free: 36.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/6.154, allocations: 39.94 kB / 1.645 GB, free: 36.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/6.154, allocations: 52 kB / 1.645 GB, free: 36.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002392/6.156, allocations: 0.6405 MB / 1.646 GB, free: 36.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/6.159, allocations: 0.9467 MB / 1.647 GB, free: 35.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/6.159, allocations: 11.89 kB / 1.647 GB, free: 35.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/6.159, allocations: 4 kB / 1.647 GB, free: 35.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.739e-05/6.159, allocations: 24 kB / 1.647 GB, free: 35.19 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.01153/6.171, allocations: 5.556 MB / 1.652 GB, free: 29.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/6.173, allocations: 0.5105 MB / 1.653 GB, free: 28.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/6.173, allocations: 253.9 kB / 1.653 GB, free: 28.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00419/6.178, allocations: 1.669 MB / 1.655 GB, free: 26.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008336/6.178, allocations: 373.1 kB / 1.655 GB, free: 26.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008722/6.179, allocations: 67.44 kB / 1.655 GB, free: 26.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 4.869e-06/6.179, allocations: 0 / 1.655 GB, free: 26.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=47): time 0.003113/6.183, allocations: 0.6387 MB / 1.656 GB, free: 25.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/6.183, allocations: 158.2 kB / 1.656 GB, free: 25.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/6.185, allocations: 0.9891 MB / 1.657 GB, free: 24.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/6.185, allocations: 25.7 kB / 1.657 GB, free: 24.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009073/6.186, allocations: 0.699 MB / 1.657 GB, free: 23.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/6.186, allocations: 149.8 kB / 1.658 GB, free: 23.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/6.186, allocations: 0 / 1.658 GB, free: 23.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001002/6.187, allocations: 341.9 kB / 1.658 GB, free: 23.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/6.187, allocations: 209.5 kB / 1.658 GB, free: 23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/6.188, allocations: 0.5183 MB / 1.659 GB, free: 22.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/6.19, allocations: 339.1 kB / 1.659 GB, free: 21.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/6.19, allocations: 4 kB / 1.659 GB, free: 21.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003957/6.194, allocations: 0.8777 MB / 1.66 GB, free: 21.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008749/6.195, allocations: 3.839 MB / 1.664 GB, free: 17.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/6.195, allocations: 8 kB / 1.664 GB, free: 17.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/6.195, allocations: 73.7 kB / 1.664 GB, free: 16.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/6.197, allocations: 183.7 kB / 1.664 GB, free: 16.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/6.198, allocations: 1.148 MB / 1.665 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/6.2, allocations: 75.83 kB / 1.665 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/6.2, allocations: 47.98 kB / 1.665 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/6.201, allocations: 4 kB / 1.665 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003098/6.204, allocations: 0.7036 MB / 1.666 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/6.204, allocations: 8 kB / 1.666 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004069/6.204, allocations: 82.64 kB / 1.666 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/6.206, allocations: 175.7 kB / 1.666 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009981/6.207, allocations: 1.148 MB / 1.667 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/6.209, allocations: 64 kB / 1.667 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/6.209, allocations: 51.92 kB / 1.667 GB, free: 13.14 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: subSta.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0004506/6.209, allocations: 170.9 kB / 1.667 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002898/6.212, allocations: 0.6345 MB / 1.668 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/6.213, allocations: 130.4 kB / 1.668 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/6.216, allocations: 0.6874 MB / 1.669 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/6.216, allocations: 7.984 kB / 1.669 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/6.216, allocations: 4 kB / 1.669 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/6.216, allocations: 4.141 kB / 1.669 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/6.221, allocations: 1.755 MB / 1.671 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/6.221, allocations: 0 / 1.671 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/6.223, allocations: 111.9 kB / 1.671 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003908/6.223, allocations: 61.7 kB / 1.671 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/6.223, allocations: 11.98 kB / 1.671 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/6.224, allocations: 1.132 MB / 1.672 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/6.224, allocations: 0 / 1.672 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/6.227, allocations: 0.8102 MB / 1.673 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008812/6.228, allocations: 275.3 kB / 1.673 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/6.228, allocations: 4.094 kB / 1.673 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/6.23, allocations: 87.84 kB / 1.673 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/6.23, allocations: 27.95 kB / 1.673 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/6.231, allocations: 31.98 kB / 1.673 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001814/6.232, allocations: 0.7448 MB / 1.674 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.22e-07/6.232, allocations: 4 kB / 1.674 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004235/6.237, allocations: 0.7365 MB / 1.674 GB, free: 5.48 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.005291/6.242, allocations: 2.374 MB / 1.677 GB, free: 3.062 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003378/6.245, allocations: 1.102 MB / 1.678 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/6.246, allocations: 0 / 1.678 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009805/6.247, allocations: 344.4 kB / 1.678 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005381/6.252, allocations: 0.5428 MB / 1.679 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7272/6.979, allocations: 1.908 MB / 1.681 GB, free: 117.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/6.981, allocations: 1.248 MB / 1.682 GB, free: 117.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005089/6.986, allocations: 409.9 kB / 1.682 GB, free: 117.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/6.988, allocations: 0.5071 MB / 1.683 GB, free: 117.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.714e-06/6.988, allocations: 3.125 kB / 1.683 GB, free: 117.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2219/7.21, allocations: 39.42 MB / 1.721 GB, free: 116.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002806/7.211, allocations: 226.4 kB / 1.721 GB, free: 116.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.376/13.59, allocations: 2.922 kB / 1.721 GB, free: 116.3 MB / 0.7761 GB