Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_latest_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.319/4.319, allocations: 464.6 MB / 476.8 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.105e-05, allocations: 4 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.264, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.977/2.241, allocations: 435.6 MB / 1.103 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/2.242, allocations: 93.36 kB / 1.103 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.593/5.835, allocations: 0.6744 GB / 1.778 GB, free: 150.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.195e-06/5.835, allocations: 0 / 1.778 GB, free: 150.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003385/5.835, allocations: 34.89 kB / 1.778 GB, free: 150.7 MB / 0.8855 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.006306/5.842, allocations: 1.718 MB / 1.779 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/5.842, allocations: 11.56 kB / 1.779 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004396/5.842, allocations: 128.3 kB / 1.78 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/5.846, allocations: 347.1 kB / 1.78 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03342/5.879, allocations: 8.315 MB / 1.788 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/5.879, allocations: 71.44 kB / 1.788 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/5.88, allocations: 88.27 kB / 1.788 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/5.883, allocations: 0.9529 MB / 1.789 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/5.883, allocations: 2.438 kB / 1.789 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/5.883, allocations: 36.28 kB / 1.789 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/5.883, allocations: 22.66 kB / 1.789 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/5.885, allocations: 0.6427 MB / 1.79 GB, free: 149.4 MB / 0.8855 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.01203/5.897, allocations: 4.729 MB / 1.794 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/5.899, allocations: 430 kB / 1.795 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/5.899, allocations: 238 kB / 1.795 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004367/5.904, allocations: 1.687 MB / 1.797 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009342/5.905, allocations: 376 kB / 1.797 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00109/5.906, allocations: 87.95 kB / 1.797 GB, free: 146 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 5.561e-06/5.906, allocations: 0 / 1.797 GB, free: 146 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.002667/5.909, allocations: 0.687 MB / 1.798 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/5.909, allocations: 111.8 kB / 1.798 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/5.912, allocations: 1.099 MB / 1.799 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002443/5.912, allocations: 39.97 kB / 1.799 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00087/5.913, allocations: 0.6477 MB / 1.8 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/5.914, allocations: 158 kB / 1.8 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/5.914, allocations: 9.875 kB / 1.8 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/5.914, allocations: 335.6 kB / 1.8 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/5.914, allocations: 209.2 kB / 1.8 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/5.915, allocations: 491.1 kB / 1.801 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/5.916, allocations: 293.6 kB / 1.801 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/5.916, allocations: 2.344 kB / 1.801 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00292/5.919, allocations: 0.8824 MB / 1.802 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006695/5.92, allocations: 2.783 MB / 1.805 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/5.92, allocations: 6.969 kB / 1.805 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/5.92, allocations: 88.47 kB / 1.805 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/5.922, allocations: 154.1 kB / 1.805 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008629/5.923, allocations: 1.125 MB / 1.806 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/5.925, allocations: 87.38 kB / 1.806 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/5.925, allocations: 43.95 kB / 1.806 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/5.925, allocations: 3.625 kB / 1.806 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002434/5.927, allocations: 0.7435 MB / 1.807 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/5.928, allocations: 7.094 kB / 1.807 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/5.928, allocations: 89.11 kB / 1.807 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/5.929, allocations: 147.5 kB / 1.807 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008182/5.93, allocations: 1.128 MB / 1.808 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/5.932, allocations: 82.45 kB / 1.808 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/5.933, allocations: 43.09 kB / 1.808 GB, free: 139.4 MB / 0.8855 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,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 (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.0004616/5.933, allocations: 185.2 kB / 1.808 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006135/5.934, allocations: 134.8 kB / 1.809 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/5.937, allocations: 0.8919 MB / 1.809 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/5.937, allocations: 5.844 kB / 1.809 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/5.937, allocations: 1.781 kB / 1.809 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/5.937, allocations: 8.422 kB / 1.809 GB, free: 139.1 MB / 0.8855 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.006723/5.944, allocations: 2.002 MB / 1.811 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/5.944, allocations: 1.469 kB / 1.811 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009501/5.945, allocations: 107.1 kB / 1.812 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005/5.945, allocations: 72.38 kB / 1.812 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/5.945, allocations: 18.53 kB / 1.812 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007269/5.946, allocations: 1.115 MB / 1.813 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/5.946, allocations: 7.969 kB / 1.813 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/5.949, allocations: 1.056 MB / 1.814 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/5.95, allocations: 303.7 kB / 1.814 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/5.951, allocations: 12.78 kB / 1.814 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/5.953, allocations: 77.22 kB / 1.814 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/5.953, allocations: 43.3 kB / 1.814 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/5.953, allocations: 30.53 kB / 1.814 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002303/5.955, allocations: 0.8595 MB / 1.815 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.21e-07/5.955, allocations: 0 / 1.815 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004797/5.96, allocations: 0.7773 MB / 1.816 GB, free: 136.8 MB / 0.8855 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,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 (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.005304/5.966, allocations: 2.854 MB / 1.819 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003488/5.969, allocations: 1.101 MB / 1.82 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/5.969, allocations: 0 / 1.82 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/5.97, allocations: 367.4 kB / 1.82 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005428/5.976, allocations: 0.6221 MB / 1.821 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007166/5.983, allocations: 2.015 MB / 1.823 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/5.984, allocations: 1.235 MB / 1.824 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00324/5.987, allocations: 422.9 kB / 1.824 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009687/5.988, allocations: 0.5112 MB / 1.825 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.413e-06/5.988, allocations: 0 / 1.825 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1466/6.135, allocations: 49.07 MB / 1.873 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/6.135, allocations: 255.2 kB / 1.873 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.725/10.86, allocations: 3.938 kB / 1.873 GB, free: 132.1 MB / 0.8855 GB