Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadModel(Buildings): time 4.109/4.109, allocations: 464.7 MB / 476.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.004e-05, allocations: 4 kB / 0.5731 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.195, allocations: 107.2 MB / 0.6777 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.571/6.766, allocations: 2.504 GB / 3.182 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/6.766, allocations: 91.31 kB / 3.182 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.23/17, allocations: 2.25 GB / 5.432 GB, free: 106.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.332e-06/17, allocations: 0 / 5.432 GB, free: 106.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001102/17, allocations: 152.7 kB / 5.432 GB, free: 106.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1084 * Number of variables: 1084 Notification: Performance of Generate backend data structure: time 0.02103/17.02, allocations: 5.658 MB / 5.437 GB, free: 104 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/17.02, allocations: 13.33 kB / 5.438 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/17.03, allocations: 1.333 MB / 5.439 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02127/17.05, allocations: 7.06 MB / 5.446 GB, free: 102.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004704/17.05, allocations: 329.8 kB / 5.446 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/17.06, allocations: 452 kB / 5.446 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/17.07, allocations: 5.741 MB / 5.452 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/17.07, allocations: 3.844 kB / 5.452 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001625/17.08, allocations: 179.3 kB / 5.452 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002597/17.08, allocations: 201.2 kB / 5.452 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/17.09, allocations: 4.914 MB / 5.457 GB, free: 99.25 MB / 0.948 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.05359/17.14, allocations: 25.52 MB / 5.482 GB, free: 82.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007496/17.15, allocations: 4.088 MB / 5.486 GB, free: 80.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004464/17.16, allocations: 2.154 MB / 5.488 GB, free: 79.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/17.16, allocations: 0.912 MB / 5.489 GB, free: 78.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004582/17.16, allocations: 1.849 MB / 5.491 GB, free: 78.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 9.245e-06/17.16, allocations: 0 / 5.491 GB, free: 78.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.02561/17.19, allocations: 8.367 MB / 5.499 GB, free: 73.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/17.19, allocations: 243.5 kB / 5.499 GB, free: 72.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01695/17.21, allocations: 4.2 MB / 5.503 GB, free: 69.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00134/17.21, allocations: 89.7 kB / 5.504 GB, free: 69.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006346/17.21, allocations: 2.46 MB / 5.506 GB, free: 66.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002853/17.22, allocations: 0.9972 MB / 5.507 GB, free: 65.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006567/17.22, allocations: 62.95 kB / 5.507 GB, free: 65.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004835/17.22, allocations: 430.3 kB / 5.507 GB, free: 65.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006994/17.22, allocations: 1.481 MB / 5.509 GB, free: 64.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008931/17.23, allocations: 2.328 MB / 5.511 GB, free: 61.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008915/17.24, allocations: 1.966 MB / 5.513 GB, free: 60.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.311e-05/17.24, allocations: 7.719 kB / 5.513 GB, free: 60.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.02282/17.27, allocations: 4.402 MB / 5.517 GB, free: 55.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001941/17.27, allocations: 5.721 MB / 5.523 GB, free: 49.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-05/17.27, allocations: 15.98 kB / 5.523 GB, free: 49.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/17.27, allocations: 203.7 kB / 5.523 GB, free: 49.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008882/17.28, allocations: 0.667 MB / 5.524 GB, free: 48.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/17.28, allocations: 3.401 MB / 5.527 GB, free: 45.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007202/17.29, allocations: 0.5456 MB / 5.528 GB, free: 44.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008384/17.29, allocations: 123.7 kB / 5.528 GB, free: 44.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/17.29, allocations: 4 kB / 5.528 GB, free: 44.47 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008991/17.3, allocations: 3.982 MB / 5.532 GB, free: 40.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/17.3, allocations: 16.09 kB / 5.532 GB, free: 40.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/17.3, allocations: 204.3 kB / 5.532 GB, free: 40.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/17.3, allocations: 0.6548 MB / 5.532 GB, free: 39.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/17.31, allocations: 4.056 MB / 5.536 GB, free: 35.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007044/17.32, allocations: 0.5385 MB / 5.537 GB, free: 34.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008186/17.32, allocations: 120 kB / 5.537 GB, free: 34.64 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 348 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001139/17.32, allocations: 322.5 kB / 5.537 GB, free: 34.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/17.32, allocations: 469.4 kB / 5.538 GB, free: 33.85 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00944/17.33, allocations: 4.177 MB / 5.542 GB, free: 29.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/17.33, allocations: 28 kB / 5.542 GB, free: 29.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/17.33, allocations: 0 / 5.542 GB, free: 29.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00695/17.34, allocations: 3.467 MB / 5.545 GB, free: 26.04 MB / 0.948 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.02405/17.36, allocations: 10.43 MB / 5.556 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/17.36, allocations: 8.031 kB / 5.556 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004012/17.36, allocations: 0.6554 MB / 5.556 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00064/17.36, allocations: 166.9 kB / 5.556 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005314/17.37, allocations: 83.97 kB / 5.556 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/17.37, allocations: 3.316 MB / 5.56 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.267e-06/17.37, allocations: 4 kB / 5.56 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/17.38, allocations: 6.859 MB / 5.566 GB, free: 3.902 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004095/17.38, allocations: 1.128 MB / 5.567 GB, free: 2.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001669/17.39, allocations: 75.98 kB / 5.568 GB, free: 2.676 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006132/17.39, allocations: 474.9 kB / 5.568 GB, free: 2.211 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007309/17.39, allocations: 185.8 kB / 5.568 GB, free: 2.027 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004652/17.39, allocations: 111.9 kB / 5.568 GB, free: 1.918 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008033/17.4, allocations: 3.301 MB / 5.571 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.107e-06/17.4, allocations: 0 / 5.571 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01716/17.42, allocations: 2.996 MB / 5.574 GB, free: 11.62 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006953/17.43, allocations: 3.215 MB / 5.578 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01549/17.44, allocations: 6.318 MB / 5.584 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.782e-05/17.44, allocations: 4.781 kB / 5.584 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004682/17.45, allocations: 1.965 MB / 5.586 GB, free: 180 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.682/18.13, allocations: 2.933 MB / 5.588 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/18.16, allocations: 10.42 MB / 5.599 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009147/18.17, allocations: 4.256 MB / 5.603 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01898/18.18, allocations: 3.985 MB / 5.607 GB, free: 120 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/18.19, allocations: 273.2 kB / 5.607 GB, free: 120 MB / 0.9636 GB Notification: Performance of SimCode: time 1.878e-06/18.19, allocations: 0 / 5.607 GB, free: 120 MB / 0.9636 GB Notification: Performance of Templates: time 0.2952/18.48, allocations: 146.2 MB / 5.75 GB, free: 113.4 MB / 0.9636 GB