Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.449/4.449, allocations: 404.1 MB / 411.3 MB, free: 368 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.778e-05, allocations: 4 kB / 0.4946 GB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6723/0.6724, allocations: 92.68 MB / 0.5851 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.137/8.809, allocations: 2.477 GB / 3.062 GB, free: 100.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004099/8.81, allocations: 105.5 kB / 3.063 GB, free: 100.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 9.648/18.46, allocations: 1.615 GB / 4.677 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.716e-06/18.46, allocations: 3.938 kB / 4.677 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0008241/18.46, allocations: 104.7 kB / 4.677 GB, free: 6.199 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.01796/18.48, allocations: 3.932 MB / 4.681 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/18.48, allocations: 12.03 kB / 4.681 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/18.5, allocations: 1.376 MB / 4.682 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8329/19.33, allocations: 4.491 MB / 4.687 GB, free: 65.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/19.33, allocations: 248.1 kB / 4.687 GB, free: 65.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/19.33, allocations: 156 kB / 4.687 GB, free: 65.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009757/19.34, allocations: 2.357 MB / 4.69 GB, free: 65.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009489/19.35, allocations: 2.579 MB / 4.692 GB, free: 64.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/19.35, allocations: 9.906 kB / 4.692 GB, free: 64.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005097/19.35, allocations: 7.672 kB / 4.692 GB, free: 64.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/19.35, allocations: 96.77 kB / 4.692 GB, free: 64.68 MB / 0.8386 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.03978/19.39, allocations: 14.01 MB / 4.706 GB, free: 57.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005376/19.4, allocations: 1.732 MB / 4.708 GB, free: 57.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/19.4, allocations: 0.8846 MB / 4.708 GB, free: 57.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01525/19.42, allocations: 4.63 MB / 4.713 GB, free: 55.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002638/19.42, allocations: 1.012 MB / 4.714 GB, free: 55.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00265/19.42, allocations: 166.4 kB / 4.714 GB, free: 55.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=149): time 7.164e-06/19.42, allocations: 0 / 4.714 GB, free: 55.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=152): time 0.02498/19.45, allocations: 6.334 MB / 4.72 GB, free: 52.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/19.45, allocations: 0.4987 MB / 4.721 GB, free: 52.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006761/19.45, allocations: 2.501 MB / 4.723 GB, free: 51.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006813/19.45, allocations: 35.11 kB / 4.723 GB, free: 51.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002546/19.46, allocations: 1.736 MB / 4.725 GB, free: 51.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/19.46, allocations: 0.5013 MB / 4.725 GB, free: 51.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/19.46, allocations: 0 / 4.725 GB, free: 51.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001914/19.46, allocations: 388.3 kB / 4.726 GB, free: 50.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/19.46, allocations: 0.7743 MB / 4.726 GB, free: 50.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/19.46, allocations: 1.537 MB / 4.728 GB, free: 50.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005205/19.47, allocations: 1.077 MB / 4.729 GB, free: 49.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-05/19.47, allocations: 3.562 kB / 4.729 GB, free: 49.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01186/19.48, allocations: 2.725 MB / 4.732 GB, free: 49.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001732/19.48, allocations: 6.961 MB / 4.739 GB, free: 42.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/19.48, allocations: 14.19 kB / 4.739 GB, free: 42.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/19.48, allocations: 91.86 kB / 4.739 GB, free: 42.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007398/19.49, allocations: 0.6053 MB / 4.739 GB, free: 42.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/19.49, allocations: 1.934 MB / 4.741 GB, free: 40.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00878/19.5, allocations: 332.8 kB / 4.741 GB, free: 40.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008929/19.5, allocations: 129.4 kB / 4.742 GB, free: 40.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/19.5, allocations: 7.141 kB / 4.742 GB, free: 40.45 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/19.51, allocations: 2.257 MB / 4.744 GB, free: 40.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.873e-05/19.51, allocations: 19.67 kB / 4.744 GB, free: 40.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/19.51, allocations: 73.88 kB / 4.744 GB, free: 40.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006693/19.52, allocations: 0.578 MB / 4.744 GB, free: 40.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/19.52, allocations: 2.616 MB / 4.747 GB, free: 37.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007461/19.53, allocations: 280 kB / 4.747 GB, free: 37.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008261/19.53, allocations: 113.3 kB / 4.747 GB, free: 37.8 MB / 0.8386 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: limPID.addSat.u2:VARIABLE(protected = true ) "Connector of Real input signal 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition1,triAndRes.sam.sampleTrigger,$whenCondition2,triAndRes.uniDel1.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (268): * Single equations (assignments): 261 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00108/19.53, allocations: 178.9 kB / 4.747 GB, free: 37.69 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008053/19.54, allocations: 1.891 MB / 4.749 GB, free: 37.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/19.54, allocations: 326 kB / 4.75 GB, free: 37.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/19.55, allocations: 2.243 MB / 4.752 GB, free: 36.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.398e-05/19.55, allocations: 26.56 kB / 4.752 GB, free: 36.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/19.55, allocations: 4.938 kB / 4.752 GB, free: 36.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009326/19.56, allocations: 2.005 MB / 4.754 GB, free: 36.3 MB / 0.8386 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.02579/19.59, allocations: 5.393 MB / 4.759 GB, free: 35.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/19.59, allocations: 4.5 kB / 4.759 GB, free: 35.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006639/19.6, allocations: 393.9 kB / 4.759 GB, free: 35.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000904/19.6, allocations: 148.1 kB / 4.76 GB, free: 35.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004764/19.6, allocations: 39.31 kB / 4.76 GB, free: 35.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/19.6, allocations: 3.088 MB / 4.763 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/19.6, allocations: 12.22 kB / 4.763 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/19.62, allocations: 3.723 MB / 4.766 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004185/19.62, allocations: 0.6687 MB / 4.767 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001958/19.62, allocations: 15.44 kB / 4.767 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009227/19.63, allocations: 271.1 kB / 4.767 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/19.63, allocations: 117.1 kB / 4.767 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004038/19.63, allocations: 76.47 kB / 4.767 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005801/19.64, allocations: 1.852 MB / 4.769 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.42e-07/19.64, allocations: 0.6875 kB / 4.769 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01351/19.65, allocations: 1.783 MB / 4.771 GB, free: 30.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,limPID.D.x,TRet.T,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.uniDel1.sampleTrigger,triAndRes.sam.sampleTrigger,$whenCondition2,$whenCondition1,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition3,triAndRes.firstTrigger) * Number of discrete states: 1 (triAndRes.uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02407/19.68, allocations: 8.89 MB / 4.78 GB, free: 43.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01142/19.69, allocations: 3.706 MB / 4.783 GB, free: 42.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/19.69, allocations: 0 / 4.783 GB, free: 42.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003268/19.69, allocations: 0.9634 MB / 4.784 GB, free: 42.31 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01439/19.71, allocations: 1.253 MB / 4.785 GB, free: 42.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03283/19.74, allocations: 6.174 MB / 4.791 GB, free: 40.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/19.74, allocations: 2.17 MB / 4.794 GB, free: 40.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01294/19.76, allocations: 1.198 MB / 4.795 GB, free: 40.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004351/19.76, allocations: 1.466 MB / 4.796 GB, free: 40.04 MB / 0.8542 GB Notification: Performance of SimCode: time 1.253e-06/19.76, allocations: 0 / 4.796 GB, free: 40.04 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3146/20.07, allocations: 107.7 MB / 4.901 GB, free: 33.56 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000251/20.07, allocations: 220.4 kB / 4.902 GB, free: 33.28 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.16/30.23, allocations: 4 kB / 4.902 GB, free: 33.27 MB / 0.8542 GB