Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadModel(Buildings): time 4.426/4.426, allocations: 458.9 MB / 473.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.472e-05, allocations: 2.625 kB / 0.5697 GB, free: 9.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2609, allocations: 106.2 MB / 0.6734 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.256/1.517, allocations: 369.7 MB / 1.034 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.169/1.686, allocations: 71.49 MB / 1.104 GB, free: 14 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0206/1.707, allocations: 0.5247 MB / 1.105 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.02581/1.733, allocations: 5.348 MB / 1.11 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.06519/1.798, allocations: 14.34 MB / 1.124 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.8212/2.619, allocations: 10.51 MB / 1.134 GB, free: 43.78 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.04626/2.665, allocations: 16.25 MB / 1.15 GB, free: 43.77 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0254/2.691, allocations: 6.997 MB / 1.157 GB, free: 43.44 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02967/2.721, allocations: 8.298 MB / 1.165 GB, free: 43.42 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01775/2.738, allocations: 5.48 MB / 1.17 GB, free: 43.39 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02363/2.762, allocations: 3.776 MB / 1.174 GB, free: 43.39 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.006683/2.769, allocations: 403.3 kB / 1.174 GB, free: 43.39 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.006953/2.776, allocations: 2.179 MB / 1.177 GB, free: 43.39 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.009302/2.785, allocations: 1.212 MB / 1.178 GB, free: 43.39 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.03022/2.815, allocations: 16.38 MB / 1.194 GB, free: 42.27 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/2.816, allocations: 0 / 1.194 GB, free: 42.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.216e-06/2.816, allocations: 0 / 1.194 GB, free: 42.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000728/2.816, allocations: 3.906 kB / 1.194 GB, free: 42.27 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.02688/2.843, allocations: 9.353 MB / 1.203 GB, free: 37.97 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/2.843, allocations: 9.75 kB / 1.203 GB, free: 37.97 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02131/2.865, allocations: 2.707 MB / 1.206 GB, free: 37.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03612/2.901, allocations: 10.84 MB / 1.216 GB, free: 35.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005363/2.906, allocations: 1.079 MB / 1.217 GB, free: 35.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003175/2.909, allocations: 0.7366 MB / 1.218 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03587/2.945, allocations: 9.113 MB / 1.227 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002933/2.946, allocations: 21.25 kB / 1.227 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002256/2.948, allocations: 301.2 kB / 1.227 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002631/2.948, allocations: 202.9 kB / 1.227 GB, free: 34.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03292/2.981, allocations: 7.402 MB / 1.235 GB, free: 33.88 MB / 0.8855 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.1/3.081, allocations: 49.35 MB / 1.283 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02722/3.109, allocations: 4.815 MB / 1.287 GB, free: 12.2 MB / 0.9011 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 evalFunc (simulation): time 0.03534/3.144, allocations: 10.94 MB / 1.298 GB, free: 4.031 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01224/3.156, allocations: 2.591 MB / 1.301 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007666/3.164, allocations: 0.5756 MB / 1.301 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=329): time 1.888e-05/3.164, allocations: 0 / 1.301 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of matching and sorting (n=329): time 0.03729/3.201, allocations: 7.382 MB / 1.308 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/3.201, allocations: 88.95 kB / 1.309 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02814/3.23, allocations: 9.005 MB / 1.317 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001367/3.231, allocations: 119.6 kB / 1.317 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009068/3.24, allocations: 5.545 MB / 1.323 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002828/3.243, allocations: 1.143 MB / 1.324 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006754/3.244, allocations: 101.4 kB / 1.324 GB, free: 1.648 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004614/3.244, allocations: 489.6 kB / 1.325 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01102/3.255, allocations: 2.218 MB / 1.327 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01319/3.268, allocations: 4.247 MB / 1.331 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/3.28, allocations: 2.744 MB / 1.334 GB, free: 9.617 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.285e-05/3.281, allocations: 16 kB / 1.334 GB, free: 9.602 MB / 0.9323 GB Notification: Performance of matching and sorting (n=616) (initialization): time 0.03259/3.313, allocations: 7.218 MB / 1.341 GB, free: 4.367 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.01436/3.328, allocations: 30.12 MB / 1.37 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002311/3.328, allocations: 52.84 kB / 1.37 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/3.329, allocations: 265.2 kB / 1.37 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/3.34, allocations: 1.319 MB / 1.372 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/3.347, allocations: 3.932 MB / 1.375 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0189/3.366, allocations: 1.045 MB / 1.376 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001772/3.368, allocations: 265.5 kB / 1.377 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/3.368, allocations: 6.812 kB / 1.377 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02491/3.392, allocations: 6.049 MB / 1.383 GB, free: 9.863 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001699/3.393, allocations: 52 kB / 1.383 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000898/3.394, allocations: 276.1 kB / 1.383 GB, free: 9.574 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/3.404, allocations: 1.248 MB / 1.384 GB, free: 8.438 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/3.409, allocations: 3.928 MB / 1.388 GB, free: 4.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01666/3.426, allocations: 0.9923 MB / 1.389 GB, free: 3.918 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/3.427, allocations: 253.5 kB / 1.389 GB, free: 3.707 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (600): * Single equations (assignments): 594 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008755/3.436, allocations: 2.482 MB / 1.392 GB, free: 2.406 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003918/3.44, allocations: 0.9644 MB / 1.393 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02843/3.469, allocations: 6.08 MB / 1.399 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.372e-05/3.469, allocations: 35.98 kB / 1.399 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/3.469, allocations: 4 kB / 1.399 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02187/3.491, allocations: 4.488 MB / 1.403 GB, free: 9.816 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.05923/3.55, allocations: 14.49 MB / 1.417 GB, free: 124 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/3.55, allocations: 3.953 kB / 1.417 GB, free: 120 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008712/3.559, allocations: 0.8943 MB / 1.418 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009248/3.56, allocations: 191.5 kB / 1.418 GB, free: 15.12 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000959/3.561, allocations: 111.4 kB / 1.418 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005257/3.566, allocations: 3.837 MB / 1.422 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/3.566, allocations: 3.938 kB / 1.422 GB, free: 11.51 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03704/3.603, allocations: 8.6 MB / 1.43 GB, free: 5.219 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008278/3.611, allocations: 1.954 MB / 1.432 GB, free: 3.809 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004194/3.616, allocations: 69.75 kB / 1.432 GB, free: 3.793 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01737/3.633, allocations: 0.9461 MB / 1.433 GB, free: 2.895 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/3.634, allocations: 223.9 kB / 1.434 GB, free: 2.699 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009914/3.635, allocations: 192.9 kB / 1.434 GB, free: 2.543 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02119/3.656, allocations: 6.892 MB / 1.44 GB, free: 13.91 MB / 1.026 GB Notification: Performance of sort global known variables: time 8.31e-07/3.656, allocations: 0 / 1.44 GB, free: 13.91 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03062/3.687, allocations: 5.474 MB / 1.446 GB, free: 8.75 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * 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: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007062/3.694, allocations: 2.122 MB / 1.448 GB, free: 7.047 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.04874/3.743, allocations: 9.459 MB / 1.457 GB, free: 300 kB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.323e-05/3.743, allocations: 4.125 kB / 1.457 GB, free: 296 kB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01768/3.761, allocations: 2.725 MB / 1.46 GB, free: 14.29 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05719/3.818, allocations: 4.994 MB / 1.465 GB, free: 10.17 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06944/3.888, allocations: 22.53 MB / 1.487 GB, free: 5.25 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01343/3.901, allocations: 5.665 MB / 1.492 GB, free: 15.54 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.03138/3.932, allocations: 3.785 MB / 1.496 GB, free: 11.76 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00357/3.936, allocations: 0.5763 MB / 1.496 GB, free: 11.19 MB / 1.073 GB Notification: Performance of SimCode: time 1.953e-06/3.936, allocations: 0 / 1.496 GB, free: 11.19 MB / 1.073 GB Notification: Performance of Templates: time 1.228/5.164, allocations: 199.5 MB / 1.691 GB, free: 364.7 MB / 1.089 GB