Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.17/4.17, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.314e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2334, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.927/2.16, allocations: 435.2 MB / 1.097 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/2.16, allocations: 94.17 kB / 1.097 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.597/5.758, allocations: 0.6744 GB / 1.771 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.823e-06/5.758, allocations: 0 / 1.771 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002673/5.758, allocations: 37.55 kB / 1.771 GB, free: 152.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005578/5.763, allocations: 1.716 MB / 1.773 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/5.764, allocations: 10.72 kB / 1.773 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003531/5.764, allocations: 128.3 kB / 1.773 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/5.767, allocations: 356.2 kB / 1.774 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02829/5.795, allocations: 8.317 MB / 1.782 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/5.795, allocations: 66.84 kB / 1.782 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002831/5.796, allocations: 91.25 kB / 1.782 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/5.798, allocations: 0.9536 MB / 1.783 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/5.798, allocations: 4.375 kB / 1.783 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/5.798, allocations: 37.22 kB / 1.783 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/5.798, allocations: 19.97 kB / 1.783 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/5.8, allocations: 0.6411 MB / 1.783 GB, free: 150.8 MB / 0.8698 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.009659/5.81, allocations: 4.734 MB / 1.788 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/5.811, allocations: 431.9 kB / 1.789 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/5.812, allocations: 240.9 kB / 1.789 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003669/5.815, allocations: 1.67 MB / 1.79 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008472/5.816, allocations: 380.6 kB / 1.791 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00097/5.817, allocations: 87.09 kB / 1.791 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 4.027e-06/5.817, allocations: 0 / 1.791 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001873/5.819, allocations: 0.6801 MB / 1.791 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/5.819, allocations: 113.7 kB / 1.792 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/5.821, allocations: 1.098 MB / 1.793 GB, free: 147 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/5.822, allocations: 36.02 kB / 1.793 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006709/5.822, allocations: 0.6531 MB / 1.793 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/5.822, allocations: 158.2 kB / 1.793 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/5.822, allocations: 21.34 kB / 1.793 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/5.823, allocations: 327.8 kB / 1.794 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/5.823, allocations: 209.3 kB / 1.794 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/5.824, allocations: 496 kB / 1.794 GB, free: 146 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/5.824, allocations: 293.9 kB / 1.795 GB, free: 146 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/5.824, allocations: 7.797 kB / 1.795 GB, free: 146 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002283/5.827, allocations: 0.8743 MB / 1.796 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006325/5.827, allocations: 2.785 MB / 1.798 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/5.827, allocations: 7.312 kB / 1.798 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/5.828, allocations: 93.17 kB / 1.798 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/5.829, allocations: 153.7 kB / 1.799 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007217/5.83, allocations: 1.124 MB / 1.8 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/5.832, allocations: 75.67 kB / 1.8 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/5.832, allocations: 55.56 kB / 1.8 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/5.832, allocations: 3.344 kB / 1.8 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00188/5.834, allocations: 0.7415 MB / 1.801 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/5.834, allocations: 7.156 kB / 1.801 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/5.834, allocations: 87.91 kB / 1.801 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/5.835, allocations: 151.9 kB / 1.801 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006609/5.836, allocations: 1.124 MB / 1.802 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/5.838, allocations: 77.86 kB / 1.802 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/5.838, allocations: 43.58 kB / 1.802 GB, free: 140.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * 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.0003244/5.838, allocations: 188 kB / 1.802 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/5.838, allocations: 139.5 kB / 1.802 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/5.841, allocations: 0.8866 MB / 1.803 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/5.841, allocations: 6.781 kB / 1.803 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/5.841, allocations: 0 / 1.803 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/5.841, allocations: 6.938 kB / 1.803 GB, free: 140.5 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.004389/5.845, allocations: 1.981 MB / 1.805 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/5.845, allocations: 2.938 kB / 1.805 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/5.846, allocations: 106.2 kB / 1.805 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/5.847, allocations: 70.77 kB / 1.805 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/5.847, allocations: 18.92 kB / 1.805 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000692/5.847, allocations: 1.123 MB / 1.806 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/5.848, allocations: 3.969 kB / 1.806 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/5.85, allocations: 1.056 MB / 1.807 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007949/5.851, allocations: 297.1 kB / 1.808 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/5.851, allocations: 19.11 kB / 1.808 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/5.852, allocations: 85.17 kB / 1.808 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/5.852, allocations: 29.41 kB / 1.808 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/5.853, allocations: 41.47 kB / 1.808 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001766/5.854, allocations: 0.8557 MB / 1.809 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-07/5.854, allocations: 0 / 1.809 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003575/5.858, allocations: 0.7557 MB / 1.809 GB, free: 138.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.004715/5.863, allocations: 2.838 MB / 1.812 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002754/5.865, allocations: 1.102 MB / 1.813 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/5.866, allocations: 0 / 1.813 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008001/5.866, allocations: 372.7 kB / 1.814 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/5.871, allocations: 0.6067 MB / 1.814 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/5.878, allocations: 2.001 MB / 1.816 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000865/5.879, allocations: 1.237 MB / 1.817 GB, free: 135 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003181/5.882, allocations: 427 kB / 1.818 GB, free: 135 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009964/5.883, allocations: 0.5129 MB / 1.818 GB, free: 135 MB / 0.8698 GB Notification: Performance of SimCode: time 1.303e-06/5.883, allocations: 0 / 1.818 GB, free: 135 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1805/6.064, allocations: 48.93 MB / 1.866 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/6.064, allocations: 262 kB / 1.866 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.659/10.72, allocations: 0 / 1.866 GB, free: 132.8 MB / 0.8698 GB