Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(Buildings): time 3.839/3.839, allocations: 402 MB / 416.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.129e-05, allocations: 4 kB / 0.5009 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2136, allocations: 92.69 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.5842/0.7978, allocations: 49.29 MB / 0.6396 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03611/0.834, allocations: 15.94 MB / 0.6552 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003892/0.8379, allocations: 100.5 kB / 0.6553 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.004466/0.8425, allocations: 0.8667 MB / 0.6561 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.8532, allocations: 2.074 MB / 0.6581 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.007088/0.8603, allocations: 1.32 MB / 0.6594 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.02587/0.8862, allocations: 12.01 MB / 0.6711 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01707/0.9033, allocations: 7.26 MB / 0.6782 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01541/0.9188, allocations: 5.25 MB / 0.6834 GB, free: 424 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01441/0.9332, allocations: 4.816 MB / 0.6881 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.9434, allocations: 1.077 MB / 0.6891 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.003793/0.9473, allocations: 372 kB / 0.6895 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.005411/0.9527, allocations: 1.806 MB / 0.6912 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.006665/0.9594, allocations: 1.066 MB / 0.6923 GB, free: 7.262 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02618/0.9857, allocations: 14.12 MB / 0.7061 GB, free: 9.105 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9857, allocations: 0 / 0.7061 GB, free: 9.105 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.316e-06/0.9858, allocations: 0 / 0.7061 GB, free: 9.105 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0006602/0.9864, allocations: 0 / 0.7061 GB, free: 9.105 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2186 * Number of variables: 2186 Notification: Performance of Generate backend data structure: time 0.02977/1.016, allocations: 8.346 MB / 0.7142 GB, free: 0.668 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/1.016, allocations: 8.031 kB / 0.7142 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007604/1.024, allocations: 1.194 MB / 0.7154 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02843/1.052, allocations: 7.95 MB / 0.7232 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001107/1.054, allocations: 0.6298 MB / 0.7238 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003579/1.057, allocations: 0.8241 MB / 0.7246 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04351/1.101, allocations: 12.63 MB / 0.7369 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004406/1.101, allocations: 31.72 kB / 0.7369 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002898/1.104, allocations: 360 kB / 0.7373 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004314/1.105, allocations: 255.9 kB / 0.7375 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03748/1.142, allocations: 10.52 MB / 0.7478 GB, free: 13.66 MB / 0.6198 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.1152/1.257, allocations: 53.74 MB / 0.8003 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/1.275, allocations: 6.613 MB / 0.8067 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/1.277, allocations: 0.5352 MB / 0.8073 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01311/1.291, allocations: 4.022 MB / 0.8112 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005885/1.297, allocations: 0.5486 MB / 0.8117 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=507): time 1.8e-05/1.297, allocations: 0 / 0.8117 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of matching and sorting (n=547): time 0.09706/1.394, allocations: 27.19 MB / 0.8383 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/1.394, allocations: 240.1 kB / 0.8385 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01686/1.411, allocations: 6.671 MB / 0.845 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/1.412, allocations: 121.7 kB / 0.8451 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.006591/1.419, allocations: 4.321 MB / 0.8494 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00386/1.423, allocations: 1.887 MB / 0.8512 GB, free: 308 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006964/1.423, allocations: 128 kB / 0.8513 GB, free: 180 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0006115/1.424, allocations: 0.5707 MB / 0.8519 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01004/1.434, allocations: 3.483 MB / 0.8553 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01216/1.446, allocations: 5.364 MB / 0.8605 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.459, allocations: 4.611 MB / 0.865 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-05/1.459, allocations: 16 kB / 0.865 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=831) (initialization): time 0.03117/1.49, allocations: 9.91 MB / 0.8747 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.057/2.547, allocations: 29.05 MB / 0.9031 GB, free: 208.8 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/2.548, allocations: 57.47 kB / 0.9031 GB, free: 208.8 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/2.548, allocations: 99.28 kB / 0.9032 GB, free: 208.8 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01382/2.562, allocations: 1.61 MB / 0.9048 GB, free: 208.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000252/2.562, allocations: 127.4 kB / 0.9049 GB, free: 208.8 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01266/2.575, allocations: 0.632 MB / 0.9055 GB, free: 208.8 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001876/2.577, allocations: 298.3 kB / 0.9058 GB, free: 208.8 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/2.577, allocations: 7.547 kB / 0.9058 GB, free: 208.8 MB / 0.7449 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0287/2.605, allocations: 9.228 MB / 0.9148 GB, free: 205.7 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/2.606, allocations: 57.14 kB / 0.9149 GB, free: 205.7 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/2.606, allocations: 98.66 kB / 0.915 GB, free: 205.7 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01345/2.619, allocations: 1.586 MB / 0.9165 GB, free: 205.6 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003036/2.62, allocations: 126.3 kB / 0.9167 GB, free: 205.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/2.632, allocations: 0.6052 MB / 0.9173 GB, free: 205.4 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001909/2.634, allocations: 300.1 kB / 0.9175 GB, free: 205.4 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 261 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 817 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01017/2.644, allocations: 3.553 MB / 0.921 GB, free: 203.9 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002864/2.647, allocations: 0.7373 MB / 0.9217 GB, free: 203.9 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03299/2.68, allocations: 9.669 MB / 0.9312 GB, free: 200.1 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02558/2.706, allocations: 7.969 MB / 0.939 GB, free: 197 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/2.706, allocations: 0 / 0.939 GB, free: 197 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007262/2.713, allocations: 1.929 MB / 0.9408 GB, free: 196.4 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003321/2.716, allocations: 135.4 kB / 0.941 GB, free: 196.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01084/2.727, allocations: 0.5408 MB / 0.9415 GB, free: 196.2 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001621/2.729, allocations: 324.6 kB / 0.9418 GB, free: 196.2 MB / 0.7449 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.02411/2.753, allocations: 6.81 MB / 0.9485 GB, free: 193.6 MB / 0.7449 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.