Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadModel(Buildings): time 3.684/3.684, allocations: 402 MB / 416.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.569e-05, allocations: 4 kB / 0.501 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1943, allocations: 92.69 MB / 0.5915 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01771/0.212, allocations: 10.11 MB / 0.6014 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.5024/0.7145, allocations: 4.554 MB / 0.6058 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.7159, allocations: 45.62 kB / 0.6059 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.7174, allocations: 311.1 kB / 0.6061 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.7202, allocations: 463.2 kB / 0.6066 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.7234, allocations: 0.5365 MB / 0.6071 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003375/0.7268, allocations: 0.9266 MB / 0.608 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007694/0.7346, allocations: 3.331 MB / 0.6113 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.7362, allocations: 492.8 kB / 0.6117 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.7381, allocations: 0.5723 MB / 0.6123 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.7396, allocations: 199.8 kB / 0.6125 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004862/0.7401, allocations: 61.06 kB / 0.6125 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.7413, allocations: 0.5982 MB / 0.6131 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009805/0.7423, allocations: 126 kB / 0.6133 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.006005/0.7484, allocations: 2.939 MB / 0.6161 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7484, allocations: 0 / 0.6161 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.936e-06/0.7484, allocations: 0 / 0.6161 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001176/0.7486, allocations: 4 kB / 0.6161 GB, free: 3.695 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005869/0.7544, allocations: 1.517 MB / 0.6176 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.7545, allocations: 8.156 kB / 0.6176 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/0.7589, allocations: 469.5 kB / 0.6181 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.7627, allocations: 1.077 MB / 0.6191 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.7629, allocations: 113 kB / 0.6192 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008953/0.7638, allocations: 149.1 kB / 0.6194 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00956/0.7734, allocations: 2.72 MB / 0.622 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.7736, allocations: 10.61 kB / 0.622 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004275/0.774, allocations: 65.83 kB / 0.6221 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007713/0.7748, allocations: 144.2 kB / 0.6222 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009601/0.7844, allocations: 2.275 MB / 0.6245 GB, free: 252 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0271/0.8116, allocations: 8.05 MB / 0.6323 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.8141, allocations: 0.5754 MB / 0.6329 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.8144, allocations: 87.97 kB / 0.633 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.8144, allocations: 41.31 kB / 0.633 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=36): time 3.297e-06/0.8144, allocations: 0 / 0.633 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.03706/0.8515, allocations: 5.172 MB / 0.6381 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.8516, allocations: 57.16 kB / 0.6381 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.8542, allocations: 0.7965 MB / 0.6389 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.8544, allocations: 35.2 kB / 0.6389 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.8555, allocations: 0.7492 MB / 0.6396 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.8559, allocations: 181.8 kB / 0.6398 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.8561, allocations: 16 kB / 0.6398 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003357/0.8564, allocations: 394.7 kB / 0.6402 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/0.8591, allocations: 0.6297 MB / 0.6408 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.8622, allocations: 0.9845 MB / 0.6418 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.8653, allocations: 0.8023 MB / 0.6426 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/0.8654, allocations: 7.703 kB / 0.6426 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01736/0.8828, allocations: 2.795 MB / 0.6453 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002771/0.8856, allocations: 4.535 MB / 0.6497 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.996e-05/0.8857, allocations: 16.5 kB / 0.6498 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.8965, allocations: 1.315 MB / 0.651 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.8983, allocations: 226.2 kB / 0.6513 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.9118, allocations: 6.771 MB / 0.6579 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.9139, allocations: 150.2 kB / 0.658 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.9142, allocations: 43.61 kB / 0.6581 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.9142, allocations: 9.531 kB / 0.6581 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01005/0.9243, allocations: 2.298 MB / 0.6603 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.068e-05/0.9244, allocations: 12 kB / 0.6603 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005602/0.93, allocations: 0.8255 MB / 0.6611 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.9319, allocations: 247.6 kB / 0.6614 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.9431, allocations: 5.352 MB / 0.6666 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.945, allocations: 119.8 kB / 0.6667 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.9452, allocations: 43.98 kB / 0.6667 GB, free: 15.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002222/0.9475, allocations: 0.7627 MB / 0.6675 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.9478, allocations: 75.06 kB / 0.6676 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.9593, allocations: 2.343 MB / 0.6698 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.9594, allocations: 4 kB / 0.6699 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9594, allocations: 0 / 0.6699 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.9604, allocations: 280.1 kB / 0.6701 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.9607, allocations: 4 kB / 0.6701 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.9622, allocations: 103.8 kB / 0.6702 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/0.9626, allocations: 52.36 kB / 0.6703 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008438/0.971, allocations: 2.006 MB / 0.6722 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00471/0.9758, allocations: 1.828 MB / 0.674 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00148/0.9773, allocations: 0.5538 MB / 0.6746 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00145/0.9788, allocations: 0.6317 MB / 0.6752 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of Backend: time 8.42e-07/0.9788, allocations: 0 / 0.6752 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005072/0.9839, allocations: 1.42 MB / 0.6766 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of SimCode: time 0.008736/0.9927, allocations: 3.809 MB / 0.6803 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of Templates: time 0.05176/1.045, allocations: 18.59 MB / 0.6984 GB, free: 15.34 MB / 0.573 GB