Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadModel(Buildings): time 3.816/3.816, allocations: 402 MB / 416.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.228e-05, allocations: 4 kB / 0.501 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2128, allocations: 92.69 MB / 0.5915 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007634/0.2205, allocations: 4.229 MB / 0.5956 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008776/0.2293, allocations: 4.149 MB / 0.5997 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.2297, allocations: 15.94 kB / 0.5997 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.2303, allocations: 143.2 kB / 0.5998 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.2324, allocations: 498 kB / 0.6003 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.2332, allocations: 179.5 kB / 0.6005 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009884/0.2342, allocations: 347.3 kB / 0.6008 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.2358, allocations: 0.6797 MB / 0.6015 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.2361, allocations: 135.6 kB / 0.6016 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.2365, allocations: 171.5 kB / 0.6017 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.2384, allocations: 451.6 kB / 0.6022 GB, free: 352 kB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.2386, allocations: 31.94 kB / 0.6022 GB, free: 320 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.2388, allocations: 115.7 kB / 0.6023 GB, free: 204 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.2389, allocations: 36 kB / 0.6023 GB, free: 168 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.4909/0.7299, allocations: 0.7677 MB / 0.6031 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7299, allocations: 0 / 0.6031 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7299, allocations: 1.281 kB / 0.6031 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.73, allocations: 0 / 0.6031 GB, free: 5.488 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001854/0.7318, allocations: 0.7052 MB / 0.6038 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.7319, allocations: 8.875 kB / 0.6038 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/0.7375, allocations: 0.7102 MB / 0.6045 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.7389, allocations: 450 kB / 0.6049 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.739, allocations: 22.44 kB / 0.6049 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.7391, allocations: 30.95 kB / 0.605 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.7421, allocations: 0.8438 MB / 0.6058 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.7422, allocations: 0 / 0.6058 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.7423, allocations: 12.88 kB / 0.6058 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003723/0.7427, allocations: 70.59 kB / 0.6059 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003858/0.7465, allocations: 0.9454 MB / 0.6068 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006528/0.7531, allocations: 2.46 MB / 0.6092 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.7562, allocations: 0.5621 MB / 0.6097 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.7564, allocations: 88.48 kB / 0.6098 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.7565, allocations: 37.55 kB / 0.6099 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 5.21e-06/0.7565, allocations: 0 / 0.6099 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.01977/0.7763, allocations: 3.331 MB / 0.6131 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.7763, allocations: 82.44 kB / 0.6132 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/0.7772, allocations: 388.2 kB / 0.6136 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.7773, allocations: 31.8 kB / 0.6136 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.7775, allocations: 222.8 kB / 0.6138 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.7777, allocations: 114.3 kB / 0.6139 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.7778, allocations: 8.594 kB / 0.6139 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7779, allocations: 348.5 kB / 0.6143 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.7798, allocations: 468 kB / 0.6147 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.7819, allocations: 0.552 MB / 0.6152 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.7839, allocations: 0.4943 MB / 0.6157 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.784, allocations: 5.125 kB / 0.6157 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00888/0.7929, allocations: 1.722 MB / 0.6174 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.7931, allocations: 0.7916 MB / 0.6182 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.7931, allocations: 2.562 kB / 0.6182 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005931/0.7991, allocations: 0.775 MB / 0.6189 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.8006, allocations: 155.5 kB / 0.6191 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009443/0.81, allocations: 4.839 MB / 0.6238 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.8117, allocations: 111.7 kB / 0.6239 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/0.8118, allocations: 21.05 kB / 0.624 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.8118, allocations: 4.5 kB / 0.624 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008197/0.82, allocations: 1.68 MB / 0.6256 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.8201, allocations: 4.625 kB / 0.6256 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003874/0.824, allocations: 0.5515 MB / 0.6261 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.8254, allocations: 162.4 kB / 0.6263 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009335/0.8348, allocations: 5.426 MB / 0.6316 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8363, allocations: 104.3 kB / 0.6317 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.8364, allocations: 21.7 kB / 0.6317 GB, free: 8.555 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (network.lines[1].commercialCable.material) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007067/0.8371, allocations: 259.1 kB / 0.632 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.8373, allocations: 43.16 kB / 0.632 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008026/0.8454, allocations: 1.475 MB / 0.6334 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.8454, allocations: 4 kB / 0.6334 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8454, allocations: 0 / 0.6334 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/0.8461, allocations: 184.2 kB / 0.6336 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.8462, allocations: 7.844 kB / 0.6336 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.8473, allocations: 89.55 kB / 0.6337 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.8475, allocations: 31.84 kB / 0.6337 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006743/0.8543, allocations: 1.332 MB / 0.635 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004644/0.859, allocations: 1.317 MB / 0.6363 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001437/0.8604, allocations: 369.2 kB / 0.6367 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006844/0.8611, allocations: 299.8 kB / 0.637 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of Backend: time 7.12e-07/0.8612, allocations: 2.516 kB / 0.637 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004804/0.866, allocations: 1.183 MB / 0.6381 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of SimCode: time 0.003364/0.8694, allocations: 1.609 MB / 0.6397 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of Templates: time 0.03357/0.903, allocations: 12.28 MB / 0.6517 GB, free: 13.67 MB / 0.5261 GB