Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadModel(Buildings): time 3.648/3.648, allocations: 402 MB / 416.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3e-05, allocations: 4 kB / 0.5009 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1951, allocations: 92.68 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.5392/0.7343, allocations: 42.97 MB / 0.6334 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0363/0.7707, allocations: 14.37 MB / 0.6475 GB, free: 11 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004029/0.7748, allocations: 103.8 kB / 0.6476 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.004884/0.7797, allocations: 0.9482 MB / 0.6485 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.7905, allocations: 2.075 MB / 0.6505 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.01595/0.8065, allocations: 2.424 MB / 0.6529 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.009539/0.816, allocations: 2.188 MB / 0.655 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/0.8192, allocations: 1.002 MB / 0.656 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00577/0.8251, allocations: 1.268 MB / 0.6572 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.8287, allocations: 0.8217 MB / 0.658 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007442/0.8362, allocations: 1.3 MB / 0.6593 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.8378, allocations: 92.78 kB / 0.6594 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.839, allocations: 365.9 kB / 0.6597 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.8404, allocations: 176.9 kB / 0.6599 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.007649/0.848, allocations: 2.367 MB / 0.6622 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8481, allocations: 0 / 0.6622 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.797e-06/0.8481, allocations: 0 / 0.6622 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.602e-05/0.8482, allocations: 0 / 0.6622 GB, free: 1.48 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.005734/0.854, allocations: 1.894 MB / 0.6641 GB, free: 36 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.854, allocations: 8.688 kB / 0.6641 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/0.8582, allocations: 489.8 kB / 0.6645 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005354/0.8637, allocations: 1.535 MB / 0.666 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007459/0.8645, allocations: 159.4 kB / 0.6662 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/0.8649, allocations: 130.8 kB / 0.6663 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005153/0.8701, allocations: 1.43 MB / 0.6677 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.8702, allocations: 1.594 kB / 0.6677 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.8704, allocations: 51.28 kB / 0.6678 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-05/0.8704, allocations: 34.09 kB / 0.6678 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005478/0.8759, allocations: 1.153 MB / 0.6689 GB, free: 12.98 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01561/0.8916, allocations: 7.447 MB / 0.6762 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004902/0.8965, allocations: 1.44 MB / 0.6776 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006328/0.9029, allocations: 2.536 MB / 0.6801 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002271/0.9052, allocations: 0.5133 MB / 0.6806 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009234/0.9062, allocations: 87.25 kB / 0.6807 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=63): time 4.268e-06/0.9062, allocations: 0 / 0.6807 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of matching and sorting (n=63): time 0.006421/0.9126, allocations: 1.327 MB / 0.682 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.9128, allocations: 145.1 kB / 0.6821 GB, free: 460 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.9155, allocations: 1.278 MB / 0.6833 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.9157, allocations: 41.7 kB / 0.6834 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.9168, allocations: 0.8918 MB / 0.6843 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.9172, allocations: 224.8 kB / 0.6845 GB, free: 14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.9173, allocations: 20 kB / 0.6845 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9174, allocations: 353.8 kB / 0.6848 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.9192, allocations: 394.1 kB / 0.6852 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.9214, allocations: 0.7805 MB / 0.686 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.9234, allocations: 0.5225 MB / 0.6865 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.9234, allocations: 4 kB / 0.6865 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005257/0.9287, allocations: 1.369 MB / 0.6878 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00192/0.9306, allocations: 4.209 MB / 0.6919 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-05/0.9307, allocations: 12 kB / 0.6919 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/0.9308, allocations: 16 kB / 0.6919 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.9333, allocations: 291.6 kB / 0.6922 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005568/0.934, allocations: 0.6172 MB / 0.6928 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.9365, allocations: 139.8 kB / 0.693 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.9367, allocations: 55.98 kB / 0.693 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.9367, allocations: 8 kB / 0.693 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004268/0.941, allocations: 1.178 MB / 0.6942 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.9411, allocations: 11.98 kB / 0.6942 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.9411, allocations: 23.94 kB / 0.6942 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.9432, allocations: 276.1 kB / 0.6945 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004894/0.9438, allocations: 0.6134 MB / 0.6951 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.946, allocations: 139.8 kB / 0.6952 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.9462, allocations: 51.98 kB / 0.6953 GB, free: 2.312 MB / 0.5573 GB Warning: Assuming fixed start value for the following 1 variables: vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = vol.V * vol.rho_start unit = "kg" fixed = true stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.001207/0.9474, allocations: 421.4 kB / 0.6957 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/0.9479, allocations: 169.9 kB / 0.6958 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004955/0.9528, allocations: 1.202 MB / 0.697 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003888/0.9568, allocations: 1.034 MB / 0.698 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.9568, allocations: 3.938 kB / 0.698 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.958, allocations: 330.7 kB / 0.6983 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/0.9583, allocations: 16 kB / 0.6983 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/0.9602, allocations: 119.8 kB / 0.6984 GB, free: 14.93 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.9605, allocations: 56.56 kB / 0.6985 GB, free: 14.88 MB / 0.573 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004797/0.9653, allocations: 0.7058 MB / 0.6992 GB, free: 14.17 MB / 0.573 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.