Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DXCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.813/3.813, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.025e-05/5.038e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6513, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.559/7.211, allocations: 2.175 GB / 2.765 GB, free: 86.1 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/7.211, allocations: 112.7 kB / 2.765 GB, free: 86.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.224/8.436, allocations: 199.9 MB / 2.96 GB, free: 203.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.305e-06/8.436, allocations: 4 kB / 2.96 GB, free: 203.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0006156/8.436, allocations: 56 kB / 2.96 GB, free: 203.5 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.01122/8.448, allocations: 3.312 MB / 2.963 GB, free: 200.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/8.448, allocations: 12.03 kB / 2.963 GB, free: 200.1 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008682/8.448, allocations: 147.3 kB / 2.964 GB, free: 199.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05105/8.5, allocations: 3.565 MB / 2.967 GB, free: 196.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/8.515, allocations: 5.068 MB / 2.972 GB, free: 191.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/8.516, allocations: 325.9 kB / 2.972 GB, free: 190.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/8.518, allocations: 96 kB / 2.972 GB, free: 190.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/8.53, allocations: 5.179 MB / 2.977 GB, free: 185.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/8.53, allocations: 3.953 kB / 2.977 GB, free: 185.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007834/8.531, allocations: 39.98 kB / 2.977 GB, free: 185.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/8.531, allocations: 20 kB / 2.977 GB, free: 185.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/8.547, allocations: 6.946 MB / 2.984 GB, free: 178.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05608/8.603, allocations: 17.11 MB / 3.001 GB, free: 161.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03169/8.634, allocations: 6.805 MB / 3.008 GB, free: 154.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01029/8.645, allocations: 3.225 MB / 3.011 GB, free: 151.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000838/8.646, allocations: 0.5905 MB / 3.011 GB, free: 150.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01489/8.661, allocations: 4.63 MB / 3.016 GB, free: 146 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=137): time 9.447e-06/8.661, allocations: 0 / 3.016 GB, free: 146 MB / 0.7761 GB Notification: Performance of matching and sorting (n=137): time 0.07375/8.735, allocations: 7.793 MB / 3.023 GB, free: 138.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/8.735, allocations: 165.5 kB / 3.024 GB, free: 137.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02531/8.76, allocations: 7.222 MB / 3.031 GB, free: 130.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.002076/8.762, allocations: 97.67 kB / 3.031 GB, free: 130.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.005394/8.768, allocations: 1.663 MB / 3.032 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001946/8.77, allocations: 414.2 kB / 3.033 GB, free: 128.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/8.771, allocations: 32 kB / 3.033 GB, free: 128.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002287/8.771, allocations: 365.9 kB / 3.033 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01214/8.783, allocations: 4.166 MB / 3.037 GB, free: 124 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01221/8.796, allocations: 4.211 MB / 3.041 GB, free: 119.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008732/8.804, allocations: 3.438 MB / 3.045 GB, free: 116.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/8.804, allocations: 0 / 3.045 GB, free: 116.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.05447/8.859, allocations: 9.948 MB / 3.054 GB, free: 106.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004357/8.859, allocations: 0.5242 MB / 3.055 GB, free: 105.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/8.859, allocations: 0 / 3.055 GB, free: 105.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007481/8.867, allocations: 1.078 MB / 3.056 GB, free: 104.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009944/8.877, allocations: 0.7684 MB / 3.057 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/8.887, allocations: 5.113 MB / 3.062 GB, free: 98.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01269/8.9, allocations: 0.6702 MB / 3.062 GB, free: 97.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/8.902, allocations: 263.8 kB / 3.063 GB, free: 97.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/8.902, allocations: 4 kB / 3.063 GB, free: 97.5 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05299/8.955, allocations: 9.644 MB / 3.072 GB, free: 87.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/8.955, allocations: 4 kB / 3.072 GB, free: 87.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005953/8.961, allocations: 0.9611 MB / 3.073 GB, free: 86.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00995/8.971, allocations: 0.7763 MB / 3.074 GB, free: 86.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/8.985, allocations: 8.969 MB / 3.083 GB, free: 76.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/8.997, allocations: 0.6548 MB / 3.083 GB, free: 75.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/8.999, allocations: 263.8 kB / 3.083 GB, free: 75.46 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 58 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition17,dxCoo.wetCoi.cooCap.stage,$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],dxCoo.wetCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.shr.on,dxCoo.dryCoi.cooCap.stage,$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],dxCoo.dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001725/9, allocations: 325.8 kB / 3.084 GB, free: 75.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/9.003, allocations: 418.8 kB / 3.084 GB, free: 74.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05205/9.055, allocations: 8.394 MB / 3.092 GB, free: 66.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/9.055, allocations: 12 kB / 3.092 GB, free: 66.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/9.055, allocations: 3.953 kB / 3.092 GB, free: 66.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.875e-05/9.055, allocations: 7.984 kB / 3.092 GB, free: 66.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06531/9.12, allocations: 15.33 MB / 3.107 GB, free: 50.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/9.12, allocations: 0 / 3.107 GB, free: 50.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009628/9.13, allocations: 0.7295 MB / 3.108 GB, free: 50.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/9.131, allocations: 233.5 kB / 3.108 GB, free: 49.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001221/9.133, allocations: 119.8 kB / 3.108 GB, free: 49.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00326/9.136, allocations: 2.19 MB / 3.111 GB, free: 47.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/9.136, allocations: 0 / 3.111 GB, free: 47.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04977/9.186, allocations: 7.928 MB / 3.118 GB, free: 39.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007171/9.193, allocations: 2.042 MB / 3.12 GB, free: 37.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002751/9.196, allocations: 136 kB / 3.12 GB, free: 37.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01303/9.209, allocations: 0.675 MB / 3.121 GB, free: 36.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009381/9.21, allocations: 144.8 kB / 3.121 GB, free: 36.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001109/9.211, allocations: 247.8 kB / 3.121 GB, free: 36.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.01507/9.226, allocations: 5.501 MB / 3.127 GB, free: 30.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.103e-06/9.226, allocations: 0 / 3.127 GB, free: 30.64 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01236/9.239, allocations: 1.721 MB / 3.128 GB, free: 28.91 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition17,dxCoo.wetCoi.cooCap.stage,dxCoo.wetCoi.cooCap.checkBoundsTEva[1],dxCoo.wetCoi.cooCap.checkBoundsTEva[2],dxCoo.wetCoi.cooCap.checkBoundsTEva[3],dxCoo.wetCoi.cooCap.checkBoundsTEva[4],dxCoo.wetCoi.cooCap.checkBoundsTCon[1],dxCoo.wetCoi.cooCap.checkBoundsTCon[2],dxCoo.wetCoi.cooCap.checkBoundsTCon[3],dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.shr.on,dxCoo.dryCoi.cooCap.stage,dxCoo.dryCoi.cooCap.checkBoundsTEva[1],dxCoo.dryCoi.cooCap.checkBoundsTEva[2],dxCoo.dryCoi.cooCap.checkBoundsTEva[3],dxCoo.dryCoi.cooCap.checkBoundsTEva[4],dxCoo.dryCoi.cooCap.checkBoundsTCon[1],dxCoo.dryCoi.cooCap.checkBoundsTCon[2],dxCoo.dryCoi.cooCap.checkBoundsTCon[3],dxCoo.dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 12 (dxCoo.dryCoi.cooCap.stage,dxCoo.dryCoi.cooCap.checkBoundsTEva[dxCoo.dryCoi.cooCap.stage],dxCoo.dryCoi.cooCap.checkBoundsTCon[dxCoo.dryCoi.cooCap.stage],dxCoo.wetCoi.cooCap.stage,dxCoo.wetCoi.cooCap.checkBoundsTEva[dxCoo.wetCoi.cooCap.stage],dxCoo.wetCoi.cooCap.checkBoundsTCon[dxCoo.wetCoi.cooCap.stage],speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition17) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 16 * 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 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02761/9.266, allocations: 8.631 MB / 3.137 GB, free: 20.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.04095/9.307, allocations: 15.05 MB / 3.152 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/9.307, allocations: 3.938 kB / 3.152 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.008907/9.316, allocations: 3.798 MB / 3.155 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008519/9.325, allocations: 1.104 MB / 3.156 GB, free: 8 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6174/9.942, allocations: 11.57 MB / 3.168 GB, free: 216.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006944/9.949, allocations: 3.222 MB / 3.171 GB, free: 215.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0276/9.977, allocations: 5.056 MB / 3.176 GB, free: 215.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007228/9.984, allocations: 1.528 MB / 3.177 GB, free: 215.5 MB / 0.7761 GB Notification: Performance of SimCode: time 2.725e-06/9.984, allocations: 3.281 kB / 3.177 GB, free: 215.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3594/10.34, allocations: 168.6 MB / 3.342 GB, free: 97.31 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/10.34, allocations: 248.3 kB / 3.342 GB, free: 96.97 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/20.7, allocations: 4 kB / 3.342 GB, free: 96.97 MB / 0.7761 GB